[Libva] [PATCH intel-driver 13/13] vebox: fix denoising when IECP is enabled.

Gwenole Beauchesne gb.devel at gmail.com
Wed Aug 27 04:50:38 PDT 2014


If IECP is enabled, for instance when color conversion is performed
or ProcAmp adjustments are applied, the ultimate denoised output with
additional processing operations applied is the Current Output frame,
not the plain Current Denoised Output frame.

Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne at intel.com>
---
 src/gen75_vpp_vebox.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen75_vpp_vebox.c b/src/gen75_vpp_vebox.c
index f2d64ac..4668e59 100644
--- a/src/gen75_vpp_vebox.c
+++ b/src/gen75_vpp_vebox.c
@@ -1070,7 +1070,7 @@ gen75_vebox_ensure_surfaces(VADriverContextP ctx,
         proc_ctx->surface_output_vebox_object : proc_ctx->surface_output_object;
 
     proc_ctx->current_output_type = 2;
-    if (proc_ctx->filters_mask == VPP_DNDI_DN)
+    if (proc_ctx->filters_mask == VPP_DNDI_DN && !proc_ctx->is_iecp_enabled)
         proc_ctx->current_output = FRAME_OUT_CURRENT_DN;
     else if (proc_ctx->is_di_adv_enabled && !proc_ctx->is_first_frame) {
         proc_ctx->current_output_type = 0;
-- 
1.7.9.5



More information about the Libva mailing list