[svn] / trunk / vfw / src / codec.c Repository:
ViewVC logotype

Diff of /trunk/vfw/src/codec.c

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

revision 295, Fri Jul 12 12:26:55 2002 UTC revision 355, Thu Aug 1 12:56:29 2002 UTC
# Line 306  Line 306 
306          if (codec->config.debug) param.global |= XVID_GLOBAL_DEBUG;          if (codec->config.debug) param.global |= XVID_GLOBAL_DEBUG;
307          param.max_bframes = codec->config.max_bframes;          param.max_bframes = codec->config.max_bframes;
308          param.bquant_ratio = codec->config.bquant_ratio;          param.bquant_ratio = codec->config.bquant_ratio;
309            param.frame_drop_ratio = codec->config.frame_drop_ratio;
310  #endif  #endif
311    
312          switch(xvid_encore(0, XVID_ENC_CREATE, &param, NULL))          switch(xvid_encore(0, XVID_ENC_CREATE, &param, NULL))
# Line 393  Line 394 
394    
395          if (codec->config.interlacing)          if (codec->config.interlacing)
396                  frame.general |= XVID_INTERLACING;                  frame.general |= XVID_INTERLACING;
397    
398    // added by koepi for gruel's greyscale_mode
399            if (codec->config.greyscale)
400                    frame.general |= XVID_GREYSCALE;
401    
402    // end of koepi's addition
403    
404  // fix 1pass modes/hinted MV by koepi  // fix 1pass modes/hinted MV by koepi
405          if (codec->config.hinted_me && (codec->config.mode == DLG_MODE_CBR || codec->config.mode == DLG_MODE_VBR_QUAL || codec->config.mode == DLG_MODE_VBR_QUANT))          if (codec->config.hinted_me && (codec->config.mode == DLG_MODE_CBR || codec->config.mode == DLG_MODE_VBR_QUAL || codec->config.mode == DLG_MODE_VBR_QUANT))
406          {          {
# Line 519  Line 527 
527          frame.bquant = 0;          frame.bquant = 0;
528  #endif  #endif
529    
530          OutputDebugString(" ");  //      OutputDebugString(" ");
531          switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats))          switch (xvid_encore(codec->ehandle, XVID_ENC_ENCODE, &frame, &stats))
532          {          {
533          case XVID_ERR_FAIL :          case XVID_ERR_FAIL :

Legend:
Removed from v.295  
changed lines
  Added in v.355

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