[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 121, Mon Apr 15 08:03:50 2002 UTC revision 137, Thu Apr 25 07:16:00 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
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
30   *                              interlacing support   *                              interlacing support
# Line 367  Line 369 
369          if(codec->config.motion_search > 4)          if(codec->config.motion_search > 4)
370                  frame.general |= XVID_INTER4V;                  frame.general |= XVID_INTER4V;
371    
372          if(((codec->config.mode == DLG_MODE_2PASS_1) ? 0 : codec->config.lum_masking) == 1)          if (codec->config.lum_masking)
373                  frame.general |= XVID_LUMIMASKING;                  frame.general |= XVID_LUMIMASKING;
374    
375          if (codec->config.interlacing)          if (codec->config.interlacing)
# Line 666  Line 668 
668          frame.image = icd->lpOutput;          frame.image = icd->lpOutput;
669          frame.stride = icd->lpbiOutput->biWidth;          frame.stride = icd->lpbiOutput->biWidth;
670    
671          if (~((icd->dwFlags & ICDECOMPRESS_HURRYUP) | (icd->dwFlags & ICDECOMPRESS_UPDATE)))          if (~((icd->dwFlags & ICDECOMPRESS_HURRYUP) | (icd->dwFlags & ICDECOMPRESS_UPDATE) | (icd->dwFlags & ICDECOMPRESS_PREROLL)))
672          {          {
673                  if ((frame.colorspace = get_colorspace(icd->lpbiOutput)) == XVID_CSP_NULL)                  if ((frame.colorspace = get_colorspace(icd->lpbiOutput)) == XVID_CSP_NULL)
674                  {                  {

Legend:
Removed from v.121  
changed lines
  Added in v.137

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