Mercurial > libavcodec.hg
comparison x86/dsputil_mmx.c @ 10645:6f958f237d7d libavcodec
r20739 broke compilation on systems without yasm
author | lorenm |
---|---|
date | Sat, 05 Dec 2009 17:51:57 +0000 |
parents | 5da7180afadf |
children | 5cca4b6c459d |
comparison
equal
deleted
inserted
replaced
10644:5da7180afadf | 10645:6f958f237d7d |
---|---|
2378 " js 1b \n\t" | 2378 " js 1b \n\t" |
2379 :"+r"(reglen), "+r"(dst), "+r"(src) | 2379 :"+r"(reglen), "+r"(dst), "+r"(src) |
2380 ); | 2380 ); |
2381 } | 2381 } |
2382 | 2382 |
2383 #if HAVE_YASM | |
2384 void ff_float_to_int16_interleave6_sse(int16_t *dst, const float **src, int len); | 2383 void ff_float_to_int16_interleave6_sse(int16_t *dst, const float **src, int len); |
2385 void ff_float_to_int16_interleave6_3dnow(int16_t *dst, const float **src, int len); | 2384 void ff_float_to_int16_interleave6_3dnow(int16_t *dst, const float **src, int len); |
2386 void ff_float_to_int16_interleave6_3dn2(int16_t *dst, const float **src, int len); | 2385 void ff_float_to_int16_interleave6_3dn2(int16_t *dst, const float **src, int len); |
2387 int32_t ff_scalarproduct_int16_mmx2(int16_t *v1, int16_t *v2, int order, int shift); | 2386 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); | 2387 int32_t ff_scalarproduct_int16_sse2(int16_t *v1, int16_t *v2, int order, int shift); |
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); | 2391 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); |
2393 int ff_add_hfyu_left_prediction_ssse3(uint8_t *dst, const uint8_t *src, int w, int left); | 2392 int ff_add_hfyu_left_prediction_ssse3(uint8_t *dst, const uint8_t *src, int w, int left); |
2394 int ff_add_hfyu_left_prediction_sse4(uint8_t *dst, const uint8_t *src, int w, int left); | 2393 int ff_add_hfyu_left_prediction_sse4(uint8_t *dst, const uint8_t *src, int w, int left); |
2395 void ff_x264_deblock_v_luma_sse2(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0); | 2394 void ff_x264_deblock_v_luma_sse2(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0); |
2396 void ff_x264_deblock_h_luma_sse2(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0); | 2395 void ff_x264_deblock_h_luma_sse2(uint8_t *pix, int stride, int alpha, int beta, int8_t *tc0); |
2396 void ff_x264_deblock_h_luma_intra_mmxext(uint8_t *pix, int stride, int alpha, int beta); | |
2397 void ff_x264_deblock_v_luma_intra_sse2(uint8_t *pix, int stride, int alpha, int beta); | |
2398 void ff_x264_deblock_h_luma_intra_sse2(uint8_t *pix, int stride, int alpha, int beta); | |
2399 | |
2400 #if HAVE_YASM && ARCH_X86_32 | |
2397 void ff_x264_deblock_v8_luma_intra_mmxext(uint8_t *pix, int stride, int alpha, int beta); | 2401 void ff_x264_deblock_v8_luma_intra_mmxext(uint8_t *pix, int stride, int alpha, int beta); |
2398 void ff_x264_deblock_h_luma_intra_mmxext(uint8_t *pix, int stride, int alpha, int beta); | |
2399 #if ARCH_X86_32 | |
2400 static void ff_x264_deblock_v_luma_intra_mmxext(uint8_t *pix, int stride, int alpha, int beta) | 2402 static void ff_x264_deblock_v_luma_intra_mmxext(uint8_t *pix, int stride, int alpha, int beta) |
2401 { | 2403 { |
2402 ff_x264_deblock_v8_luma_intra_mmxext(pix+0, stride, alpha, beta); | 2404 ff_x264_deblock_v8_luma_intra_mmxext(pix+0, stride, alpha, beta); |
2403 ff_x264_deblock_v8_luma_intra_mmxext(pix+8, stride, alpha, beta); | 2405 ff_x264_deblock_v8_luma_intra_mmxext(pix+8, stride, alpha, beta); |
2404 } | 2406 } |
2405 #endif | 2407 #elif !HAVE_YASM |
2406 void ff_x264_deblock_v_luma_intra_sse2(uint8_t *pix, int stride, int alpha, int beta); | |
2407 void ff_x264_deblock_h_luma_intra_sse2(uint8_t *pix, int stride, int alpha, int beta); | |
2408 #else | |
2409 #define ff_float_to_int16_interleave6_sse(a,b,c) float_to_int16_interleave_misc_sse(a,b,c,6) | 2408 #define ff_float_to_int16_interleave6_sse(a,b,c) float_to_int16_interleave_misc_sse(a,b,c,6) |
2410 #define ff_float_to_int16_interleave6_3dnow(a,b,c) float_to_int16_interleave_misc_3dnow(a,b,c,6) | 2409 #define ff_float_to_int16_interleave6_3dnow(a,b,c) float_to_int16_interleave_misc_3dnow(a,b,c,6) |
2411 #define ff_float_to_int16_interleave6_3dn2(a,b,c) float_to_int16_interleave_misc_3dnow(a,b,c,6) | 2410 #define ff_float_to_int16_interleave6_3dn2(a,b,c) float_to_int16_interleave_misc_3dnow(a,b,c,6) |
2412 #endif | 2411 #endif |
2413 #define ff_float_to_int16_interleave6_sse2 ff_float_to_int16_interleave6_sse | 2412 #define ff_float_to_int16_interleave6_sse2 ff_float_to_int16_interleave6_sse |