Mercurial > libavcodec.hg
comparison x86/h264dsp_mmx.c @ 12012:2d70a8b0ec8a libavcodec
Add missing mm_support call toff_h264_pred_init_x86.
I'm not sure if this is supposed to be here, but it can't hurt.
author | darkshikari |
---|---|
date | Tue, 29 Jun 2010 12:28:06 +0000 |
parents | 2002ea7c06f6 |
children | 09705b027344 |
comparison
equal
deleted
inserted
replaced
12011:f96187e79438 | 12012:2d70a8b0ec8a |
---|---|
2351 void ff_pred4x4_vertical_vp8_mmxext(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); |
2352 | 2352 |
2353 #if CONFIG_H264DSP | 2353 #if CONFIG_H264DSP |
2354 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) | 2354 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) |
2355 { | 2355 { |
2356 mm_flags = mm_support(); | |
2357 | |
2356 #if HAVE_YASM | 2358 #if HAVE_YASM |
2357 if (mm_flags & FF_MM_MMX) { | 2359 if (mm_flags & FF_MM_MMX) { |
2358 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_mmx; | 2360 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_mmx; |
2359 h->pred16x16[HOR_PRED8x8 ] = ff_pred16x16_horizontal_mmx; | 2361 h->pred16x16[HOR_PRED8x8 ] = ff_pred16x16_horizontal_mmx; |
2360 h->pred8x8 [VERT_PRED8x8] = ff_pred8x8_vertical_mmx; | 2362 h->pred8x8 [VERT_PRED8x8] = ff_pred8x8_vertical_mmx; |