mirror of
https://github.com/mpv-player/mpv
synced 2025-01-28 02:23:06 +00:00
interlaced dct
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7505 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cfbf4a19d7
commit
0520689fa6
@ -95,6 +95,7 @@ static float lavc_param_temporal_cplx_masking= 0.0;
|
||||
static float lavc_param_spatial_cplx_masking= 0.0;
|
||||
static float lavc_param_p_masking= 0.0;
|
||||
static int lavc_param_normalize_aqp= 0;
|
||||
static int lavc_param_interlaced_dct= 0;
|
||||
|
||||
#include "cfgparser.h"
|
||||
|
||||
@ -163,6 +164,9 @@ struct config lavcopts_conf[]={
|
||||
#endif
|
||||
#if LIBAVCODEC_BUILD >= 4626
|
||||
{"dark_mask", &lavc_param_dark_masking, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
|
||||
#endif
|
||||
#if LIBAVCODEC_BUILD >= 4627
|
||||
{"ildct", &lavc_param_interlaced_dct, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||
#endif
|
||||
{NULL, NULL, 0, 0, 0, 0, NULL}
|
||||
};
|
||||
@ -332,6 +336,9 @@ static int config(struct vf_instance_s* vf,
|
||||
#if LIBAVCODEC_BUILD >= 4625
|
||||
if(lavc_param_normalize_aqp) lavc_venc_context->flags|= CODEC_FLAG_NORMALIZE_AQP;
|
||||
#endif
|
||||
#if LIBAVCODEC_BUILD >= 4627
|
||||
if(lavc_param_interlaced_dct) lavc_venc_context->flags|= CODEC_FLAG_INTERLACED_DCT;
|
||||
#endif
|
||||
|
||||
/* lavc internal 2pass bitrate control */
|
||||
#ifdef HAVE_DIVX4ENCORE
|
||||
|
Loading…
Reference in New Issue
Block a user