4 |
* - MacroBlock transfer and quantization - |
* - MacroBlock transfer and quantization - |
5 |
* |
* |
6 |
* Copyright(C) 2002-2001 Michael Militzer <isibaar@xvid.org> |
* Copyright(C) 2002-2001 Michael Militzer <isibaar@xvid.org> |
7 |
* 2002-2001 Peter Ross <pross@cs.rmit.edu.au> |
* 2002-2001 Peter Ross <pross@xvid.org> |
8 |
* |
* |
9 |
* This program is an implementation of a part of one or more MPEG-4 |
* This program is an implementation of a part of one or more MPEG-4 |
10 |
* Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
* Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
364 |
MBQuantIntra(const MBParam * pParam, |
MBQuantIntra(const MBParam * pParam, |
365 |
FRAMEINFO * frame, |
FRAMEINFO * frame, |
366 |
MACROBLOCK *pMB, |
MACROBLOCK *pMB, |
367 |
int16_t qcoeff[6 * 64], |
int16_t data[6 * 64], |
368 |
int16_t data[6*64]) |
int16_t qcoeff[6 * 64]) |
369 |
{ |
{ |
370 |
int i; |
int i; |
371 |
int iQuant = frame->quant; |
int iQuant = frame->quant; |
602 |
MBFrameToField(data); |
MBFrameToField(data); |
603 |
} |
} |
604 |
|
|
605 |
return (frame > field); |
return (frame > (field + 350)); |
606 |
} |
} |
607 |
|
|
608 |
|
|