[svn] / branches / dev-api-4 / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/examples/xvid_encraw.c

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

revision 1254, Wed Dec 10 22:58:32 2003 UTC revision 1264, Tue Dec 16 09:24:48 2003 UTC
# Line 21  Line 21 
21   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: xvid_encraw.c,v 1.11.2.38 2003-12-10 22:58:32 edgomez Exp $   * $Id: xvid_encraw.c,v 1.11.2.39 2003-12-16 09:24:48 chl Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 363  Line 363 
363   *                            Arguments checking   *                            Arguments checking
364   ****************************************************************************/   ****************************************************************************/
365    
366          if (XDIM <= 0 || XDIM >= 2048 || YDIM <= 0 || YDIM >= 2048) {          if (XDIM <= 0 || XDIM >= 4096 || YDIM <= 0 || YDIM >= 4096) {
367                  fprintf(stderr,                  fprintf(stderr,
368                                  "Trying to retreive width and height from PGM header\n");                                  "Trying to retreive width and height from PGM header\n");
369                  ARG_INPUTTYPE = 1;              /* pgm */                  ARG_INPUTTYPE = 1;              /* pgm */
# Line 1095  Line 1095 
1095          /* Set up core's general features */          /* Set up core's general features */
1096          xvid_enc_frame.vop_flags = vop_presets[ARG_QUALITY];          xvid_enc_frame.vop_flags = vop_presets[ARG_QUALITY];
1097          if (ARG_GMC)          if (ARG_GMC)
1098                  xvid_enc_frame.vop_flags |= XVID_ME_GME_REFINE;                  xvid_enc_frame.vol_flags |= XVID_ME_GME_REFINE;
1099    
1100      if (ARG_VOPDEBUG) {      if (ARG_VOPDEBUG) {
1101          xvid_enc_frame.vop_flags |= XVID_VOP_DEBUG;          xvid_enc_frame.vop_flags |= XVID_VOP_DEBUG;

Legend:
Removed from v.1254  
changed lines
  Added in v.1264

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