[Libva] [PATCH-v2] FIX:this patch fix the green line on output pic when do scaling on SKL. we follow the rule from the setting of user.

Qu,Pengfei Pengfei.Qu at intel.com
Mon Sep 28 20:29:30 PDT 2015


v2:follow Haihao's comments and mast the user's setting for scaling
Signed-off-by: Qu,Pengfei <Pengfei.Qu at intel.com>
---
 src/i965_post_processing.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c
index a1c0e4d..849fbe1 100755
--- a/src/i965_post_processing.c
+++ b/src/i965_post_processing.c
@@ -5966,7 +5966,7 @@ i965_proc_picture(VADriverContextP ctx,
         intel_batchbuffer_flush(hw_context->batch);
 
         saved_filter_flag = i965pp_context->filter_flags;
-        i965pp_context->filter_flags = VA_FILTER_SCALING_HQ;
+        i965pp_context->filter_flags = (pipeline_param->filter_flags&VA_FILTER_SCALING_MASK);
 
         dst_surface.base = (struct object_base *)obj_surface;
         dst_surface.type = I965_SURFACE_TYPE_SURFACE;
-- 
1.9.1



More information about the Libva mailing list