Mercurial > mplayer.hg
changeset 11753:ce75cb364b19
ildctcmp, VSAD, VSSE
author | michael |
---|---|
date | Mon, 05 Jan 2004 23:44:51 +0000 |
parents | 0959deda789c |
children | 32b305de8852 |
files | DOCS/man/en/mplayer.1 libmpcodecs/ve_lavc.c |
diffstat | 2 files changed, 16 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/DOCS/man/en/mplayer.1 Mon Jan 05 22:05:51 2004 +0000 +++ b/DOCS/man/en/mplayer.1 Mon Jan 05 23:44:51 2004 +0000 @@ -4608,6 +4608,9 @@ use quarter pel motion compensation Tip: This seems only useful for high bitrate encodings. .TP +.B ildctcmp=<0\-2000> +comparison function for interlaced dct decision +.TP .B precmp=<0\-2000> comparison function for motion estimation pre pass .TP @@ -4637,6 +4640,10 @@ rate distortion optimal, slow .IPs "7 (ZERO)" 0 +.IPs "8 (VSAD)" +sum of absolute vertical differences +.IPs "9 (VSSE)" +sum of squared vertical differences .IPs +256\ use chroma too, doesn't work (correctly) with B frames currently .RE
--- a/libmpcodecs/ve_lavc.c Mon Jan 05 22:05:51 2004 +0000 +++ b/libmpcodecs/ve_lavc.c Mon Jan 05 23:44:51 2004 +0000 @@ -113,6 +113,9 @@ static int lavc_param_me_cmp= 0; static int lavc_param_me_sub_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_dia_size= 0; static int lavc_param_qpel= 0; @@ -223,6 +226,9 @@ {"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}, {"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}, {"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}, @@ -540,6 +546,9 @@ lavc_venc_context->me_cmp= lavc_param_me_cmp; lavc_venc_context->me_sub_cmp= lavc_param_me_sub_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->flags|= lavc_param_qpel; #endif