#include "dsputil.h"
Go to the source code of this file.
Defines | |
| #define | H264_DCT_PART1(X) |
| #define | H264_DCT_PART2(X) |
Functions | |
| static void | h264_dct_c (DCTELEM block[4][4]) |
| Transform the provided matrix using the H.264 modified DCT. | |
| void | ff_h264dspenc_init (DSPContext *c, AVCodecContext *avctx) |
Variables | |
| const uint8_t | ff_div6 [52] |
| const uint8_t | ff_rem6 [52] |
Definition in file h264dspenc.c.
| #define H264_DCT_PART1 | ( | X | ) |
| #define H264_DCT_PART2 | ( | X | ) |
Value:
a = pieces[X][0]+pieces[X][3]; \
c = pieces[X][0]-pieces[X][3]; \
b = pieces[X][1]+pieces[X][2]; \
d = pieces[X][1]-pieces[X][2]; \
block[0][X] = a+b; \
block[2][X] = a-b; \
block[1][X] = (c<<1)+d; \
block[3][X] = c-(d<<1);
Definition at line 44 of file h264dspenc.c.
Referenced by h264_dct_c().
| void ff_h264dspenc_init | ( | DSPContext * | c, | |
| AVCodecContext * | avctx | |||
| ) |
| static void h264_dct_c | ( | DCTELEM | block[4][4] | ) | [static] |
Transform the provided matrix using the H.264 modified DCT.
| block | transposed input block |
Definition at line 62 of file h264dspenc.c.
Referenced by ff_h264dspenc_init().
Definition at line 74 of file h264.c.
Referenced by init_dequant4_coeff_table(), and init_dequant8_coeff_table().
Definition at line 70 of file h264.c.
Referenced by init_dequant4_coeff_table(), and init_dequant8_coeff_table().
1.5.6