summaryrefslogtreecommitdiff
path: root/i965_drv_video
diff options
context:
space:
mode:
authorXiang, Haihao <haihao.xiang@intel.com>2011-04-21 12:53:39 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2011-04-21 13:24:18 +0800
commit48b03c4a629205940355bc91c5c69378433b7711 (patch)
tree4b915b7f15d74efcaa650536857664b040f71ce1 /i965_drv_video
parent172d562acbdc995e3ef70c707776e28ac29b87d3 (diff)
downloadlibva-48b03c4a629205940355bc91c5c69378433b7711.tar.gz
i965_drv_video/encode: fix neighbor pixel luma value in VME message
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
Diffstat (limited to 'i965_drv_video')
-rw-r--r--i965_drv_video/gen6_vme.c4
1 files 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 */