[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 427, Thu Sep 5 21:44:11 2002 UTC revision 599, Wed Oct 16 20:58:22 2002 UTC
# Line 4  Line 4 
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
# Line 29  Line 29 
29   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
30   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
31   *   *
32   * $Id: mbtransquant.c,v 1.12 2002-09-05 21:44:11 edgomez Exp $   * $Id: mbtransquant.c,v 1.17 2002-10-16 20:58:22 h Exp $
33   *   *
34   ****************************************************************************/   ****************************************************************************/
35    
# Line 364  Line 364 
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;
# Line 598  Line 598 
598                  }                  }
599          }          }
600    
601          if (frame > field) {          if (frame > (field + 350)) {
602                  MBFrameToField(data);                  MBFrameToField(data);
603          }          }
604    
605          return (frame > field);          return (frame > (field + 350));
606  }  }
607    
608    

Legend:
Removed from v.427  
changed lines
  Added in v.599

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