[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 127, Wed Apr 17 14:04:41 2002 UTC revision 176, Mon May 13 10:07:41 2002 UTC
# Line 23  Line 23 
23   *   *
24   *      History:   *      History:
25   *   *
26     *      25.04.2002      ICDECOMPRESS_PREROLL
27   *      17.04.2002      re-enabled lumi masking for 1st pass   *      17.04.2002      re-enabled lumi masking for 1st pass
28   *      15.04.2002      updated cbr support   *      15.04.2002      updated cbr support
29   *      04.04.2002      separated 2-pass code to 2pass.c   *      04.04.2002      separated 2-pass code to 2pass.c
# Line 373  Line 374 
374    
375          if (codec->config.interlacing)          if (codec->config.interlacing)
376                  frame.general |= XVID_INTERLACING;                  frame.general |= XVID_INTERLACING;
377    // fix 1pass modes/hinted MV by koepi
378            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))
379            {
380                    codec->config.hinted_me = 0;
381            }
382    // end of ugly hack
383    
384          if (codec->config.hinted_me && codec->config.mode == DLG_MODE_2PASS_1)          if (codec->config.hinted_me && codec->config.mode == DLG_MODE_2PASS_1)
385          {          {
# Line 667  Line 674 
674          frame.image = icd->lpOutput;          frame.image = icd->lpOutput;
675          frame.stride = icd->lpbiOutput->biWidth;          frame.stride = icd->lpbiOutput->biWidth;
676    
677          if (~((icd->dwFlags & ICDECOMPRESS_HURRYUP) | (icd->dwFlags & ICDECOMPRESS_UPDATE)))          if (~((icd->dwFlags & ICDECOMPRESS_HURRYUP) | (icd->dwFlags & ICDECOMPRESS_UPDATE) | (icd->dwFlags & ICDECOMPRESS_PREROLL)))
678          {          {
679                  if ((frame.colorspace = get_colorspace(icd->lpbiOutput)) == XVID_CSP_NULL)                  if ((frame.colorspace = get_colorspace(icd->lpbiOutput)) == XVID_CSP_NULL)
680                  {                  {

Legend:
Removed from v.127  
changed lines
  Added in v.176

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