diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2013-11-04 09:43:23 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-02-27 10:22:45 +0800 |
commit | 76629022f44ff15c546bcdc01e0884bff04cd8d7 (patch) | |
tree | 9f2d2eb8afc7b3e31d59d3a8a8ca5ebadc7c06d0 /src/shaders | |
parent | 051b66864974596c509c5cdca34ea9fa17dc7ae7 (diff) | |
download | libva-intel-driver-76629022f44ff15c546bcdc01e0884bff04cd8d7.tar.gz libva-intel-driver-76629022f44ff15c546bcdc01e0884bff04cd8d7.tar.bz2 libva-intel-driver-76629022f44ff15c546bcdc01e0884bff04cd8d7.zip |
Fix one error of VME shader for MPEG2 encoding on BDW
Otherwise the MPEG2 encoding will use the incorrect prediction result for the
macroblocks in the first row if the MVP is used
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/shaders')
-rw-r--r-- | src/shaders/vme/mpeg2_inter_gen8.asm | 2 | ||||
-rw-r--r-- | src/shaders/vme/mpeg2_inter_gen8.g8b | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/shaders/vme/mpeg2_inter_gen8.asm b/src/shaders/vme/mpeg2_inter_gen8.asm index d7cb52d..6dd8599 100644 --- a/src/shaders/vme/mpeg2_inter_gen8.asm +++ b/src/shaders/vme/mpeg2_inter_gen8.asm @@ -294,7 +294,7 @@ mb_mvp_start: add (1) tmp_reg0.0<1>:d mbb_result.0<0,1,0>:d mbc_result.0<0,1,0>:d {align1}; cmp.z.f0.0 (1) null:d tmp_reg0.0<0,1,0>:d 0:d {align1}; (-f0.0) jmpi (1) mb_median_start; -cmp.nz.f0.0 (1) null:d mba_result.0<0,1,0>:d 1:d {align1}; +cmp.nz.f0.0 (1) null:d mba_result.0<0,1,0>:d 0:d {align1}; (f0.0) mov (1) mbb_result.4<1>:ud mba_result.4<0,1,0>:ud {align1}; (f0.0) mov (1) mbc_result.4<1>:ud mba_result.4<0,1,0>:ud {align1}; (f0.0) mov (1) mbb_result.20<1>:uw mba_result.20<0,1,0>:uw {align1}; diff --git a/src/shaders/vme/mpeg2_inter_gen8.g8b b/src/shaders/vme/mpeg2_inter_gen8.g8b index 7cee07e..6686c9f 100644 --- a/src/shaders/vme/mpeg2_inter_gen8.g8b +++ b/src/shaders/vme/mpeg2_inter_gen8.g8b @@ -98,7 +98,7 @@ { 0x00000040, 0x24000a28, 0x0a000b00, 0x00000b20 }, { 0x01000010, 0x20000a20, 0x0e000400, 0x00000000 }, { 0x00110020, 0x34000000, 0x0e001400, 0x00000080 }, - { 0x02000010, 0x20000a20, 0x0e000ae0, 0x00000001 }, + { 0x02000010, 0x20000a20, 0x0e000ae0, 0x00000000 }, { 0x00010001, 0x2b040208, 0x00000ae4, 0x00000000 }, { 0x00010001, 0x2b240208, 0x00000ae4, 0x00000000 }, { 0x00010001, 0x2b141248, 0x00000af4, 0x00000000 }, |