#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, AVCodecContext *avctx) |
| #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)) |
| #define CLIP_MAX (1 << PRORES_BITS_PER_SAMPLE) - CLIP_MIN - 1 |
| #define CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) |
| void ff_proresdsp_init | ( | ProresDSPContext * | dsp, | |
| AVCodecContext * | avctx | |||
| ) |
| 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().
1.5.8