[Libva] [PATCH 3/6] fix a mistake in PA_Load_8x8.asm

Zhao halley halley.zhao at intel.com
Wed May 30 02:18:22 PDT 2012


---
 .../post_processing/gen5_6/Common/PA_Load_8x8.asm  |    2 +-
 .../gen5_6/pa_load_save_nv12.g4b.gen5              |    2 +-
 .../post_processing/gen5_6/pa_load_save_nv12.g6b   |    2 +-
 .../gen5_6/pa_load_save_pl3.g4b.gen5               |    2 +-
 .../post_processing/gen5_6/pa_load_save_pl3.g6b    |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)
 mode change 100644 => 100755 src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm

diff --git a/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm b/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm
old mode 100644
new mode 100755
index 3569bd1..227d863
--- a/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm
+++ b/src/shaders/post_processing/gen5_6/Common/PA_Load_8x8.asm
@@ -17,7 +17,7 @@
 //  Load 16x8 packed data block
 //  Packed data block should be loaded as 32x8 pixel block
     add  (2) rMSGSRC.0<1>:d     wORIX<2;2,1>:w    wSRC_H_ORI_OFFSET<2;2,1>:w       // Source Block origin
-    shl  (1) rMSGSRC.0<1>:d     acc0:w            1:w                              // H. block origin need to be doubled
+    shl  (1) rMSGSRC.0<1>:d     rMSGSRC.0<1,1,1>:w            1:w                  // H. block origin need to be doubled
     mov  (1) rMSGSRC.2<1>:ud    nDPR_BLOCK_SIZE_YUV:ud                             // Block width and height (32x8)
     mov  (8) mMSGHDRY<1>:ud     rMSGSRC<8;8,1>:ud
     send (8) udSRC_YUV(0)<1>    mMSGHDRY    udDUMMY_NULL    nDATAPORT_READ    nDPMR_MSGDSC+nDPR_MSG_SIZE_YUV+nBI_CURRENT_SRC_YUV:ud
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5 b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5
index cc5d38d..a3bdb33 100644
--- a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g4b.gen5
@@ -5,7 +5,7 @@
    { 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
    { 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
    { 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
-   { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+   { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
    { 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
    { 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
    { 0x01600031, 0x27000c01, 0x408d0000, 0x0288a001 },
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b
index cf9de3b..58638ec 100644
--- a/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_nv12.g6b
@@ -78,7 +78,7 @@
    { 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
    { 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
    { 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
-   { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+   { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
    { 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
    { 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
    { 0x04600031, 0x27000cc1, 0x00000020, 0x02898001 },
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5 b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5
index 6269fa6..2a559a8 100755
--- a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g4b.gen5
@@ -5,7 +5,7 @@
    { 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
    { 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
    { 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
-   { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+   { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
    { 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
    { 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
    { 0x01600031, 0x27000c01, 0x408d0000, 0x0288a001 },
diff --git a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b
index 975ff29..9913d61 100755
--- a/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b
+++ b/src/shaders/post_processing/gen5_6/pa_load_save_pl3.g6b
@@ -78,7 +78,7 @@
    { 0x00200001, 0x209403bd, 0x006600a4, 0x00000000 },
    { 0x00000040, 0x208435ad, 0x00000084, 0x000000a0 },
    { 0x00200040, 0x210035a5, 0x004500a0, 0x00450074 },
-   { 0x00000009, 0x21003d85, 0x00210400, 0x00010001 },
+   { 0x00000009, 0x21003da5, 0x00210100, 0x00010001 },
    { 0x00000001, 0x21080061, 0x00000000, 0x0007001f },
    { 0x00600001, 0x20200022, 0x008d0100, 0x00000000 },
    { 0x04600031, 0x27000cc1, 0x00000020, 0x02898001 },
-- 
1.7.5.4



More information about the Libva mailing list