diff options
author | Zhao Yakui <yakui.zhao@intel.com> | 2013-08-15 15:18:39 +0800 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2014-02-27 10:22:18 +0800 |
commit | 66c43962d2e0502b4e80382cda2aeff6b589c801 (patch) | |
tree | e8d6af28ffce321e59573c01d26a112e3fb842c1 /src/shaders/vme/mpeg2_inter_gen8.asm | |
parent | 4cbcb1621b4c4d320b3072c6b7989584ab9a3e28 (diff) | |
download | libva-intel-driver-66c43962d2e0502b4e80382cda2aeff6b589c801.tar.gz libva-intel-driver-66c43962d2e0502b4e80382cda2aeff6b589c801.tar.bz2 libva-intel-driver-66c43962d2e0502b4e80382cda2aeff6b589c801.zip |
Add the MVP in GPU shader to optimize mpeg2 encoding on Gen8
Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
Diffstat (limited to 'src/shaders/vme/mpeg2_inter_gen8.asm')
-rw-r--r-- | src/shaders/vme/mpeg2_inter_gen8.asm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/shaders/vme/mpeg2_inter_gen8.asm b/src/shaders/vme/mpeg2_inter_gen8.asm index aea2cc6..ace191e 100644 --- a/src/shaders/vme/mpeg2_inter_gen8.asm +++ b/src/shaders/vme/mpeg2_inter_gen8.asm @@ -334,6 +334,8 @@ mov (1) mb_mvp_ref.2<1>:w RET_ARG<0,1,0>:w {align1}; __mb_hwdep_end: +mov (2) mv_cc_ref.0<1>:w mba_result.4<2,2,1>:w {align1}; + /* Calibrate the ref window for MPEG2 */ mov (1) vme_m0.0<1>:W -16:W {align1}; mov (1) vme_m0.2<1>:W -12:W {align1}; @@ -470,8 +472,8 @@ mov (8) vme_msg_1.0<1>:UD vme_m1.0<8,8,1>:UD {align1}; /* Setup the Cost center */ /* currently four 8x8 share the same cost center */ -mov (4) vme_m3.0<2>:ud 0x0:ud {align1}; -mov (4) vme_m3.4<2>:ud 0x0:ud {align1}; +mov (4) vme_m3.0<2>:ud mv_cc_ref.0<0,1,0>:ud {align1}; +mov (4) vme_m3.4<2>:ud mv_cc_ref.0<0,1,0>:ud {align1}; mov (8) vme_msg_3<1>:UD vme_m3.0<8,8,1>:UD {align1}; mov (8) vme_msg_2<1>:UD vme_m2.0<8,8,1>:UD {align1}; |