FFmpeg
4.0
|
#include "config.h"
#include "libavutil/attributes.h"
#include "libavutil/common.h"
#include "idctdsp.h"
#include "proresdsp.h"
#include "simple_idct.h"
Go to the source code of this file.
Macros | |
#define | BIAS (1 << (PRORES_BITS_PER_SAMPLE - 1)) |
bias value for converting signed pixels into unsigned ones More... | |
#define | CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) |
minimum value for clipping resulting pixels More... | |
#define | CLIP_MAX (1 << PRORES_BITS_PER_SAMPLE) - CLIP_MIN - 1 |
maximum value for clipping resulting pixels More... | |
#define | CLIP(x) (av_clip((x), CLIP_MIN, CLIP_MAX)) |
Functions | |
static void | put_pixels (uint16_t *dst, ptrdiff_t linesize, const int16_t *in) |
Add bias value, clamp and output pixels of a slice. More... | |
static void | prores_idct_put_c (uint16_t *out, ptrdiff_t linesize, int16_t *block, const int16_t *qmat) |
av_cold 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 30 of file proresdsp.c.
#define CLIP_MIN (1 << (PRORES_BITS_PER_SAMPLE - 8)) |
minimum value for clipping resulting pixels
Definition at line 31 of file proresdsp.c.
#define CLIP_MAX (1 << PRORES_BITS_PER_SAMPLE) - CLIP_MIN - 1 |
maximum value for clipping resulting pixels
Definition at line 32 of file proresdsp.c.
Definition at line 34 of file proresdsp.c.
Referenced by put_pixels().
|
static |
Add bias value, clamp and output pixels of a slice.
Definition at line 39 of file proresdsp.c.
Referenced by prores_idct_put_c().
|
static |
Definition at line 52 of file proresdsp.c.
Referenced by ff_proresdsp_init().
av_cold void ff_proresdsp_init | ( | ProresDSPContext * | dsp, |
AVCodecContext * | avctx | ||
) |
Definition at line 58 of file proresdsp.c.
Referenced by decode_init().