[cvs] / xvidcore / src / utils / ratecontrol.c Repository:
ViewVC logotype

Diff of /xvidcore/src/utils/ratecontrol.c

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

revision 1.13, Mon Jun 17 12:23:32 2002 UTC revision 1.19.2.2, Mon Jun 9 13:55:47 2003 UTC
# Line 1  Line 1 
1  /*****************************************************************************  /*****************************************************************************
2   *   *
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - Rate Controler module -   *  - Deprecated code  -
5     *
6     *  Copyright(C) 2002 Benjamin Lambert <foxer@hotmail.com>
7   *   *
8   *  This program is free software ; you can redistribute it and/or modify   *  This program is free software ; you can redistribute it and/or modify
9   *  it under the terms of the GNU General Public License as published by   *  it under the terms of the GNU General Public License as published by
# Line 17  Line 19 
19   *  along with this program ; if not, write to the Free Software   *  along with this program ; if not, write to the Free Software
20   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
21   *   *
  ****************************************************************************/  
 /*****************************************************************************  
  *  
  *  History  
  *  
  *  - Mon Jun 17 13:04:15 2002 Added legal header  
  *  
22   *  $Id$   *  $Id$
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
   
26  /* For the fabs function */  /* For the fabs function */
27  #include <math.h>  #include <math.h>
28    
# Line 131  Line 125 
125                                           (double) rate_control->framerate) *                                           (double) rate_control->framerate) *
126                                          (double) rate_control->frames));                                          (double) rate_control->frames));
127    
128          DEBUGCBR((int32_t) (rate_control->frames - 1), rate_control->rtn_quant,          DPRINTF(XVID_DEBUG_RC, "CBR: frame: %i, quant: %i, deviation: %i\n",
129                                            (int32_t)(rate_control->frames - 1),
130                                            rate_control->rtn_quant,
131                           (int32_t) deviation);                           (int32_t) deviation);
132    
133          if (rate_control->rtn_quant >= 2) {          if (rate_control->rtn_quant >= 2) {

Legend:
Removed from v.1.13  
changed lines
  Added in v.1.19.2.2

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