#include "proresdsp.h"#include "simple_idct.h"Go to the source code of this file.
Defines | |
| #define | BIAS (1 << (PRORES_BITS_PER_SAMPLE - 1)) |
| bias value for converting signed pixels into unsigned ones | |
| #define | CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) |
| minimum value for clipping resulting pixels | |
| #define | CLIP_MAX (1 << PRORES_BITS_PER_SAMPLE) - CLIP_MIN - 1 |
| maximum value for clipping resulting pixels | |
| #define | CLIP_AND_BIAS(x) (av_clip((x) + BIAS, CLIP_MIN, CLIP_MAX)) |
Functions | |
| static void | put_pixels (uint16_t *dst, int stride, const DCTELEM *in) |
| Add bias value, clamp and output pixels of a slice. | |
| static void | prores_idct_put_c (uint16_t *out, int linesize, DCTELEM *block, const int16_t *qmat) |
| void | ff_proresdsp_init (ProresDSPContext *dsp) |
| #define BIAS (1 << (PRORES_BITS_PER_SAMPLE - 1)) |
bias value for converting signed pixels into unsigned ones
Definition at line 26 of file proresdsp.c.
| #define CLIP_AND_BIAS | ( | x | ) | (av_clip((x) + BIAS, CLIP_MIN, CLIP_MAX)) |
Definition at line 30 of file proresdsp.c.
Referenced by put_pixels().
| #define CLIP_MAX (1 << PRORES_BITS_PER_SAMPLE) - CLIP_MIN - 1 |
maximum value for clipping resulting pixels
Definition at line 28 of file proresdsp.c.
| #define CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) |
minimum value for clipping resulting pixels
Definition at line 27 of file proresdsp.c.
| void ff_proresdsp_init | ( | ProresDSPContext * | dsp | ) |
Definition at line 54 of file proresdsp.c.
Referenced by decode_init().
| static void prores_idct_put_c | ( | uint16_t * | out, | |
| int | linesize, | |||
| DCTELEM * | block, | |||
| const int16_t * | qmat | |||
| ) | [static] |
Definition at line 48 of file proresdsp.c.
| static void put_pixels | ( | uint16_t * | dst, | |
| int | stride, | |||
| const DCTELEM * | in | |||
| ) | [static] |
Add bias value, clamp and output pixels of a slice.
Definition at line 35 of file proresdsp.c.
Referenced by prores_idct_put_c().