From f59eff566e2ad082c113b87163abca903e4d3f1d Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Tue, 20 Mar 2012 09:09:46 +0800 Subject: [PATCH] Fix the mapping of filter Signed-off-by: Xiang, Haihao --- src/i965_post_processing.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c index e4fa880..012ba25 100644 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -3872,17 +3872,13 @@ i965_post_processing_init(VADriverContextP ctx) return True; } -static const int procfilter_to_pp_flag[10] = { +static const int procfilter_to_pp_flag[VAProcFilterCount] = { PP_NULL, /* VAProcFilterNone */ - PP_NULL, /* VAProcFilterDering */ - PP_NULL, /* VAProcFilterDeblocking */ PP_NV12_DN, /* VAProcFilterNoiseReduction */ PP_NV12_DNDI, /* VAProcFilterDeinterlacing */ PP_NULL, /* VAProcFilterSharpening */ - PP_NULL, /* VAProcFilterColorEnhancement */ - PP_NULL, /* VAProcFilterProcAmp */ - PP_NULL, /* VAProcFilterComposition */ - PP_NULL, /* VAProcFilterFrameRateConversion */ + PP_NULL, /* VAProcFilterColorBalance */ + PP_NULL, /* VAProcFilterColorStandard */ }; static const int proc_frame_to_pp_frame[3] = { -- 2.7.4