summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-18 01:07:37 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-08-18 01:07:37 +0000
commite5f74c273e8580afd828ae668a2643ff775ab9b4 (patch)
treea3b0cb47a5d438c5dee5bab9939bef5cdfb0c6bc
parent74c5df8ea7c7ce548c94b1ba373b35539340991b (diff)
downloadmpv-e5f74c273e8580afd828ae668a2643ff775ab9b4.tar.bz2
mpv-e5f74c273e8580afd828ae668a2643ff775ab9b4.tar.xz
same behavior for luma & chroma single coeff elimination
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7040 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--DOCS/tech/libavc-options.txt10
-rw-r--r--libmpcodecs/ve_lavc.c2
2 files changed, 8 insertions, 4 deletions
diff --git a/DOCS/tech/libavc-options.txt b/DOCS/tech/libavc-options.txt
index 01c01e860c..a3e063b690 100644
--- a/DOCS/tech/libavc-options.txt
+++ b/DOCS/tech/libavc-options.txt
@@ -104,13 +104,17 @@ vqcomp (0.0-1.0) quantizer compression (for pass1/2)
vrc_strategy (0,1,2)
FIXME (different rate control strategies)
-vlelim (0-1000) single coefficient elimination threshold for luminance
+vlelim (-1000-1000) single coefficient elimination threshold for luminance
0 disabled (default)
- 4 (JVT recommendation)
+ -4 (JVT recommendation)
+ negative values will allso consider the dc coefficient
+ should be at least -4 or lower for encoding at quant=1
-vcelim (0-1000) single coefficient elimination threshold for chrominance
+vcelim (-1000-1000) single coefficient elimination threshold for chrominance
0 disabled (default)
7 (JVT recommendation)
+ negative values will allso consider the dc coefficient
+ should be at least -4 or lower for encoding at quant=1
vstrict strict standard compliance
only recommended if you want to feed the output into the mpeg4 reference
diff --git a/libmpcodecs/ve_lavc.c b/libmpcodecs/ve_lavc.c
index 586a369b86..d3ee8b9e9b 100644
--- a/libmpcodecs/ve_lavc.c
+++ b/libmpcodecs/ve_lavc.c
@@ -92,7 +92,7 @@ struct config lavcopts_conf[]={
{"vb_strategy", &lavc_param_vb_strategy, CONF_TYPE_INT, CONF_RANGE, 0, 1, NULL},
#ifdef CODEC_FLAG_PART
{"vb_qoffset", &lavc_param_vb_qoffset, CONF_TYPE_FLOAT, CONF_RANGE, 0.0, 31.0, NULL},
- {"vlelim", &lavc_param_luma_elim_threshold, CONF_TYPE_INT, CONF_RANGE, 0, 99, NULL},
+ {"vlelim", &lavc_param_luma_elim_threshold, CONF_TYPE_INT, CONF_RANGE, -99, 99, NULL},
{"vcelim", &lavc_param_chroma_elim_threshold, CONF_TYPE_INT, CONF_RANGE, -99, 99, NULL},
{"vpsize", &lavc_param_packet_size, CONF_TYPE_INT, CONF_RANGE, 0, 100000000, NULL},
{"vstrict", &lavc_param_strict, CONF_TYPE_FLAG, 0, 0, 1, NULL},