FFmpeg
|
Bink DSP routines. More...
Go to the source code of this file.
Macros | |
#define | A1 2896 /* (1/sqrt(2))<<12 */ |
#define | A2 2217 |
#define | A3 3784 |
#define | A4 -5352 |
#define | IDCT_TRANSFORM(dest, s0, s1, s2, s3, s4, s5, s6, s7, d0, d1, d2, d3, d4, d5, d6, d7, munge, src) |
#define | MUNGE_NONE(x) (x) |
#define | IDCT_COL(dest, src) IDCT_TRANSFORM(dest,0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56,MUNGE_NONE,src) |
#define | MUNGE_ROW(x) (((x) + 0x7F)>>8) |
#define | IDCT_ROW(dest, src) IDCT_TRANSFORM(dest,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,MUNGE_ROW,src) |
Functions | |
static void | bink_idct_col (int *dest, const int32_t *src) |
static void | bink_idct_c (int32_t *block) |
static void | bink_idct_add_c (uint8_t *dest, int linesize, int32_t *block) |
static void | bink_idct_put_c (uint8_t *dest, int linesize, int32_t *block) |
static void | scale_block_c (const uint8_t src[64], uint8_t *dst, int linesize) |
av_cold void | ff_binkdsp_init (BinkDSPContext *c) |
Bink DSP routines.
Definition in file binkdsp.c.
#define A1 2896 /* (1/sqrt(2))<<12 */ |
Definition at line 31 of file binkdsp.c.
Referenced by yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_X_c_template(), yuv2rgba64_1_c_template(), yuv2rgba64_2_c_template(), and yuv2rgba64_X_c_template().
#define A2 2217 |
Definition at line 32 of file binkdsp.c.
Referenced by yuv2rgb_1_c_template(), yuv2rgb_2_c_template(), yuv2rgb_X_c_template(), yuv2rgba64_1_c_template(), yuv2rgba64_2_c_template(), and yuv2rgba64_X_c_template().
#define IDCT_TRANSFORM | ( | dest, | |
s0, | |||
s1, | |||
s2, | |||
s3, | |||
s4, | |||
s5, | |||
s6, | |||
s7, | |||
d0, | |||
d1, | |||
d2, | |||
d3, | |||
d4, | |||
d5, | |||
d6, | |||
d7, | |||
munge, | |||
src | |||
) |
#define IDCT_COL | ( | dest, | |
src | |||
) | IDCT_TRANSFORM(dest,0,8,16,24,32,40,48,56,0,8,16,24,32,40,48,56,MUNGE_NONE,src) |
Definition at line 62 of file binkdsp.c.
Referenced by bink_idct_col().
#define IDCT_ROW | ( | dest, | |
src | |||
) | IDCT_TRANSFORM(dest,0,1,2,3,4,5,6,7,0,1,2,3,4,5,6,7,MUNGE_ROW,src) |
Definition at line 65 of file binkdsp.c.
Referenced by bink_idct_c(), and bink_idct_put_c().
Definition at line 67 of file binkdsp.c.
Referenced by bink_idct_c(), and bink_idct_put_c().
Definition at line 83 of file binkdsp.c.
Referenced by bink_idct_add_c().
Definition at line 95 of file binkdsp.c.
Referenced by ff_binkdsp_init().
Definition at line 105 of file binkdsp.c.
Referenced by ff_binkdsp_init().
Definition at line 116 of file binkdsp.c.
Referenced by ff_binkdsp_init().
av_cold void ff_binkdsp_init | ( | BinkDSPContext * | c | ) |
Definition at line 132 of file binkdsp.c.
Referenced by decode_init().