From 6fdd7654a815ee4a1192fed77dc216db3ea6dd9b Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Wed, 1 Feb 2012 14:22:56 +0800 Subject: [PATCH] Fix the base offset of cr(V) surface Signed-off-by: Xiang, Haihao --- 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 a4a50e9..d3efe78 100644 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -1212,7 +1212,7 @@ gen7_pp_set_media_rw_message_surface(VADriverContextP ctx, struct i965_post_proc SURFACE_FORMAT_R8_UNORM, 0, base_index + 1); gen7_pp_set_surface2_state(ctx, pp_context, - bo, offset[1], + bo, offset[2], width[2], height[2], pitch[2], 0, 0, SURFACE_FORMAT_R8_UNORM, 0, -- 2.11.0