[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 1277, Thu Dec 18 14:51:40 2003 UTC revision 1294, Sun Dec 21 16:19:41 2003 UTC
# Line 569  Line 569 
569                  /* custom pixel aspect ratio -> calculated from DAR */                  /* custom pixel aspect ratio -> calculated from DAR */
570                  frame.par = XVID_PAR_EXT;                  frame.par = XVID_PAR_EXT;
571                  frame.par_width = (100 * inhdr->biHeight) / codec->config.ar_y;                  frame.par_width = (100 * inhdr->biHeight) / codec->config.ar_y;
572                  frame.par_height= (100 * inhdr->biWidth) / codec->config.ar_x;;                  frame.par_height= (100 * inhdr->biWidth) / codec->config.ar_x;
573          }          }
574    
575      /* vop stuff */      /* vop stuff */
# Line 595  Line 595 
595                  frame.motion |= XVID_ME_DETECT_STATIC_MOTION;                  frame.motion |= XVID_ME_DETECT_STATIC_MOTION;
596          }          }
597    
598            if (codec->config.turbo)
599                    frame.motion |= XVID_ME_FASTREFINE16 | XVID_ME_FASTREFINE8 |
600                                                    XVID_ME_SKIP_DELTASEARCH | XVID_ME_FAST_MODEINTERPOLATE |
601                                                    XVID_ME_BFRAME_EARLYSTOP;
602    
603          frame.motion |= pmvfast_presets[codec->config.motion_search];          frame.motion |= pmvfast_presets[codec->config.motion_search];
604    
605          switch (codec->config.vhq_mode)          switch (codec->config.vhq_mode)

Legend:
Removed from v.1277  
changed lines
  Added in v.1294

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