#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. | |
av_cold void | ff_h264dspenc_init (DSPContext *c, AVCodecContext *avctx) |
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 41 of file h264dspenc.c.
Referenced by h264_dct_c().
av_cold void ff_h264dspenc_init | ( | DSPContext * | c, | |
AVCodecContext * | avctx | |||
) |
Definition at line 74 of file h264dspenc.c.
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 59 of file h264dspenc.c.
Referenced by ff_h264dspenc_init().