[svn] / branches / dev-api-4 / xvidcore / src / utils / ratecontrol.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/src/utils/ratecontrol.c

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

revision 423, Thu Sep 5 21:23:03 2002 UTC revision 542, Thu Sep 26 00:33:00 2002 UTC
# Line 3  Line 3 
3   *  XVID MPEG-4 VIDEO CODEC   *  XVID MPEG-4 VIDEO CODEC
4   *  - Rate Controler module -   *  - Rate Controler module -
5   *   *
6   *  Copyright(C) 2002 Michael Militzer   *  Copyright(C) 2002 Benjamin Lambert <foxer@hotmail.com>
7   *   *
8   *  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
9   *  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 28  Line 28 
28   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
29   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
30   *   *
31   * $Id: ratecontrol.c,v 1.14 2002-09-05 21:23:03 edgomez Exp $   * $Id: ratecontrol.c,v 1.17 2002-09-26 00:33:00 h Exp $
32   *   *
33   ****************************************************************************/   ****************************************************************************/
34    
# Line 132  Line 132 
132                                           (double) rate_control->framerate) *                                           (double) rate_control->framerate) *
133                                          (double) rate_control->frames));                                          (double) rate_control->frames));
134    
135          DEBUGCBR((int32_t) (rate_control->frames - 1), rate_control->rtn_quant,          DPRINTF(DPRINTF_DEBUG, "CBR: frame: %i, quant: %i, deviation: %i\n",
136                            (int32_t) (rate_control->frames - 1), rate_control->rtn_quant,
137                           (int32_t) deviation);                           (int32_t) deviation);
138    
139          if (rate_control->rtn_quant >= 2) {          if (rate_control->rtn_quant >= 2) {

Legend:
Removed from v.423  
changed lines
  Added in v.542

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