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.39 2003-12-16 09:24:48 chl Exp $ |
* $Id: xvid_encraw.c,v 1.11.2.40 2003-12-17 08:38:06 chl Exp $ |
25 |
* |
* |
26 |
****************************************************************************/ |
****************************************************************************/ |
27 |
|
|
1094 |
|
|
1095 |
/* Set up core's general features */ |
/* Set up core's general features */ |
1096 |
xvid_enc_frame.vop_flags = vop_presets[ARG_QUALITY]; |
xvid_enc_frame.vop_flags = vop_presets[ARG_QUALITY]; |
|
if (ARG_GMC) |
|
|
xvid_enc_frame.vol_flags |= XVID_ME_GME_REFINE; |
|
1097 |
|
|
1098 |
if (ARG_VOPDEBUG) { |
if (ARG_VOPDEBUG) { |
1099 |
xvid_enc_frame.vop_flags |= XVID_VOP_DEBUG; |
xvid_enc_frame.vop_flags |= XVID_VOP_DEBUG; |
1108 |
/* Set up motion estimation flags */ |
/* Set up motion estimation flags */ |
1109 |
xvid_enc_frame.motion = motion_presets[ARG_QUALITY]; |
xvid_enc_frame.motion = motion_presets[ARG_QUALITY]; |
1110 |
|
|
1111 |
|
if (ARG_GMC) |
1112 |
|
xvid_enc_frame.motion |= XVID_ME_GME_REFINE; |
1113 |
|
|
1114 |
if (ARG_QPEL) |
if (ARG_QPEL) |
1115 |
xvid_enc_frame.motion |= XVID_ME_QUARTERPELREFINE16; |
xvid_enc_frame.motion |= XVID_ME_QUARTERPELREFINE16; |
1116 |
if (ARG_QPEL && (xvid_enc_frame.vop_flags & XVID_VOP_INTER4V)) |
if (ARG_QPEL && (xvid_enc_frame.vop_flags & XVID_VOP_INTER4V)) |