From 48b03c4a629205940355bc91c5c69378433b7711 Mon Sep 17 00:00:00 2001 From: "Xiang, Haihao" Date: Thu, 21 Apr 2011 12:53:39 +0800 Subject: [PATCH] i965_drv_video/encode: fix neighbor pixel luma value in VME message Signed-off-by: Xiang, Haihao --- i965_drv_video/gen6_vme.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/i965_drv_video/gen6_vme.c b/i965_drv_video/gen6_vme.c index 9e95559..145e3a5 100644 --- a/i965_drv_video/gen6_vme.c +++ b/i965_drv_video/gen6_vme.c @@ -556,7 +556,7 @@ static int gen6_vme_media_object_intra(VADriverContextP ctx, | (pPixel[10][0] << 8) | (pPixel[9][0] ) )); /*M3.2 */ - OUT_BATCH(ctx, ( (pPixel[0][0] << 24) + OUT_BATCH(ctx, ( (pPixel[16][0] << 24) | (pPixel[15][0] << 16) | (pPixel[14][0] << 8) | (pPixel[13][0] ) )); /*M3.3 */ @@ -689,7 +689,7 @@ static int gen6_vme_media_object_inter(VADriverContextP ctx, | (pPixel[10][0] << 8) | (pPixel[9][0] ) )); /*M3.2 */ - OUT_BATCH(ctx, ( (pPixel[0][0] << 24) + OUT_BATCH(ctx, ( (pPixel[16][0] << 24) | (pPixel[15][0] << 16) | (pPixel[14][0] << 8) | (pPixel[13][0] ) )); /*M3.3 */ -- 2.7.4