[svn] / trunk / xvidcore / src / utils / mbtransquant.c Repository:
ViewVC logotype

Diff of /trunk/xvidcore/src/utils/mbtransquant.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 499, Sat Sep 21 03:11:36 2002 UTC revision 605, Sat Oct 19 12:20:33 2002 UTC
# Line 3  Line 3 
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
# Line 29  Line 31 
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.13 2002-09-21 03:07:56 suxen_drol Exp $   * $Id: mbtransquant.c,v 1.18 2002-10-19 12:20:33 edgomez Exp $
35   *   *
36   ****************************************************************************/   ****************************************************************************/
37    
# Line 364  Line 366 
366  MBQuantIntra(const MBParam * pParam,  MBQuantIntra(const MBParam * pParam,
367                           FRAMEINFO * frame,                           FRAMEINFO * frame,
368                           MACROBLOCK *pMB,                           MACROBLOCK *pMB,
369                       int16_t qcoeff[6 * 64],                           int16_t data[6 * 64],
370                           int16_t data[6*64])                       int16_t qcoeff[6 * 64])
371  {  {
372          int i;          int i;
373          int iQuant = frame->quant;          int iQuant = frame->quant;
# Line 598  Line 600 
600                  }                  }
601          }          }
602    
603          if (frame > field) {          if (frame > (field + 350)) {
604                  MBFrameToField(data);                  MBFrameToField(data);
605          }          }
606    
607          return (frame > field);          return (frame > (field + 350));
608  }  }
609    
610    

Legend:
Removed from v.499  
changed lines
  Added in v.605

No admin address has been configured
ViewVC Help
Powered by ViewVC 1.0.4