Mercurial > libavcodec.hg
comparison x86/h264dsp_mmx.c @ 12004:2002ea7c06f6 libavcodec
MMXEXT version of vp8 4x4 vertical pred
author | darkshikari |
---|---|
date | Tue, 29 Jun 2010 00:23:52 +0000 |
parents | 3b761226ea35 |
children | 2d70a8b0ec8a |
comparison
equal
deleted
inserted
replaced
12003:3b761226ea35 | 12004:2002ea7c06f6 |
---|---|
2346 void ff_pred8x8_tm_vp8_ssse3 (uint8_t *src, int stride); | 2346 void ff_pred8x8_tm_vp8_ssse3 (uint8_t *src, int stride); |
2347 void ff_pred4x4_dc_mmxext (uint8_t *src, const uint8_t *topright, int stride); | 2347 void ff_pred4x4_dc_mmxext (uint8_t *src, const uint8_t *topright, int stride); |
2348 void ff_pred4x4_tm_vp8_mmx (uint8_t *src, const uint8_t *topright, int stride); | 2348 void ff_pred4x4_tm_vp8_mmx (uint8_t *src, const uint8_t *topright, int stride); |
2349 void ff_pred4x4_tm_vp8_mmxext (uint8_t *src, const uint8_t *topright, int stride); | 2349 void ff_pred4x4_tm_vp8_mmxext (uint8_t *src, const uint8_t *topright, int stride); |
2350 void ff_pred4x4_tm_vp8_ssse3 (uint8_t *src, const uint8_t *topright, int stride); | 2350 void ff_pred4x4_tm_vp8_ssse3 (uint8_t *src, const uint8_t *topright, int stride); |
2351 void ff_pred4x4_vertical_vp8_mmxext(uint8_t *src, const uint8_t *topright, int stride); | |
2351 | 2352 |
2352 #if CONFIG_H264DSP | 2353 #if CONFIG_H264DSP |
2353 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) | 2354 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) |
2354 { | 2355 { |
2355 #if HAVE_YASM | 2356 #if HAVE_YASM |
2373 if (codec_id == CODEC_ID_VP8) { | 2374 if (codec_id == CODEC_ID_VP8) { |
2374 h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_tm_vp8_mmxext; | 2375 h->pred16x16[PLANE_PRED8x8] = ff_pred16x16_tm_vp8_mmxext; |
2375 h->pred8x8 [DC_PRED8x8 ] = ff_pred8x8_dc_rv40_mmxext; | 2376 h->pred8x8 [DC_PRED8x8 ] = ff_pred8x8_dc_rv40_mmxext; |
2376 h->pred8x8 [PLANE_PRED8x8] = ff_pred8x8_tm_vp8_mmxext; | 2377 h->pred8x8 [PLANE_PRED8x8] = ff_pred8x8_tm_vp8_mmxext; |
2377 h->pred4x4 [TM_VP8_PRED ] = ff_pred4x4_tm_vp8_mmxext; | 2378 h->pred4x4 [TM_VP8_PRED ] = ff_pred4x4_tm_vp8_mmxext; |
2379 h->pred4x4 [VERT_PRED ] = ff_pred4x4_vertical_vp8_mmxext; | |
2378 } | 2380 } |
2379 } | 2381 } |
2380 | 2382 |
2381 if (mm_flags & FF_MM_SSE) { | 2383 if (mm_flags & FF_MM_SSE) { |
2382 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_sse; | 2384 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_sse; |