[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 1588, Sat Jan 8 12:28:48 2005 UTC revision 1597, Sun Jan 30 14:04:11 2005 UTC
# Line 570  Line 570 
570                  if (codec->config.packed)                  if (codec->config.packed)
571                          create.global |= XVID_GLOBAL_PACKED;                          create.global |= XVID_GLOBAL_PACKED;
572    
                 if (codec->config.closed_gov)  
573                          create.global |= XVID_GLOBAL_CLOSED_GOP;                          create.global |= XVID_GLOBAL_CLOSED_GOP;
574    
575          }          }
# Line 685  Line 684 
684                  }                  }
685          }          }
686    
         if ((profiles[codec->config.profile].flags & PROFILE_REDUCED) &&  
                 codec->config.reduced_resolution) {  
                 frame.vol_flags |= XVID_VOL_REDUCED_ENABLE;  
                 frame.vop_flags |= XVID_VOP_REDUCED;    /* XXX: need auto decion mode */  
         }  
   
687          if ((profiles[codec->config.profile].flags & PROFILE_QPEL) && codec->config.qpel) {          if ((profiles[codec->config.profile].flags & PROFILE_QPEL) && codec->config.qpel) {
688                  frame.vol_flags |= XVID_VOL_QUARTERPEL;                  frame.vol_flags |= XVID_VOL_QUARTERPEL;
689                  frame.motion |= XVID_ME_QUARTERPELREFINE16 | XVID_ME_QUARTERPELREFINE8;                  frame.motion |= XVID_ME_QUARTERPELREFINE16 | XVID_ME_QUARTERPELREFINE8;
# Line 969  Line 962 
962          memset(&init, 0, sizeof(init));          memset(&init, 0, sizeof(init));
963          init.version = XVID_VERSION;          init.version = XVID_VERSION;
964          init.cpu_flags = codec->config.cpu;          init.cpu_flags = codec->config.cpu;
965      init.debug = codec->config.debug;
966          codec->xvid_global_func(0, XVID_GBL_INIT, &init, NULL);          codec->xvid_global_func(0, XVID_GBL_INIT, &init, NULL);
967    
968          memset(&create, 0, sizeof(create));          memset(&create, 0, sizeof(create));

Legend:
Removed from v.1588  
changed lines
  Added in v.1597

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