mirror of https://github.com/mpv-player/mpv
ildctcmp, VSAD, VSSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11754 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
6ac86c2a91
commit
b9f282731d
|
@ -4608,6 +4608,9 @@ large context model
|
||||||
use quarter pel motion compensation
|
use quarter pel motion compensation
|
||||||
Tip: This seems only useful for high bitrate encodings.
|
Tip: This seems only useful for high bitrate encodings.
|
||||||
.TP
|
.TP
|
||||||
|
.B ildctcmp=<0\-2000>
|
||||||
|
comparison function for interlaced dct decision
|
||||||
|
.TP
|
||||||
.B precmp=<0\-2000>
|
.B precmp=<0\-2000>
|
||||||
comparison function for motion estimation pre pass
|
comparison function for motion estimation pre pass
|
||||||
.TP
|
.TP
|
||||||
|
@ -4637,6 +4640,10 @@ number of bits needed for the block
|
||||||
rate distortion optimal, slow
|
rate distortion optimal, slow
|
||||||
.IPs "7 (ZERO)"
|
.IPs "7 (ZERO)"
|
||||||
0
|
0
|
||||||
|
.IPs "8 (VSAD)"
|
||||||
|
sum of absolute vertical differences
|
||||||
|
.IPs "9 (VSSE)"
|
||||||
|
sum of squared vertical differences
|
||||||
.IPs +256\
|
.IPs +256\
|
||||||
use chroma too, doesn't work (correctly) with B frames currently
|
use chroma too, doesn't work (correctly) with B frames currently
|
||||||
.RE
|
.RE
|
||||||
|
|
|
@ -113,6 +113,9 @@ static int lavc_param_me_pre_cmp= 0;
|
||||||
static int lavc_param_me_cmp= 0;
|
static int lavc_param_me_cmp= 0;
|
||||||
static int lavc_param_me_sub_cmp= 0;
|
static int lavc_param_me_sub_cmp= 0;
|
||||||
static int lavc_param_mb_cmp= 0;
|
static int lavc_param_mb_cmp= 0;
|
||||||
|
#ifdef FF_CMP_VSAD
|
||||||
|
static int lavc_param_ildct_cmp= FF_CMP_VSAD;
|
||||||
|
#endif
|
||||||
static int lavc_param_pre_dia_size= 0;
|
static int lavc_param_pre_dia_size= 0;
|
||||||
static int lavc_param_dia_size= 0;
|
static int lavc_param_dia_size= 0;
|
||||||
static int lavc_param_qpel= 0;
|
static int lavc_param_qpel= 0;
|
||||||
|
@ -223,6 +226,9 @@ m_option_t lavcopts_conf[]={
|
||||||
{"cmp", &lavc_param_me_cmp, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
|
{"cmp", &lavc_param_me_cmp, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
|
||||||
{"subcmp", &lavc_param_me_sub_cmp, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
|
{"subcmp", &lavc_param_me_sub_cmp, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
|
||||||
{"mbcmp", &lavc_param_mb_cmp, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
|
{"mbcmp", &lavc_param_mb_cmp, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
|
||||||
|
#ifdef FF_CMP_VSAD
|
||||||
|
{"ildctcmp", &lavc_param_ildct_cmp, CONF_TYPE_INT, CONF_RANGE, 0, 2000, NULL},
|
||||||
|
#endif
|
||||||
{"predia", &lavc_param_pre_dia_size, CONF_TYPE_INT, CONF_RANGE, -2000, 2000, NULL},
|
{"predia", &lavc_param_pre_dia_size, CONF_TYPE_INT, CONF_RANGE, -2000, 2000, NULL},
|
||||||
{"dia", &lavc_param_dia_size, CONF_TYPE_INT, CONF_RANGE, -2000, 2000, NULL},
|
{"dia", &lavc_param_dia_size, CONF_TYPE_INT, CONF_RANGE, -2000, 2000, NULL},
|
||||||
{"qpel", &lavc_param_qpel, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_QPEL, NULL},
|
{"qpel", &lavc_param_qpel, CONF_TYPE_FLAG, 0, 0, CODEC_FLAG_QPEL, NULL},
|
||||||
|
@ -540,6 +546,9 @@ static int config(struct vf_instance_s* vf,
|
||||||
lavc_venc_context->me_cmp= lavc_param_me_cmp;
|
lavc_venc_context->me_cmp= lavc_param_me_cmp;
|
||||||
lavc_venc_context->me_sub_cmp= lavc_param_me_sub_cmp;
|
lavc_venc_context->me_sub_cmp= lavc_param_me_sub_cmp;
|
||||||
lavc_venc_context->mb_cmp= lavc_param_mb_cmp;
|
lavc_venc_context->mb_cmp= lavc_param_mb_cmp;
|
||||||
|
#ifdef FF_CMP_VSAD
|
||||||
|
lavc_venc_context->ildct_cmp= lavc_param_ildct_cmp;
|
||||||
|
#endif
|
||||||
lavc_venc_context->dia_size= lavc_param_dia_size;
|
lavc_venc_context->dia_size= lavc_param_dia_size;
|
||||||
lavc_venc_context->flags|= lavc_param_qpel;
|
lavc_venc_context->flags|= lavc_param_qpel;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue