mirror of
https://github.com/mpv-player/mpv
synced 2024-12-24 15:52:25 +00:00
motion estimation pre pass
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8710 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
97cdc9e4dc
commit
715a1d542a
@ -114,6 +114,7 @@ static int lavc_param_dia_size= 0;
|
||||
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 @@ struct config lavcopts_conf[]={
|
||||
{"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 @@ static int config(struct vf_instance_s* vf,
|
||||
#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++){
|
||||
|
Loading…
Reference in New Issue
Block a user