summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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},