Mercurial > libavcodec.hg
comparison x86/vp8dsp-init.c @ 12414:3fc4c625b6f3 libavcodec
Remove global mm_flags variable
author | mru |
---|---|
date | Tue, 24 Aug 2010 17:47:05 +0000 |
parents | 2d15f62f4f8a |
children | a5ddb39627fd |
comparison
equal
deleted
inserted
replaced
12413:e6e4059ea421 | 12414:3fc4c625b6f3 |
---|---|
280 c->put_vp8_bilinear_pixels_tab[IDX][2][2] = ff_put_vp8_bilinear ## SIZE ## _hv_ ## OPT | 280 c->put_vp8_bilinear_pixels_tab[IDX][2][2] = ff_put_vp8_bilinear ## SIZE ## _hv_ ## OPT |
281 | 281 |
282 | 282 |
283 av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c) | 283 av_cold void ff_vp8dsp_init_x86(VP8DSPContext* c) |
284 { | 284 { |
285 mm_flags = mm_support(); | 285 int mm_flags = mm_support(); |
286 | 286 |
287 #if HAVE_YASM | 287 #if HAVE_YASM |
288 if (mm_flags & FF_MM_MMX) { | 288 if (mm_flags & FF_MM_MMX) { |
289 c->vp8_idct_dc_add = ff_vp8_idct_dc_add_mmx; | 289 c->vp8_idct_dc_add = ff_vp8_idct_dc_add_mmx; |
290 c->vp8_idct_dc_add4y = ff_vp8_idct_dc_add4y_mmx; | 290 c->vp8_idct_dc_add4y = ff_vp8_idct_dc_add4y_mmx; |