comparison libmpcodecs/ve_lavc.c @ 10974:76293091a9c7

mv0
author michael
date Thu, 02 Oct 2003 00:28:29 +0000
parents 0db4771a4fca
children 6e35326c742f
comparison
equal deleted inserted replaced
10973:cbed8b88d4ee 10974:76293091a9c7
128 static int lavc_param_coder= 0; 128 static int lavc_param_coder= 0;
129 static int lavc_param_context= 0; 129 static int lavc_param_context= 0;
130 static char *lavc_param_intra_matrix = NULL; 130 static char *lavc_param_intra_matrix = NULL;
131 static char *lavc_param_inter_matrix = NULL; 131 static char *lavc_param_inter_matrix = NULL;
132 static int lavc_param_cbp= 0; 132 static int lavc_param_cbp= 0;
133 static int lavc_param_mv0= 0;
133 134
134 #include "m_option.h" 135 #include "m_option.h"
135 136
136 #ifdef USE_LIBAVCODEC 137 #ifdef USE_LIBAVCODEC
137 m_option_t lavcopts_conf[]={ 138 m_option_t lavcopts_conf[]={
226 {"inter_matrix", &lavc_param_inter_matrix, CONF_TYPE_STRING, 0, 0, 0, NULL}, 227 {"inter_matrix", &lavc_param_inter_matrix, CONF_TYPE_STRING, 0, 0, 0, NULL},
227 #endif 228 #endif
228 #if LIBAVCODEC_BUILD >= 4681 229 #if LIBAVCODEC_BUILD >= 4681
229 {"cbp", &lavc_param_cbp, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_CBP_RD, NULL}, 230 {"cbp", &lavc_param_cbp, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_CBP_RD, NULL},
230 #endif 231 #endif
232 #if LIBAVCODEC_BUILD >= 4683
233 {"mv0", &lavc_param_mv0, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_MV0, NULL},
234 #endif
231 {NULL, NULL, 0, 0, 0, 0, NULL} 235 {NULL, NULL, 0, 0, 0, 0, NULL}
232 }; 236 };
233 #endif 237 #endif
234 238
235 struct vf_priv_s { 239 struct vf_priv_s {
469 lavc_venc_context->flags|= lavc_param_aic; 473 lavc_venc_context->flags|= lavc_param_aic;
470 lavc_venc_context->flags|= lavc_param_umv; 474 lavc_venc_context->flags|= lavc_param_umv;
471 lavc_venc_context->flags|= lavc_param_v4mv ? CODEC_FLAG_4MV : 0; 475 lavc_venc_context->flags|= lavc_param_v4mv ? CODEC_FLAG_4MV : 0;
472 lavc_venc_context->flags|= lavc_param_data_partitioning; 476 lavc_venc_context->flags|= lavc_param_data_partitioning;
473 lavc_venc_context->flags|= lavc_param_cbp; 477 lavc_venc_context->flags|= lavc_param_cbp;
478 lavc_venc_context->flags|= lavc_param_mv0;
474 if(lavc_param_gray) lavc_venc_context->flags|= CODEC_FLAG_GRAY; 479 if(lavc_param_gray) lavc_venc_context->flags|= CODEC_FLAG_GRAY;
475 480
476 if(lavc_param_normalize_aqp) lavc_venc_context->flags|= CODEC_FLAG_NORMALIZE_AQP; 481 if(lavc_param_normalize_aqp) lavc_venc_context->flags|= CODEC_FLAG_NORMALIZE_AQP;
477 if(lavc_param_interlaced_dct) lavc_venc_context->flags|= CODEC_FLAG_INTERLACED_DCT; 482 if(lavc_param_interlaced_dct) lavc_venc_context->flags|= CODEC_FLAG_INTERLACED_DCT;
478 #if LIBAVCODEC_BUILD >= 4643 483 #if LIBAVCODEC_BUILD >= 4643