Mercurial > libavcodec.hg
comparison x86/h264dsp_mmx.c @ 12414:3fc4c625b6f3 libavcodec
Remove global mm_flags variable
author | mru |
---|---|
date | Tue, 24 Aug 2010 17:47:05 +0000 |
parents | 2ea2fd28da07 |
children | fe78a4548d12 |
comparison
equal
deleted
inserted
replaced
12413:e6e4059ea421 | 12414:3fc4c625b6f3 |
---|---|
2366 void ff_pred4x4_vertical_vp8_mmxext(uint8_t *src, const uint8_t *topright, int stride); | 2366 void ff_pred4x4_vertical_vp8_mmxext(uint8_t *src, const uint8_t *topright, int stride); |
2367 | 2367 |
2368 #if CONFIG_H264PRED | 2368 #if CONFIG_H264PRED |
2369 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) | 2369 void ff_h264_pred_init_x86(H264PredContext *h, int codec_id) |
2370 { | 2370 { |
2371 mm_flags = mm_support(); | 2371 int mm_flags = mm_support(); |
2372 | 2372 |
2373 #if HAVE_YASM | 2373 #if HAVE_YASM |
2374 if (mm_flags & FF_MM_MMX) { | 2374 if (mm_flags & FF_MM_MMX) { |
2375 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_mmx; | 2375 h->pred16x16[VERT_PRED8x8] = ff_pred16x16_vertical_mmx; |
2376 h->pred16x16[HOR_PRED8x8 ] = ff_pred16x16_horizontal_mmx; | 2376 h->pred16x16[HOR_PRED8x8 ] = ff_pred16x16_horizontal_mmx; |