mirror of https://github.com/mpv-player/mpv
darkmasking & docs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7497 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
14b3544238
commit
bcfc15f2a4
|
@ -72,6 +72,7 @@ vpass
|
|||
1 first pass
|
||||
2 second pass
|
||||
(only need to specify if two-pass encoding is used)
|
||||
Tip: u can try to use constant quantizer mode for pass1 (vqscale=<quantizer>)
|
||||
|
||||
vbitrate (kbits per second) for pass1/2
|
||||
800 is default
|
||||
|
@ -202,6 +203,34 @@ vfdct (0-99) dct algorithm
|
|||
3 mmx
|
||||
4 mlib
|
||||
|
||||
lumi_mask (0.0-1.0) luminance masking
|
||||
0.0 disabled (default)
|
||||
0.0-0.5 should be a sane range
|
||||
warning: be carefull, too large values can cause disasterous things
|
||||
warning2: large values might look good on some monitors but may look horrible
|
||||
on other monitors
|
||||
|
||||
dark_mask (0.0-1.0) darkness masking
|
||||
0.0 disabled (default)
|
||||
0.0-0.3 should be a sane range
|
||||
warning: be carefull, too large values can cause disasterous things
|
||||
warning2: large values might look good on some monitors but may look horrible
|
||||
on other monitors / TV / TFT
|
||||
|
||||
tcplx_mask (0.0-1.0) temporal complexity masking
|
||||
0.0 disabled (default)
|
||||
|
||||
scplx_mask (0.0-1.0) spatial complexity masking
|
||||
0.0 disabled (default)
|
||||
0.0-0.5 should be a sane range
|
||||
larger values help against blockiness, if no deblocking filter is used
|
||||
for decoding
|
||||
Tip: crop any black borders completly away as they will reduce the quality
|
||||
of the MBs there, this is true if scplx_mask isnt used at all too
|
||||
|
||||
naq normalize adaptive quantization
|
||||
experimental
|
||||
|
||||
lavdopts: (decoder options)
|
||||
---------------------------
|
||||
|
||||
|
|
|
@ -90,6 +90,7 @@ static int lavc_param_fdct=0;
|
|||
static float lavc_param_aspect=0.0;
|
||||
#endif
|
||||
static float lavc_param_lumi_masking= 0.0;
|
||||
static float lavc_param_dark_masking= 0.0;
|
||||
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;
|
||||
|
@ -159,6 +160,9 @@ struct config lavcopts_conf[]={
|
|||
{"scplx_mask", &lavc_param_spatial_cplx_masking, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
|
||||
{"p_mask", &lavc_param_p_masking, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
|
||||
{"naq", &lavc_param_normalize_aqp, CONF_TYPE_FLAG, 0, 0, 1, NULL},
|
||||
#endif
|
||||
#if LIBAVCODEC_BUILD >= 4626
|
||||
{"dark_mask", &lavc_param_dark_masking, CONF_TYPE_FLOAT, CONF_RANGE, -1.0, 1.0, NULL},
|
||||
#endif
|
||||
{NULL, NULL, 0, 0, 0, 0, NULL}
|
||||
};
|
||||
|
@ -269,6 +273,9 @@ static int config(struct vf_instance_s* vf,
|
|||
lavc_venc_context->spatial_cplx_masking= lavc_param_spatial_cplx_masking;
|
||||
lavc_venc_context->p_masking= lavc_param_p_masking;
|
||||
#endif
|
||||
#if LIBAVCODEC_BUILD >= 4626
|
||||
lavc_venc_context->dark_masking= lavc_param_dark_masking;
|
||||
#endif
|
||||
|
||||
#if LIBAVCODEC_BUILD >= 4623
|
||||
if (lavc_param_aspect != 0.0)
|
||||
|
|
Loading…
Reference in New Issue