[x264-devel] commit: Trim a few bytes off some x86 intra pred functions ( Jason Garrett-Glaser )
git at videolan.org
git at videolan.org
Sun Oct 10 23:47:36 CEST 2010
x264 | branch: master | Jason Garrett-Glaser <darkshikari at gmail.com> | Wed Sep 29 18:56:27 2010 -0600| [0a5cc5ecd2e9cb21ada03b9af51fc5e727e4de5f] | committer: Jason Garrett-Glaser
Trim a few bytes off some x86 intra pred functions
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=0a5cc5ecd2e9cb21ada03b9af51fc5e727e4de5f
---
common/x86/predict-a.asm | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/common/x86/predict-a.asm b/common/x86/predict-a.asm
index 344534d..a05e91b 100644
--- a/common/x86/predict-a.asm
+++ b/common/x86/predict-a.asm
@@ -443,6 +443,7 @@ cglobal predict_8x8_v_mmxext, 2,2
INIT_MMX
cglobal predict_8x8_h_mmxext, 2,2
movu m3, [r1+7]
+ add r0, FDEC_STRIDE*4
mova m7, m3
punpckhbw m3, m3
punpcklbw m7, m7
@@ -456,7 +457,7 @@ cglobal predict_8x8_h_mmxext, 2,2
pshufw m7, m7, 0x00
%assign n 0
%rep 8
- mova [r0+n*FDEC_STRIDE], m %+ n
+ mova [r0+(n-4)*FDEC_STRIDE], m %+ n
%assign n n+1
%endrep
RET
@@ -988,7 +989,8 @@ cglobal predict_8x8c_h_%1, 1,1
%ifidn %1, ssse3
mova m1, [pb_3]
%endif
-%assign n 0
+ add r0, FDEC_STRIDE*4
+%assign n -4
%rep 8
SPLATB m0, r0+FDEC_STRIDE*n-1, m1
mova [r0+FDEC_STRIDE*n], m0
More information about the x264-devel
mailing list