[x264-devel] x86 asm cosmetics
Daniel Kang
git at videolan.org
Sat Jul 30 05:54:45 CEST 2011
x264 | branch: master | Daniel Kang <daniel.d.kang at gmail.com> | Tue Jul 26 21:57:39 2011 -0400| [45b6e459debd4644b0863511fd0c8f55549bc9d7] | committer: Jason Garrett-Glaser
x86 asm cosmetics
Use FDEC_STRIDEB where appropriate.
> http://git.videolan.org/gitweb.cgi/x264.git/?a=commit;h=45b6e459debd4644b0863511fd0c8f55549bc9d7
---
common/x86/dct-a.asm | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/common/x86/dct-a.asm b/common/x86/dct-a.asm
index b1e4733..c21d275 100644
--- a/common/x86/dct-a.asm
+++ b/common/x86/dct-a.asm
@@ -260,7 +260,7 @@ SUB_DCT4 ssse3
%macro ADD4x4_IDCT 1
cglobal add4x4_idct_%1, 2,2,6
- add r0, 4*FDEC_STRIDE
+ add r0, 2*FDEC_STRIDEB
.skip_prologue:
mova m1, [r1+16]
mova m3, [r1+48]
@@ -271,8 +271,8 @@ cglobal add4x4_idct_%1, 2,2,6
paddd m0, [pd_32]
IDCT4_1D d,0,1,2,3,4,5
pxor m5, m5
- STORE_DIFFx2 m0, m1, m4, m5, [r0-4*FDEC_STRIDE], [r0-2*FDEC_STRIDE]
- STORE_DIFFx2 m2, m3, m4, m5, [r0+0*FDEC_STRIDE], [r0+2*FDEC_STRIDE]
+ STORE_DIFFx2 m0, m1, m4, m5, [r0-2*FDEC_STRIDEB], [r0-1*FDEC_STRIDEB]
+ STORE_DIFFx2 m2, m3, m4, m5, [r0+0*FDEC_STRIDEB], [r0+1*FDEC_STRIDEB]
RET
%endmacro
More information about the x264-devel
mailing list