nsse weight

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12543 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
michael 2004-06-07 17:31:50 +00:00
parent 692f1af48a
commit 879c0d9d80
1 changed files with 5 additions and 0 deletions

View File

@ -149,6 +149,7 @@ static int lavc_param_ss= 0;
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 @@ m_option_t lavcopts_conf[]={
{"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 @@ static int config(struct vf_instance_s* vf,
#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)
{