Revision f2a30bd8 libavcodec/x86/vp8dsp-init.c

View differences:

libavcodec/x86/vp8dsp-init.c
222 222
extern void ff_vp8_idct_dc_add_sse4(uint8_t *dst, DCTELEM block[16], int stride);
223 223
extern void ff_vp8_luma_dc_wht_mmxext(DCTELEM block[4][4][16], DCTELEM dc[16]);
224 224
extern void ff_vp8_idct_add_mmx(uint8_t *dst, DCTELEM block[16], int stride);
225

  
226
extern void ff_vp8_v_loop_filter_simple_mmx   (uint8_t *dst, int stride, int flim);
227
extern void ff_vp8_v_loop_filter_simple_mmxext(uint8_t *dst, int stride, int flim);
228
extern void ff_vp8_v_loop_filter_simple_sse2  (uint8_t *dst, int stride, int flim);
229
extern void ff_vp8_h_loop_filter_simple_mmx   (uint8_t *dst, int stride, int flim);
230
extern void ff_vp8_h_loop_filter_simple_mmxext(uint8_t *dst, int stride, int flim);
231
extern void ff_vp8_h_loop_filter_simple_sse2  (uint8_t *dst, int stride, int flim);
225 232
#endif
226 233

  
227 234
#define VP8_LUMA_MC_FUNC(IDX, SIZE, OPT) \
......
260 267
        c->put_vp8_bilinear_pixels_tab[0][0][0] = ff_put_vp8_pixels16_mmx;
261 268
        c->put_vp8_epel_pixels_tab[1][0][0]     =
262 269
        c->put_vp8_bilinear_pixels_tab[1][0][0] = ff_put_vp8_pixels8_mmx;
270

  
271
        c->vp8_v_loop_filter_simple = ff_vp8_v_loop_filter_simple_mmx;
272
        c->vp8_h_loop_filter_simple = ff_vp8_h_loop_filter_simple_mmx;
263 273
    }
264 274

  
265 275
    /* note that 4-tap width=16 functions are missing because w=16
......
272 282
        VP8_BILINEAR_MC_FUNC(0, 16, mmxext);
273 283
        VP8_BILINEAR_MC_FUNC(1, 8, mmxext);
274 284
        VP8_BILINEAR_MC_FUNC(2, 4, mmxext);
285

  
286
        c->vp8_v_loop_filter_simple = ff_vp8_v_loop_filter_simple_mmxext;
287
        c->vp8_h_loop_filter_simple = ff_vp8_h_loop_filter_simple_mmxext;
275 288
    }
276 289

  
277 290
    if (mm_flags & FF_MM_SSE) {
......
284 297
        VP8_MC_FUNC(1, 8, sse2);
285 298
        VP8_BILINEAR_MC_FUNC(0, 16, sse2);
286 299
        VP8_BILINEAR_MC_FUNC(1, 8, sse2);
300

  
301
        c->vp8_v_loop_filter_simple = ff_vp8_v_loop_filter_simple_sse2;
302
        c->vp8_h_loop_filter_simple = ff_vp8_h_loop_filter_simple_sse2;
287 303
    }
288 304

  
289 305
    if (mm_flags & FF_MM_SSSE3) {

Also available in: Unified diff