[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.16, Sun Sep 22 19:35:38 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 Michael Militzer <isibaar@xvid.org>   *  Copyright(C) 2002 Benjamin Lambert <foxer@hotmail.com>
  *  Copyright(C) 2002 Daniel Smith <danielsmith@astroboymail.com>  
  *  Copyright(C) 2002 Dirk Knop <dknop@gwdg.de>  
  *  
  *  This program is an implementation of a part of one or more MPEG-4  
  *  Video tools as specified in ISO/IEC 14496-2 standard.  Those intending  
  *  to use this software module in hardware or software products are  
  *  advised that its use may infringe existing patents or copyrights, and  
  *  any such use would be at such party's own risk.  The original  
  *  developer of this software module and his/her company, and subsequent  
  *  editors and their companies, will have no liability for use of this  
  *  software or modifications or derivatives thereof.  
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 34  Line 23 
23   *   *
24   ****************************************************************************/   ****************************************************************************/
25    
26    /* For the fabs function */
27  #include <math.h>  #include <math.h>
28    
29  #include "ratecontrol.h"  #include "ratecontrol.h"
30    
31  /*****************************************************************************  /*****************************************************************************
# Line 134  Line 125 
125                                           (double) rate_control->framerate) *                                           (double) rate_control->framerate) *
126                                          (double) rate_control->frames));                                          (double) rate_control->frames));
127    
128          DPRINTF(DPRINTF_DEBUG, "CBR: frame: %i, quant: %i, deviation: %i\n",          DPRINTF(XVID_DEBUG_RC, "CBR: frame: %i, quant: %i, deviation: %i\n",
129                          (int32_t) (rate_control->frames - 1), rate_control->rtn_quant,                                          (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.16  
changed lines
  Added in v.1.19.2.2

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