summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZhao, Yakui <yakui.zhao@intel.com>2014-06-09 12:08:13 +0800
committerXiang, Haihao <haihao.xiang@intel.com>2014-06-09 16:17:36 +0800
commit5e89ef46609d590f2807ef26f39eb532cb948134 (patch)
tree4c8fca9d635ac16f9903f9f0100219f9d24cc678
parent364d9b1968f905573bd6ae0e27d43ccdaedea4d5 (diff)
downloadlibva-intel-driver-5e89ef46609d590f2807ef26f39eb532cb948134.tar.gz
libva-intel-driver-5e89ef46609d590f2807ef26f39eb532cb948134.tar.bz2
libva-intel-driver-5e89ef46609d590f2807ef26f39eb532cb948134.zip
Encoding: Fix one type error in intra-prediction shader on BDW
Otherwise it will cause the incorrect intra-prediction for encoding on Broadwell. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com> (cherry picked from commit 20bee4c3cb478702155df1779f24ec483aeab059)
-rw-r--r--src/shaders/vme/intra_frame_gen8.asm2
-rw-r--r--src/shaders/vme/intra_frame_gen8.g8b2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shaders/vme/intra_frame_gen8.asm b/src/shaders/vme/intra_frame_gen8.asm
index 41cdb3a..682d146 100644
--- a/src/shaders/vme/intra_frame_gen8.asm
+++ b/src/shaders/vme/intra_frame_gen8.asm
@@ -127,7 +127,7 @@ mov (8) vme_msg_1<1>:UD vme_m1.0<8,8,1>:UD {align1};
/* m0 */
/* 16x16 Source, Intra_harr */
add (1) vme_m0.12<1>:UD vme_m0.12<0,1,0>:ud INTRA_SAD_HAAR:UD {align1};
-mov (8) vme_msg_1<1>:UD vme_m1.0<8,8,1>:UD {align1};
+mov (8) vme_msg_0<1>:UD vme_m0.0<8,8,1>:UD {align1};
/* after verification it will be passed by using payload */
send (8)
diff --git a/src/shaders/vme/intra_frame_gen8.g8b b/src/shaders/vme/intra_frame_gen8.g8b
index 43c904a..56c7283 100644
--- a/src/shaders/vme/intra_frame_gen8.g8b
+++ b/src/shaders/vme/intra_frame_gen8.g8b
@@ -56,7 +56,7 @@
{ 0x00000001, 0x247e2288, 0x00000400, 0x00000000 },
{ 0x00600001, 0x28200208, 0x008d0460, 0x00000000 },
{ 0x00000040, 0x244c0208, 0x0600044c, 0x00800000 },
- { 0x00600001, 0x28200208, 0x008d0460, 0x00000000 },
+ { 0x00600001, 0x28000208, 0x008d0440, 0x00000000 },
{ 0x0d600031, 0x21800a08, 0x0e000800, 0x10782000 },
{ 0x00600001, 0x28000208, 0x008d0480, 0x00000000 },
{ 0x00000001, 0x28200208, 0x00000180, 0x00000000 },