Revision b1159ad9 libavcodec/x86/dsputil_mmx.c

View differences:

libavcodec/x86/dsputil_mmx.c
2384 2384
void ff_float_to_int16_interleave6_sse(int16_t *dst, const float **src, int len);
2385 2385
void ff_float_to_int16_interleave6_3dnow(int16_t *dst, const float **src, int len);
2386 2386
void ff_float_to_int16_interleave6_3dn2(int16_t *dst, const float **src, int len);
2387
void ff_add_int16_mmx2(int16_t * v1, int16_t * v2, int order);
2388
void ff_add_int16_sse2(int16_t * v1, int16_t * v2, int order);
2389
void ff_sub_int16_mmx2(int16_t * v1, int16_t * v2, int order);
2390
void ff_sub_int16_sse2(int16_t * v1, int16_t * v2, int order);
2391
int32_t ff_scalarproduct_int16_mmx2(int16_t * v1, int16_t * v2, int order, int shift);
2392
int32_t ff_scalarproduct_int16_sse2(int16_t * v1, int16_t * v2, int order, int shift);
2387
int32_t ff_scalarproduct_int16_mmx2(int16_t *v1, int16_t *v2, int order, int shift);
2388
int32_t ff_scalarproduct_int16_sse2(int16_t *v1, int16_t *v2, int order, int shift);
2389
int32_t ff_scalarproduct_and_madd_int16_mmx2(int16_t *v1, int16_t *v2, int16_t *v3, int order, int mul);
2390
int32_t ff_scalarproduct_and_madd_int16_sse2(int16_t *v1, int16_t *v2, int16_t *v3, int order, int mul);
2391
int32_t ff_scalarproduct_and_madd_int16_ssse3(int16_t *v1, int16_t *v2, int16_t *v3, int order, int mul);
2393 2392
void ff_add_hfyu_median_prediction_mmx2(uint8_t *dst, const uint8_t *top, const uint8_t *diff, int w, int *left, int *left_top);
2394 2393
int  ff_add_hfyu_left_prediction_ssse3(uint8_t *dst, const uint8_t *src, int w, int left);
2395 2394
int  ff_add_hfyu_left_prediction_sse4(uint8_t *dst, const uint8_t *src, int w, int left);
......
2951 2950
        }
2952 2951
        if(mm_flags & FF_MM_MMX2){
2953 2952
#if HAVE_YASM
2954
            c->add_int16 = ff_add_int16_mmx2;
2955
            c->sub_int16 = ff_sub_int16_mmx2;
2956 2953
            c->scalarproduct_int16 = ff_scalarproduct_int16_mmx2;
2954
            c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_mmx2;
2957 2955
#endif
2958 2956
        }
2959 2957
        if(mm_flags & FF_MM_SSE){
......
2975 2973
            c->float_to_int16 = float_to_int16_sse2;
2976 2974
            c->float_to_int16_interleave = float_to_int16_interleave_sse2;
2977 2975
#if HAVE_YASM
2978
            c->add_int16 = ff_add_int16_sse2;
2979
            c->sub_int16 = ff_sub_int16_sse2;
2980 2976
            c->scalarproduct_int16 = ff_scalarproduct_int16_sse2;
2977
            c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_sse2;
2981 2978
#endif
2982 2979
        }
2980
        if((mm_flags & FF_MM_SSSE3) && !(mm_flags & (FF_MM_SSE42|FF_MM_3DNOW)) && HAVE_YASM) // cachesplit
2981
            c->scalarproduct_and_madd_int16 = ff_scalarproduct_and_madd_int16_ssse3;
2983 2982
    }
2984 2983

  
2985 2984
    if (CONFIG_ENCODERS)

Also available in: Unified diff