changeset 7039:2eae7ac0fa8b

same behavior for luma & chroma single coeff elimination
author michael
date Sun, 18 Aug 2002 01:07:37 +0000
parents bfb03691fb4b
children 94a56b859b04
files DOCS/tech/libavc-options.txt libmpcodecs/ve_lavc.c
diffstat 2 files changed, 8 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/DOCS/tech/libavc-options.txt	Sat Aug 17 20:48:23 2002 +0000
+++ b/DOCS/tech/libavc-options.txt	Sun Aug 18 01:07:37 2002 +0000
@@ -104,13 +104,17 @@
 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
--- a/libmpcodecs/ve_lavc.c	Sat Aug 17 20:48:23 2002 +0000
+++ b/libmpcodecs/ve_lavc.c	Sun Aug 18 01:07:37 2002 +0000
@@ -92,7 +92,7 @@
 	{"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},