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

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

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

revision 1495, Thu Jul 15 11:53:46 2004 UTC revision 1558, Mon Oct 25 10:29:10 2004 UTC
# Line 742  Line 742 
742    
743          frame.motion |= pmvfast_presets[codec->config.motion_search];          frame.motion |= pmvfast_presets[codec->config.motion_search];
744    
745            if (codec->config.vhq_bframe) frame.vop_flags |= XVID_VOP_RD_BVOP;
746    
747    
748          switch (codec->config.vhq_mode)          switch (codec->config.vhq_mode)
749          {          {
750          case VHQ_MODE_DECISION :          case VHQ_MODE_DECISION :
# Line 1076  Line 1079 
1079                  frame.output.plane[0] = icd->lpOutput;                  frame.output.plane[0] = icd->lpOutput;
1080                  frame.output.stride[0] = CALC_BI_STRIDE(icd->lpbiOutput->biWidth, icd->lpbiOutput->biBitCount);                  frame.output.stride[0] = CALC_BI_STRIDE(icd->lpbiOutput->biWidth, icd->lpbiOutput->biBitCount);
1081                  if (frame.output.csp == XVID_CSP_I420 || frame.output.csp == XVID_CSP_YV12)                  if (frame.output.csp == XVID_CSP_I420 || frame.output.csp == XVID_CSP_YV12)
1082                          frame.output.stride[0] = (frame.output.stride[0]*2)/3;                          frame.output.stride[0] = CALC_BI_STRIDE(icd->lpbiOutput->biWidth, 8);
1083          }          }
1084          else          else
1085          {          {

Legend:
Removed from v.1495  
changed lines
  Added in v.1558

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