Revision e8600e5e libavcodec/i386/dsputil_mmx.c

View differences:

libavcodec/i386/dsputil_mmx.c
2569 2569
extern void ff_snow_horizontal_compose97i_mmx(DWTELEM *b, int width);
2570 2570
extern void ff_snow_vertical_compose97i_sse2(DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, DWTELEM *b3, DWTELEM *b4, DWTELEM *b5, int width);
2571 2571
extern void ff_snow_vertical_compose97i_mmx(DWTELEM *b0, DWTELEM *b1, DWTELEM *b2, DWTELEM *b3, DWTELEM *b4, DWTELEM *b5, int width);
2572
extern void ff_snow_inner_add_yblock_sse2(uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
2573
                           int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
2574
extern void ff_snow_inner_add_yblock_mmx(uint8_t *obmc, const int obmc_stride, uint8_t * * block, int b_w, int b_h,
2575
                          int src_x, int src_y, int src_stride, slice_buffer * sb, int add, uint8_t * dst8);
2572 2576
#endif
2573 2577

  
2574 2578
void dsputil_init_mmx(DSPContext* c, AVCodecContext *avctx)
......
2962 2966
        if(mm_flags & MM_SSE2){
2963 2967
            c->horizontal_compose97i = ff_snow_horizontal_compose97i_sse2;
2964 2968
            c->vertical_compose97i = ff_snow_vertical_compose97i_sse2;
2969
            c->inner_add_yblock = ff_snow_inner_add_yblock_sse2;
2965 2970
        }
2966 2971
        else{
2967 2972
            c->horizontal_compose97i = ff_snow_horizontal_compose97i_mmx;
2968 2973
            c->vertical_compose97i = ff_snow_vertical_compose97i_mmx;
2974
            c->inner_add_yblock = ff_snow_inner_add_yblock_mmx;
2969 2975
        }
2970 2976
#endif
2971 2977
    }

Also available in: Unified diff