GPAC
Open Source Multimedia Framework. For more information, check out http://gpac.wp.mines-telecom.fr
|
Macros | |
#define | RET_DIV(a, N) return (a*N+32768) >> 16; |
#define | RET_SHR(a, N, S) return (a+N) >> S; |
Functions | |
static int | Divide (int a, int b) |
int | rescale (int predict_quant, int current_quant, int coeff) |
void | predict_acdc (MACROBLOCK *pMBs, dword x, dword y, dword mb_width, dword block, int qcoeff[64], dword current_quant, int iDcScaler, int predictors[8], int bound) |
void | add_acdc (MACROBLOCK *pMB, dword block, int dct_codes[64], dword iDcScaler, int predictors[8]) |
VECTOR | get_pmv2 (const MACROBLOCK *const mbs, const int mb_width, const int bound, const int x, const int y, const int block) |
Variables | |
static const int | default_acdc_values [15] |
static const VECTOR | zeroMV = { 0, 0 } |
|
static |
int rescale | ( | int | predict_quant, |
int | current_quant, | ||
int | coeff | ||
) |
void predict_acdc | ( | MACROBLOCK * | pMBs, |
dword | x, | ||
dword | y, | ||
dword | mb_width, | ||
dword | block, | ||
int | qcoeff[64], | ||
dword | current_quant, | ||
int | iDcScaler, | ||
int | predictors[8], | ||
int | bound | ||
) |
void add_acdc | ( | MACROBLOCK * | pMB, |
dword | block, | ||
int | dct_codes[64], | ||
dword | iDcScaler, | ||
int | predictors[8] | ||
) |
VECTOR get_pmv2 | ( | const MACROBLOCK *const | mbs, |
const int | mb_width, | ||
const int | bound, | ||
const int | x, | ||
const int | y, | ||
const int | block | ||
) |
|
static |
|
static |