[svn] / branches / dev-api-4 / xvidcore / examples / xvid_encraw.c Repository:
ViewVC logotype

Diff of /branches/dev-api-4/xvidcore/examples/xvid_encraw.c

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

revision 1119, Sat Aug 9 17:19:20 2003 UTC revision 1121, Sun Aug 10 13:10:09 2003 UTC
# Line 21  Line 21 
21   *  along with this program; if not, write to the Free Software   *  along with this program; if not, write to the Free Software
22   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA   *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
23   *   *
24   * $Id: xvid_encraw.c,v 1.11.2.34 2003-08-09 17:19:20 edgomez Exp $   * $Id: xvid_encraw.c,v 1.11.2.35 2003-08-10 13:10:09 Isibaar Exp $
25   *   *
26   ****************************************************************************/   ****************************************************************************/
27    
# Line 1083  Line 1083 
1083    
1084          /* Set up core's general features */          /* Set up core's general features */
1085          xvid_enc_frame.vop_flags = vop_presets[ARG_QUALITY];          xvid_enc_frame.vop_flags = vop_presets[ARG_QUALITY];
         if (ARG_QPEL && (xvid_enc_frame.vop_flags & XVID_ME_HALFPELREFINE16))  
                 xvid_enc_frame.vop_flags |= XVID_ME_QUARTERPELREFINE16;  
         if (ARG_QPEL && (xvid_enc_frame.vop_flags & XVID_ME_HALFPELREFINE8))  
                 xvid_enc_frame.vop_flags |= XVID_ME_QUARTERPELREFINE8;  
1086          if (ARG_GMC)          if (ARG_GMC)
1087                  xvid_enc_frame.vop_flags |= XVID_ME_GME_REFINE;                  xvid_enc_frame.vop_flags |= XVID_ME_GME_REFINE;
1088    
# Line 1103  Line 1099 
1099          /* Set up motion estimation flags */          /* Set up motion estimation flags */
1100          xvid_enc_frame.motion = motion_presets[ARG_QUALITY];          xvid_enc_frame.motion = motion_presets[ARG_QUALITY];
1101    
1102            if (ARG_QPEL)
1103                    xvid_enc_frame.motion |= XVID_ME_QUARTERPELREFINE16;
1104            if (ARG_QPEL && (xvid_enc_frame.vop_flags & XVID_VOP_INTER4V))
1105                    xvid_enc_frame.motion |= XVID_ME_QUARTERPELREFINE8;
1106    
1107          /* We don't use special matrices */          /* We don't use special matrices */
1108          xvid_enc_frame.quant_intra_matrix = NULL;          xvid_enc_frame.quant_intra_matrix = NULL;
1109          xvid_enc_frame.quant_inter_matrix = NULL;          xvid_enc_frame.quant_inter_matrix = NULL;

Legend:
Removed from v.1119  
changed lines
  Added in v.1121

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