[cvs] / xvidcore / src / plugins / plugin_2pass1.c Repository:
ViewVC logotype

Diff of /xvidcore/src/plugins/plugin_2pass1.c

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

revision 1.1.2.12, Sat Dec 20 15:30:03 2003 UTC revision 1.1.2.13, Sat Dec 20 15:38:13 2003 UTC
# Line 34  Line 34 
34  #include "../image/image.h"  #include "../image/image.h"
35    
36    
37    #define FAST1PASS
38    
39    
40  /* context struct */  /* context struct */
41  typedef struct  typedef struct
42  {  {
# Line 130  Line 133 
133                          rc->fq_error -= data->quant;                          rc->fq_error -= data->quant;
134                  } else {                  } else {
135                          data->quant = 2;                          data->quant = 2;
136    
137    #ifdef FAST1PASS
138    
139                            data->motion_flags &= ~(XVID_ME_CHROMA_PVOP + XVID_ME_CHROMA_BVOP + XVID_ME_USESQUARES16
140                                                                            + XVID_ME_ADVANCEDDIAMOND16 + XVID_ME_EXTSEARCH16);
141    
142                            data->motion_flags |= XVID_ME_FAST_MODEINTERPOLATE + XVID_ME_SKIP_DELTASEARCH
143                                                                            + XVID_ME_FASTREFINE16 + XVID_ME_BFRAME_EARLYSTOP;
144    
145                            data->vop_flags &= ~(XVID_VOP_MODEDECISION_RD + XVID_VOP_FAST_MODEDECISION_RD
146                                                                    + XVID_VOP_TRELLISQUANT + XVID_VOP_INTER4V + XVID_VOP_HQACPRED);
147    
148                            data->vol_flags &= ~XVID_VOL_GMC;
149    #endif
150                  }                  }
151          }          }
152           return(0);           return(0);

Legend:
Removed from v.1.1.2.12  
changed lines
  Added in v.1.1.2.13

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