From: Xiang, Haihao Date: Thu, 17 Nov 2011 02:47:45 +0000 (+0800) Subject: Fixed surface height for DN/DI X-Git-Tag: android-x86-7.1-r1~1550 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=16ed24be2351e5a9007377fc223555c05c5a9046;p=android-x86%2Fhardware-intel-common-vaapi.git Fixed surface height for DN/DI Signed-off-by: Xiang, Haihao --- diff --git a/src/i965_post_processing.c b/src/i965_post_processing.c index b667780..4a9aa89 100644 --- a/src/i965_post_processing.c +++ b/src/i965_post_processing.c @@ -2029,7 +2029,7 @@ pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_contex /* source YUV surface index 4 */ i965_pp_set_surface2_state(ctx, pp_context, obj_surface->bo, 0, - orig_w, orig_w, w, + orig_w, orig_h, w, 0, h, SURFACE_FORMAT_PLANAR_420_8, 1, 4); @@ -2235,7 +2235,7 @@ pp_nv12_dn_initialize(VADriverContextP ctx, struct i965_post_processing_context /* source YUV surface index 4 */ i965_pp_set_surface2_state(ctx, pp_context, obj_surface->bo, 0, - orig_w, orig_w, w, + orig_w, orig_h, w, 0, h, SURFACE_FORMAT_PLANAR_420_8, 1, 4); @@ -2424,7 +2424,7 @@ gen7_pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_c /* source YUV surface index 3 */ gen7_pp_set_surface2_state(ctx, pp_context, obj_surface->bo, 0, - orig_w, orig_w, w, + orig_w, orig_h, w, 0, h, SURFACE_FORMAT_PLANAR_420_8, 1, 3); @@ -2432,7 +2432,7 @@ gen7_pp_nv12_dndi_initialize(VADriverContextP ctx, struct i965_post_processing_c /* source (temporal reference) YUV surface index 4 */ gen7_pp_set_surface2_state(ctx, pp_context, obj_surface->bo, 0, - orig_w, orig_w, w, + orig_w, orig_h, w, 0, h, SURFACE_FORMAT_PLANAR_420_8, 1, 4); @@ -2669,7 +2669,7 @@ gen7_pp_nv12_dn_initialize(VADriverContextP ctx, struct i965_post_processing_con /* source YUV surface index 3 */ gen7_pp_set_surface2_state(ctx, pp_context, obj_surface->bo, 0, - orig_w, orig_w, w, + orig_w, orig_h, w, 0, h, SURFACE_FORMAT_PLANAR_420_8, 1, 3);