Mercurial > libavcodec.hg
comparison arm/mpegvideo_iwmmxt.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 | 58c4d851d1c7 |
children |
comparison
equal
deleted
inserted
replaced
12455:14f85520cd02 | 12456:a5ddb39627fd |
---|---|
16 * You should have received a copy of the GNU Lesser General Public | 16 * You should have received a copy of the GNU Lesser General Public |
17 * License along with FFmpeg; if not, write to the Free Software | 17 * License along with FFmpeg; if not, write to the Free Software |
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | 18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
19 */ | 19 */ |
20 | 20 |
21 #include "libavutil/cpu.h" | |
21 #include "libavcodec/avcodec.h" | 22 #include "libavcodec/avcodec.h" |
22 #include "libavcodec/dsputil.h" | 23 #include "libavcodec/dsputil.h" |
23 #include "libavcodec/mpegvideo.h" | 24 #include "libavcodec/mpegvideo.h" |
24 #include "mpegvideo_arm.h" | 25 #include "mpegvideo_arm.h" |
25 | 26 |
109 } | 110 } |
110 #endif | 111 #endif |
111 | 112 |
112 void MPV_common_init_iwmmxt(MpegEncContext *s) | 113 void MPV_common_init_iwmmxt(MpegEncContext *s) |
113 { | 114 { |
114 if (!(mm_flags & FF_MM_IWMMXT)) return; | 115 if (!(mm_flags & AV_CPU_FLAG_IWMMXT)) return; |
115 | 116 |
116 s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_iwmmxt; | 117 s->dct_unquantize_h263_intra = dct_unquantize_h263_intra_iwmmxt; |
117 #if 0 | 118 #if 0 |
118 s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_iwmmxt; | 119 s->dct_unquantize_h263_inter = dct_unquantize_h263_inter_iwmmxt; |
119 #endif | 120 #endif |