Mercurial > mplayer.hg
changeset 12542:51212c1c6143
nsse weight
author | michael |
---|---|
date | Mon, 07 Jun 2004 17:31:50 +0000 |
parents | 260c2e08b961 |
children | 2cbc9f1f728f |
files | libmpcodecs/ve_lavc.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/ve_lavc.c Mon Jun 07 13:45:43 2004 +0000 +++ b/libmpcodecs/ve_lavc.c Mon Jun 07 17:31:50 2004 +0000 @@ -149,6 +149,7 @@ static int lavc_param_top= -1; static int lavc_param_alt= 0; static int lavc_param_ilme= 0; +static int lavc_param_nssew= 8; char *lavc_param_acodec = "mp2"; @@ -290,6 +291,7 @@ {"sc_threshold", &lavc_param_sc_threshold, CONF_TYPE_INT, CONF_RANGE, -1000000, 1000000, NULL}, {"top", &lavc_param_top, CONF_TYPE_INT, CONF_RANGE, -1, 1, NULL}, {"qns", &lavc_param_qns, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL}, + {"nssew", &lavc_param_nssew, CONF_TYPE_INT, CONF_RANGE, 0, 1000000, NULL}, {NULL, NULL, 0, 0, 0, 0, NULL} }; #endif @@ -412,6 +414,9 @@ #if LIBAVCODEC_BUILD >= 4693 lavc_venc_context->inter_threshold= lavc_param_inter_threshold; #endif +#if LIBAVCODEC_BUILD >= 4716 + lavc_venc_context->nsse_weight= lavc_param_nssew; +#endif #if LIBAVCODEC_BUILD >= 4675 if (lavc_param_intra_matrix) {