Revision 5705b020 libavcodec/x86/h264_deblock.asm

View differences:

libavcodec/x86/h264_deblock.asm
106 106
    TRANSPOSE4x8_LOAD bw, wd, dq, %1, %2, %3, %4, %5, %6, %7, %8
107 107
%endmacro
108 108

  
109
%macro TRANSPOSE4x8W_LOAD 8
110
%if mmsize==16
111
    TRANSPOSE4x8_LOAD wd, dq, qdq, %1, %2, %3, %4, %5, %6, %7, %8
112
%else
113
    SWAP  1, 4, 2, 3
114
    mova  m0, [t5]
115
    mova  m1, [t5+r1]
116
    mova  m2, [t5+r1*2]
117
    mova  m3, [t5+t6]
118
    TRANSPOSE4x4W 0, 1, 2, 3, 4
119
%endif
120
%endmacro
121

  
122
%macro TRANSPOSE8x2W_STORE 8
123
    punpckhwd  m0, m1, m2
124
    punpcklwd  m1, m2
125
%if mmsize==8
126
    movd       %3, m0
127
    movd       %1, m1
128
    psrlq      m1, 32
129
    psrlq      m0, 32
130
    movd       %2, m1
131
    movd       %4, m0
132
%else
133
    movd       %5, m0
134
    movd       %1, m1
135
    psrldq     m1, 4
136
    psrldq     m0, 4
137
    movd       %2, m1
138
    movd       %6, m0
139
    psrldq     m1, 4
140
    psrldq     m0, 4
141
    movd       %3, m1
142
    movd       %7, m0
143
    psrldq     m1, 4
144
    psrldq     m0, 4
145
    movd       %4, m1
146
    movd       %8, m0
147
%endif
148
%endmacro
149

  
150 109
%macro SBUTTERFLY3 4
151 110
    punpckh%1  %4, %2, %3
152 111
    punpckl%1  %2, %3

Also available in: Unified diff