[Libva] [libva][PATCH v3 4/6] VPP: Adjust the parameter settings to DI on GEN6/GEN7

Xiang, Haihao haihao.xiang at intel.com
Thu May 7 18:04:22 PDT 2015


From: "Xiang, Haihao" <haihao.xiang at intel.com>

Signed-off-by: Xiang, Haihao <haihao.xiang at intel.com>
---
 src/i965_post_processing.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c
index fdc9ff2..e0f4f34 100755
--- a/src/i965_post_processing.c
+++ b/src/i965_post_processing.c
@@ -3457,7 +3457,7 @@ pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_contex
     sampler_dndi[index].dw4.sdi_threshold = 100;
     sampler_dndi[index].dw4.stmm_output_shift = 5;                      // stmm_max - stmm_min = 2 ^ stmm_output_shift
     sampler_dndi[index].dw4.stmm_shift_up = 1;
-    sampler_dndi[index].dw4.stmm_shift_down = 0;
+    sampler_dndi[index].dw4.stmm_shift_down = 3;
     sampler_dndi[index].dw4.minimum_stmm = 118;
 
     sampler_dndi[index].dw5.fmd_temporal_difference_threshold = 175;
@@ -3871,7 +3871,7 @@ gen7_pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_c
     sampler_dndi[index].dw4.sdi_threshold = 100;
     sampler_dndi[index].dw4.stmm_output_shift = 5;                      // stmm_max - stmm_min = 2 ^ stmm_output_shift
     sampler_dndi[index].dw4.stmm_shift_up = 1;
-    sampler_dndi[index].dw4.stmm_shift_down = 0;
+    sampler_dndi[index].dw4.stmm_shift_down = 3;
     sampler_dndi[index].dw4.minimum_stmm = 118;
 
     sampler_dndi[index].dw5.fmd_temporal_difference_threshold = 175;
-- 
1.7.9.5



More information about the Libva mailing list