Mercurial > libavcodec.hg
comparison x86/vp56dsp_init.c @ 12456:a5ddb39627fd libavcodec
Rename FF_MM_ symbols related to CPU features flags as AV_CPU_FLAG_
symbols, and move them from libavcodec/avcodec.h to libavutil/cpu.h.
author | stefano |
---|---|
date | Sat, 04 Sep 2010 09:59:08 +0000 |
parents | e17840120b80 |
children | 9fef0a8ddd63 |
comparison
equal
deleted
inserted
replaced
12455:14f85520cd02 | 12456:a5ddb39627fd |
---|---|
33 { | 33 { |
34 #if HAVE_YASM | 34 #if HAVE_YASM |
35 int mm_flags = mm_support(); | 35 int mm_flags = mm_support(); |
36 | 36 |
37 if (CONFIG_VP6_DECODER && codec == CODEC_ID_VP6) { | 37 if (CONFIG_VP6_DECODER && codec == CODEC_ID_VP6) { |
38 if (mm_flags & FF_MM_MMX) { | 38 if (mm_flags & AV_CPU_FLAG_MMX) { |
39 c->vp6_filter_diag4 = ff_vp6_filter_diag4_mmx; | 39 c->vp6_filter_diag4 = ff_vp6_filter_diag4_mmx; |
40 } | 40 } |
41 | 41 |
42 if (mm_flags & FF_MM_SSE2) { | 42 if (mm_flags & AV_CPU_FLAG_SSE2) { |
43 c->vp6_filter_diag4 = ff_vp6_filter_diag4_sse2; | 43 c->vp6_filter_diag4 = ff_vp6_filter_diag4_sse2; |
44 } | 44 } |
45 } | 45 } |
46 #endif | 46 #endif |
47 } | 47 } |