Mercurial > mplayer.hg
changeset 8709:5ed237f98f82
motion estimation pre pass
author | michael |
---|---|
date | Thu, 02 Jan 2003 01:33:14 +0000 |
parents | 47e219bf777d |
children | ba369c754b36 |
files | libmpcodecs/ve_lavc.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c Wed Jan 01 23:23:48 2003 +0000 +++ b/libmpcodecs/ve_lavc.c Thu Jan 02 01:33:14 2003 +0000 @@ -114,6 +114,7 @@ static int lavc_param_qpel= 0; static int lavc_param_trell= 0; static int lavc_param_last_pred= 0; +static int lavc_param_pre_me= 1; #include "cfgparser.h" @@ -186,6 +187,7 @@ {"trell", &lavc_param_trell, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_TRELLIS_QUANT, NULL}, #endif {"last_pred", &lavc_param_last_pred, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL}, + {"preme", &lavc_param_pre_me, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; #endif @@ -262,6 +264,9 @@ #if LIBAVCODEC_BUILD >= 4649 lavc_venc_context->last_predictor_count= lavc_param_last_pred; #endif +#if LIBAVCODEC_BUILD >= 4650 + lavc_venc_context->pre_me= lavc_param_pre_me; +#endif p= lavc_param_rc_override_string; for(i=0; p; i++){