|
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 | IN_IDCT_DEPTH 32 |
| #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 | prores_idct_bayer_32 (int32_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_lin_curve_12 (uint16_t *dst, ptrdiff_t linesize, const int32_t *in, const uint16_t *lin_curve) |
| 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, int32_t *block, const int16_t *qmat, const uint16_t *lin_curve) |
| av_cold void | ff_proresdsp_init (ProresDSPContext *dsp, int bits_per_raw_sample) |
| #define IN_IDCT_DEPTH 16 |
Definition at line 46 of file proresdsp.c.
| #define PRORES_ONLY |
Definition at line 32 of file proresdsp.c.
| #define BIT_DEPTH 10 |
Definition at line 47 of file proresdsp.c.
| #define EXTRA_SHIFT |
Definition at line 35 of file proresdsp.c.
| #define BIT_DEPTH 12 |
Definition at line 47 of file proresdsp.c.
| #define IN_IDCT_DEPTH 32 |
Definition at line 46 of file proresdsp.c.
| #define BIT_DEPTH 12 |
Definition at line 47 of file proresdsp.c.
| #define CLIP_MIN (1 << 2) |
minimum value for clipping resulting pixels
Definition at line 103 of file proresdsp.c.
| #define CLIP_MAX_10 (1 << 10) - CLIP_MIN - 1 |
maximum value for clipping resulting pixels
Definition at line 104 of file proresdsp.c.
| #define CLIP_MAX_12 (1 << 12) - CLIP_MIN - 1 |
maximum value for clipping resulting pixels
Definition at line 105 of file proresdsp.c.
| #define CLIP_10 | ( | x | ) | (av_clip((x), CLIP_MIN, CLIP_MAX_10)) |
Definition at line 107 of file proresdsp.c.
| #define CLIP_12 | ( | x | ) | (av_clip((x), CLIP_MIN, CLIP_MAX_12)) |
Definition at line 108 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 57 of file proresdsp.c.
Referenced by prores_idct_put_10_c().
|
static |
Definition at line 71 of file proresdsp.c.
Referenced by prores_idct_put_12_c().
|
static |
Definition at line 89 of file proresdsp.c.
Referenced by prores_idct_put_bayer_12_c().
|
inlinestatic |
Add bias value, clamp and output pixels of a slice.
Definition at line 114 of file proresdsp.c.
Referenced by gen_image(), put_pixels_10(), and put_pixels_12().
|
inlinestatic |
Definition at line 129 of file proresdsp.c.
Referenced by prores_idct_put_bayer_12_c().
|
static |
Definition at line 146 of file proresdsp.c.
Referenced by prores_idct_put_10_c().
|
static |
Definition at line 151 of file proresdsp.c.
Referenced by prores_idct_put_12_c().
|
static |
Definition at line 156 of file proresdsp.c.
Referenced by ff_proresdsp_init().
|
static |
Definition at line 162 of file proresdsp.c.
Referenced by ff_proresdsp_init().
|
static |
Definition at line 168 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 176 of file proresdsp.c.
Referenced by decode_init().
1.8.17