comparison x86/h264dsp_mmx.c @ 12035:09705b027344 libavcodec

Fix h264/vp8 intra pred on Athlon XP Whose idea was it to have a CPU that didn't SIGILL on an invalid instruction?
author darkshikari
date Thu, 01 Jul 2010 10:29:47 +0000
parents 2d70a8b0ec8a
children 09a31ef6ed58
comparison
equal deleted inserted replaced
12034:f6ae68a7b1fd 12035:09705b027344
2327 void ff_pred16x16_vertical_sse (uint8_t *src, int stride); 2327 void ff_pred16x16_vertical_sse (uint8_t *src, int stride);
2328 void ff_pred16x16_horizontal_mmx (uint8_t *src, int stride); 2328 void ff_pred16x16_horizontal_mmx (uint8_t *src, int stride);
2329 void ff_pred16x16_horizontal_mmxext(uint8_t *src, int stride); 2329 void ff_pred16x16_horizontal_mmxext(uint8_t *src, int stride);
2330 void ff_pred16x16_horizontal_ssse3 (uint8_t *src, int stride); 2330 void ff_pred16x16_horizontal_ssse3 (uint8_t *src, int stride);
2331 void ff_pred16x16_dc_mmxext (uint8_t *src, int stride); 2331 void ff_pred16x16_dc_mmxext (uint8_t *src, int stride);
2332 void ff_pred16x16_dc_sse (uint8_t *src, int stride);
2333 void ff_pred16x16_dc_sse2 (uint8_t *src, int stride); 2332 void ff_pred16x16_dc_sse2 (uint8_t *src, int stride);
2334 void ff_pred16x16_dc_ssse3 (uint8_t *src, int stride); 2333 void ff_pred16x16_dc_ssse3 (uint8_t *src, int stride);
2335 void ff_pred16x16_tm_vp8_mmx (uint8_t *src, int stride); 2334 void ff_pred16x16_tm_vp8_mmx (uint8_t *src, int stride);
2336 void ff_pred16x16_tm_vp8_mmxext (uint8_t *src, int stride); 2335 void ff_pred16x16_tm_vp8_mmxext (uint8_t *src, int stride);
2337 void ff_pred16x16_tm_vp8_sse2 (uint8_t *src, int stride); 2336 void ff_pred16x16_tm_vp8_sse2 (uint8_t *src, int stride);
2382 } 2381 }
2383 } 2382 }
2384 2383
2385 if (mm_flags & FF_MM_SSE) { 2384 if (mm_flags & FF_MM_SSE) {
2386 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_sse; 2385 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_sse;
2387 h->pred16x16[DC_PRED8x8 ] = ff_pred16x16_dc_sse;
2388 } 2386 }
2389 2387
2390 if (mm_flags & FF_MM_SSE2) { 2388 if (mm_flags & FF_MM_SSE2) {
2391 h->pred16x16[DC_PRED8x8 ] = ff_pred16x16_dc_sse2; 2389 h->pred16x16[DC_PRED8x8 ] = ff_pred16x16_dc_sse2;
2392 if (codec_id == CODEC_ID_VP8) { 2390 if (codec_id == CODEC_ID_VP8) {