Mercurial > libavcodec.hg
comparison ppc/dsputil_ppc.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 | 3fc4c625b6f3 |
children | 06abedae2906 |
comparison
equal
deleted
inserted
replaced
12455:14f85520cd02 | 12456:a5ddb39627fd |
---|---|
26 int mm_support(void) | 26 int mm_support(void) |
27 { | 27 { |
28 int result = 0; | 28 int result = 0; |
29 #if HAVE_ALTIVEC | 29 #if HAVE_ALTIVEC |
30 if (has_altivec()) { | 30 if (has_altivec()) { |
31 result |= FF_MM_ALTIVEC; | 31 result |= AV_CPU_FLAG_ALTIVEC; |
32 } | 32 } |
33 #endif /* result */ | 33 #endif /* result */ |
34 return result; | 34 return result; |
35 } | 35 } |
36 | 36 |