[svn] / branches / dev-api-4 / xvidcore / vfw / src / codec.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/vfw/src/codec.c

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

revision 1069, Fri Jun 13 11:52:14 2003 UTC revision 1106, Sat Aug 2 10:42:23 2003 UTC
# Line 208  Line 208 
208    
209          if (lpbiOutput == NULL)          if (lpbiOutput == NULL)
210          {          {
211                  return sizeof(BITMAPV4HEADER);                  return sizeof(BITMAPINFOHEADER);
212          }          }
213    
214          memcpy(outhdr, inhdr, sizeof(BITMAPINFOHEADER));          memcpy(outhdr, inhdr, sizeof(BITMAPINFOHEADER));
# Line 542  Line 542 
542                  frame.motion |= XVID_ME_QUARTERPELREFINE16 | XVID_ME_QUARTERPELREFINE8;                  frame.motion |= XVID_ME_QUARTERPELREFINE16 | XVID_ME_QUARTERPELREFINE8;
543          }          }
544    
545          if ((profiles[codec->config.profile].flags & PROFILE_GMC) && codec->config.gmc)          if ((profiles[codec->config.profile].flags & PROFILE_GMC) && codec->config.gmc) {
546                  frame.vol_flags |= XVID_VOL_GMC;                  frame.vol_flags |= XVID_VOL_GMC;
547                    frame.motion |= XVID_GME_REFINE;
548            }
549    
550          if ((profiles[codec->config.profile].flags & PROFILE_INTERLACE) && codec->config.interlacing)          if ((profiles[codec->config.profile].flags & PROFILE_INTERLACE) && codec->config.interlacing)
551                  frame.vol_flags |= XVID_VOL_INTERLACING;                  frame.vol_flags |= XVID_VOL_INTERLACING;
# Line 564  Line 566 
566                  frame.vop_flags |= XVID_VOP_INTER4V;                  frame.vop_flags |= XVID_VOP_INTER4V;
567    
568          if (codec->config.chromame)          if (codec->config.chromame)
569                  frame.vop_flags |= XVID_ME_CHROMA16 + XVID_ME_CHROMA8;                  frame.motion |= XVID_ME_CHROMA16 + XVID_ME_CHROMA8;
570    
571          frame.motion |= pmvfast_presets[codec->config.motion_search];          frame.motion |= pmvfast_presets[codec->config.motion_search];
572    

Legend:
Removed from v.1069  
changed lines
  Added in v.1106

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