VPP: change the default values for Saturation and Contrast
authorXiang, Haihao <haihao.xiang@intel.com>
Wed, 18 Sep 2013 07:12:55 +0000 (15:12 +0800)
committerXiang, Haihao <haihao.xiang@intel.com>
Wed, 13 Nov 2013 07:34:33 +0000 (15:34 +0800)
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
(cherry picked from commit ce0c8f0019e8545d0db529b0f28338be4b8adc15)

src/i965_drv_video.c

index efe72b4..b1dac63 100755 (executable)
@@ -4689,7 +4689,7 @@ VAStatus i965_QueryVideoProcFilterCaps(
             cap->type = VAProcColorBalanceSaturation;
             cap->range.min_value = 0.0;
             cap->range.max_value = 10.0;
-            cap->range.default_value = 0.0;
+            cap->range.default_value = 1.0;
             cap->range.step = 0.1; 
             i++;
             cap++; 
@@ -4705,7 +4705,7 @@ VAStatus i965_QueryVideoProcFilterCaps(
             cap->type = VAProcColorBalanceContrast;
             cap->range.min_value = 0.0;
             cap->range.max_value = 10.0;
-            cap->range.default_value = 0.0;
+            cap->range.default_value = 1.0;
             cap->range.step = 0.1; 
             i++;
             cap++;