[cvs] / xvidcore / src / plugins / plugin_2pass1.c Repository:
ViewVC logotype

Diff of /xvidcore/src/plugins/plugin_2pass1.c

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

revision 1.1.2.3, Mon May 12 12:33:16 2003 UTC revision 1.1.2.5, Mon Jun 9 13:55:07 2003 UTC
# Line 3  Line 3 
3   * XviD Bit Rate Controller Library   * XviD Bit Rate Controller Library
4   * - VBR 2 pass bitrate controler implementation -   * - VBR 2 pass bitrate controler implementation -
5   *   *
6   * Copyright (C) 2002 Edouard Gomez <ed.gomez@wanadoo.fr>   *  Copyright (C) 2002-2003 Edouard Gomez <ed.gomez@free.fr>
7   *   *
8   * The curve treatment algorithm is the one implemented by Foxer <email?> and   * The curve treatment algorithm is the one implemented by Foxer <email?> and
9   * Dirk Knop <dknop@gwdg.de> for the XviD vfw dynamic library.   * Dirk Knop <dknop@gwdg.de> for the XviD vfw dynamic library.
# Line 62  Line 62 
62          if((rc->stat_file = fopen(param->filename, "w+")) == NULL)          if((rc->stat_file = fopen(param->filename, "w+")) == NULL)
63                  return(XVID_ERR_FAIL);                  return(XVID_ERR_FAIL);
64    
     {  
         int i;  
         printf("---\n");  
         for (i=0;i<create->num_zones;i++) {  
             printf("[%i] %i\n", create->zones[i].frame, create->zones[i].increment);  
         }  
         printf("---\n");  
     }  
   
65          /*          /*
66           * The File Header           * The File Header
67           */           */
68          /* fprintf(rc->stat_file, "# XviD 2pass stat file\n");  #if 0
69            fprintf(rc->stat_file, "# XviD 2pass stat file\n");
70      fprintf(rc->stat_file, "version %i.%i.%i\n",XVID_MAJOR(XVID_VERSION), XVID_MINOR(XVID_VERSION), XVID_PATCH(XVID_VERSION));      fprintf(rc->stat_file, "version %i.%i.%i\n",XVID_MAJOR(XVID_VERSION), XVID_MINOR(XVID_VERSION), XVID_PATCH(XVID_VERSION));
71          fprintf(rc->stat_file, "start\n");          fprintf(rc->stat_file, "start\n");
72      fprintf(rc->stat_file, "type quantizer length kblocks mblocks ublocks\n");  */      fprintf(rc->stat_file, "type quantizer length kblocks mblocks ublocks\n");
73    #endif
74    
75      rc->fq_error = 0;      rc->fq_error = 0;
76    

Legend:
Removed from v.1.1.2.3  
changed lines
  Added in v.1.1.2.5

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