3 |
* XVID MPEG-4 VIDEO CODEC |
* XVID MPEG-4 VIDEO CODEC |
4 |
* - MacroBlock transfer and quantization - |
* - MacroBlock transfer and quantization - |
5 |
* |
* |
6 |
* Copyright(C) 2002-2001 Michael Militzer <isibaar@xvid.org> |
* Copyright(C) 2002-2001 Christoph Lampert <gruel@web.de> |
7 |
|
* 2002-2001 Michael Militzer <isibaar@xvid.org> |
8 |
* 2002-2001 Peter Ross <pross@xvid.org> |
* 2002-2001 Peter Ross <pross@xvid.org> |
9 |
|
* 2002 Daniel Smith <danielsmith@astroboymail.com> |
10 |
* |
* |
11 |
* 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 |
12 |
* Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
* Video tools as specified in ISO/IEC 14496-2 standard. Those intending |
31 |
* along with this program; if not, write to the Free Software |
* along with this program; if not, write to the Free Software |
32 |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
33 |
* |
* |
34 |
* $Id: mbtransquant.c,v 1.15 2002-10-07 08:11:48 chl Exp $ |
* $Id: mbtransquant.c,v 1.18 2002-10-19 12:20:33 edgomez Exp $ |
35 |
* |
* |
36 |
****************************************************************************/ |
****************************************************************************/ |
37 |
|
|
368 |
MACROBLOCK *pMB, |
MACROBLOCK *pMB, |
369 |
int16_t data[6*64], |
int16_t data[6*64], |
370 |
int16_t qcoeff[6 * 64]) |
int16_t qcoeff[6 * 64]) |
|
) |
|
371 |
{ |
{ |
372 |
int i; |
int i; |
373 |
int iQuant = frame->quant; |
int iQuant = frame->quant; |
600 |
} |
} |
601 |
} |
} |
602 |
|
|
603 |
if (frame > field) { |
if (frame > (field + 350)) { |
604 |
MBFrameToField(data); |
MBFrameToField(data); |
605 |
} |
} |
606 |
|
|