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

Diff of /branches/dev-api-4/xvidcore/src/plugins/plugin_2pass1.c

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

revision 1032, Sat May 17 13:37:49 2003 UTC revision 1105, Tue Jul 29 23:02:34 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 22  Line 22 
22   * along with this program; if not, write to the Free Software   * along with this program; if not, write to the Free Software
23   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA   * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24   *   *
25   * $Id: plugin_2pass1.c,v 1.1.2.4 2003-05-17 13:36:38 suxen_drol Exp $   * $Id: plugin_2pass1.c,v 1.1.2.6 2003-07-29 23:02:34 edgomez Exp $
26   *   *
27   *****************************************************************************/   *****************************************************************************/
28    
# Line 48  Line 48 
48          rc_2pass1_t * rc;          rc_2pass1_t * rc;
49    
50      /* check filename */      /* check filename */
51      if (param->filename == NULL || param->filename[0] == '\0')      if ((param->filename == NULL) ||
52                    (param->filename != NULL && param->filename[0] == '\0'))
53          return XVID_ERR_FAIL;          return XVID_ERR_FAIL;
54    
55      /* allocate context struct */      /* allocate context struct */
# Line 65  Line 66 
66          /*          /*
67           * The File Header           * The File Header
68           */           */
69          /* fprintf(rc->stat_file, "# XviD 2pass stat file\n");  #if 0
70            fprintf(rc->stat_file, "# XviD 2pass stat file\n");
71      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));
72          fprintf(rc->stat_file, "start\n");          fprintf(rc->stat_file, "start\n");
73      fprintf(rc->stat_file, "type quantizer length kblocks mblocks ublocks\n");  */      fprintf(rc->stat_file, "type quantizer length kblocks mblocks ublocks\n");
74    #endif
75    
76      rc->fq_error = 0;      rc->fq_error = 0;
77    

Legend:
Removed from v.1032  
changed lines
  Added in v.1105

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