Revision 827d43bb libavcodec/x86/vp8dsp.asm

View differences:

libavcodec/x86/vp8dsp.asm
1186 1186
    SWAP %1, %4, %3
1187 1187
%endmacro
1188 1188

  
1189
INIT_MMX
1190
cglobal vp8_luma_dc_wht_mmx, 2,3
1189
%macro VP8_DC_WHT 1
1190
cglobal vp8_luma_dc_wht_%1, 2,3
1191 1191
    movq          m0, [r1]
1192 1192
    movq          m1, [r1+8]
1193 1193
    movq          m2, [r1+16]
1194 1194
    movq          m3, [r1+24]
1195
%ifidn %1, sse
1196
    xorps      xmm0, xmm0
1197
    movaps  [r1+ 0], xmm0
1198
    movaps  [r1+16], xmm0
1199
%else
1200
    pxor         m4, m4
1201
    movq    [r1+ 0], m4
1202
    movq    [r1+ 8], m4
1203
    movq    [r1+16], m4
1204
    movq    [r1+24], m4
1205
%endif
1195 1206
    HADAMARD4_1D  0, 1, 2, 3
1196 1207
    TRANSPOSE4x4W 0, 1, 2, 3, 4
1197 1208
    paddw         m0, [pw_3]
......
1203 1214
    SCATTER_WHT   0, 1, 0
1204 1215
    SCATTER_WHT   2, 3, 2
1205 1216
    RET
1217
%endmacro
1218

  
1219
INIT_MMX
1220
VP8_DC_WHT mmx
1221
VP8_DC_WHT sse
1206 1222

  
1207 1223
;-----------------------------------------------------------------------------
1208 1224
; void vp8_h/v_loop_filter_simple_<opt>(uint8_t *dst, int stride, int flim);

Also available in: Unified diff