|
FFmpeg
|
#include "config.h"#include "libavutil/attributes.h"#include "libavutil/avassert.h"#include "libavutil/common.h"#include "libavutil/intreadwrite.h"#include "idctdsp.h"#include "proresdsp.h"#include "simple_idct_template.c"Go to the source code of this file.
Macros | |
| #define | IN_IDCT_DEPTH 16 |
| #define | PRORES_ONLY |
| #define | BIT_DEPTH 10 |
| #define | EXTRA_SHIFT |
| #define | BIT_DEPTH 12 |
| #define | CLIP_MIN (1 << 2) |
| minimum value for clipping resulting pixels More... | |
| #define | CLIP_MAX_10 (1 << 10) - CLIP_MIN - 1 |
| maximum value for clipping resulting pixels More... | |
| #define | CLIP_MAX_12 (1 << 12) - CLIP_MIN - 1 |
| maximum value for clipping resulting pixels More... | |
| #define | CLIP_10(x) (av_clip((x), CLIP_MIN, CLIP_MAX_10)) |
| #define | CLIP_12(x) (av_clip((x), CLIP_MIN, CLIP_MAX_12)) |
Functions | |
| static void | prores_idct_10 (int16_t *restrict block, const int16_t *restrict qmat) |
| Special version of ff_simple_idct_int16_10bit() which does dequantization and scales by a factor of 2 more between the two IDCTs to account for larger scale of input coefficients. More... | |
| static void | prores_idct_12 (int16_t *restrict block, const int16_t *restrict qmat) |
| static void | put_pixel (uint16_t *dst, ptrdiff_t linesize, const int16_t *in, int bits_per_raw_sample) |
| Add bias value, clamp and output pixels of a slice. More... | |
| static void | put_pixel_bayer_12 (uint16_t *dst, ptrdiff_t linesize, const int16_t *in) |
| static void | put_pixels_10 (uint16_t *dst, ptrdiff_t linesize, const int16_t *in) |
| static void | put_pixels_12 (uint16_t *dst, ptrdiff_t linesize, const int16_t *in) |
| static void | prores_idct_put_10_c (uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat) |
| static void | prores_idct_put_12_c (uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat) |
| static void | prores_idct_put_bayer_12_c (uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat) |
| av_cold void | ff_proresdsp_init (ProresDSPContext *dsp, int bits_per_raw_sample) |
| #define IN_IDCT_DEPTH 16 |
Definition at line 31 of file proresdsp.c.
| #define PRORES_ONLY |
Definition at line 32 of file proresdsp.c.
| #define BIT_DEPTH 10 |
Definition at line 40 of file proresdsp.c.
| #define EXTRA_SHIFT |
Definition at line 35 of file proresdsp.c.
| #define BIT_DEPTH 12 |
Definition at line 40 of file proresdsp.c.
| #define CLIP_MIN (1 << 2) |
minimum value for clipping resulting pixels
Definition at line 77 of file proresdsp.c.
| #define CLIP_MAX_10 (1 << 10) - CLIP_MIN - 1 |
maximum value for clipping resulting pixels
Definition at line 78 of file proresdsp.c.
| #define CLIP_MAX_12 (1 << 12) - CLIP_MIN - 1 |
maximum value for clipping resulting pixels
Definition at line 79 of file proresdsp.c.
| #define CLIP_10 | ( | x | ) | (av_clip((x), CLIP_MIN, CLIP_MAX_10)) |
Definition at line 81 of file proresdsp.c.
| #define CLIP_12 | ( | x | ) | (av_clip((x), CLIP_MIN, CLIP_MAX_12)) |
Definition at line 82 of file proresdsp.c.
|
static |
Special version of ff_simple_idct_int16_10bit() which does dequantization and scales by a factor of 2 more between the two IDCTs to account for larger scale of input coefficients.
Definition at line 49 of file proresdsp.c.
Referenced by prores_idct_put_10_c().
|
static |
Definition at line 63 of file proresdsp.c.
Referenced by prores_idct_put_12_c(), and prores_idct_put_bayer_12_c().
|
inlinestatic |
Add bias value, clamp and output pixels of a slice.
Definition at line 88 of file proresdsp.c.
Referenced by gen_image(), put_pixels_10(), and put_pixels_12().
|
inlinestatic |
Definition at line 102 of file proresdsp.c.
Referenced by prores_idct_put_bayer_12_c().
|
static |
Definition at line 111 of file proresdsp.c.
Referenced by prores_idct_put_10_c().
|
static |
Definition at line 116 of file proresdsp.c.
Referenced by prores_idct_put_12_c().
|
static |
Definition at line 121 of file proresdsp.c.
Referenced by ff_proresdsp_init().
|
static |
Definition at line 127 of file proresdsp.c.
Referenced by ff_proresdsp_init().
|
static |
Definition at line 133 of file proresdsp.c.
Referenced by ff_proresdsp_init().
| av_cold void ff_proresdsp_init | ( | ProresDSPContext * | dsp, |
| int | bits_per_raw_sample | ||
| ) |
Definition at line 140 of file proresdsp.c.
Referenced by decode_init().
1.8.17