20 |
* along with this program ; if not, write to the Free Software |
* along with this program ; if not, write to the Free Software |
21 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
22 |
* |
* |
23 |
* $Id: mbprediction.c,v 1.19 2010-08-10 15:00:21 Isibaar Exp $ |
* $Id$ |
24 |
* |
* |
25 |
****************************************************************************/ |
****************************************************************************/ |
26 |
|
|
409 |
uint32_t x, |
uint32_t x, |
410 |
uint32_t y, |
uint32_t y, |
411 |
uint32_t mb_width, |
uint32_t mb_width, |
412 |
int16_t qcoeff[6 * 64]) |
int16_t qcoeff[6 * 64], |
413 |
|
const int bound) |
414 |
{ |
{ |
415 |
|
|
416 |
int32_t j; |
int32_t j; |
427 |
iDcScaler = get_dc_scaler(iQuant, j<4); |
iDcScaler = get_dc_scaler(iQuant, j<4); |
428 |
|
|
429 |
predict_acdc(frame->mbs, x, y, mb_width, j, &qcoeff[j * 64], |
predict_acdc(frame->mbs, x, y, mb_width, j, &qcoeff[j * 64], |
430 |
iQuant, iDcScaler, predictors[j], 0); |
iQuant, iDcScaler, predictors[j], bound); |
431 |
|
|
432 |
if ((frame->vop_flags & XVID_VOP_HQACPRED)) |
if ((frame->vop_flags & XVID_VOP_HQACPRED)) |
433 |
S += calc_acdc_bits(pMB, j, &qcoeff[j * 64], iDcScaler, predictors[j]); |
S += calc_acdc_bits(pMB, j, &qcoeff[j * 64], iDcScaler, predictors[j]); |