3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - Prediction header - |
* - Prediction header - |
5 |
* |
* |
6 |
* Copyright(C) 2002-2003 xvid team <xvid-devel@xvid.org> |
* Copyright(C) 2002-2010 Michael Militzer <michael@xvid.org> |
7 |
* |
* |
8 |
* This program is free software ; you can redistribute it and/or modify |
* This program is free software ; you can redistribute it and/or modify |
9 |
* it under the terms of the GNU General Public License as published by |
* it under the terms of the GNU General Public License as published by |
43 |
uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
uint32_t x_pos, /* <-- The x position of the MB to be searched */ |
44 |
uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
uint32_t y_pos, /* <-- The y position of the MB to be searched */ |
45 |
uint32_t x_dim, /* <-- Number of macroblocks in a row */ |
uint32_t x_dim, /* <-- Number of macroblocks in a row */ |
46 |
int16_t * qcoeff); /* <-> The quantized DCT coefficients */ |
int16_t * qcoeff, /* <-> The quantized DCT coefficients */ |
47 |
|
const int bound); |
48 |
|
|
49 |
void add_acdc(MACROBLOCK * pMB, |
void add_acdc(MACROBLOCK * pMB, |
50 |
uint32_t block, |
uint32_t block, |
51 |
int16_t dct_codes[64], |
int16_t dct_codes[64], |
52 |
uint32_t iDcScaler, |
uint32_t iDcScaler, |
53 |
int16_t predictors[8]); |
int16_t predictors[8], |
54 |
|
const int bsversion); |
55 |
|
|
56 |
void predict_acdc(MACROBLOCK * pMBs, |
void predict_acdc(MACROBLOCK * pMBs, |
57 |
uint32_t x, |
uint32_t x, |
73 |
const int block); |
const int block); |
74 |
|
|
75 |
VECTOR |
VECTOR |
76 |
|
get_pmv2_interlaced(const MACROBLOCK * const mbs, |
77 |
|
const int mb_width, |
78 |
|
const int bound, |
79 |
|
const int x, |
80 |
|
const int y, |
81 |
|
const int block); |
82 |
|
|
83 |
|
VECTOR |
84 |
get_qpmv2(const MACROBLOCK * const mbs, |
get_qpmv2(const MACROBLOCK * const mbs, |
85 |
const int mb_width, |
const int mb_width, |
86 |
const int bound, |
const int bound, |