Mercurial > libavutil.hg
annotate arm/cpu.c @ 1028:5dbb12a37c3d libavutil tip
Move av_set_options_string() from libavfilter to libavutil.
author | stefano |
---|---|
date | Mon, 27 Sep 2010 22:09:53 +0000 |
parents | 6138233957fe |
children |
rev | line source |
---|---|
1009
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
1 /* |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
2 * This file is part of FFmpeg. |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
3 * |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
4 * FFmpeg is free software; you can redistribute it and/or |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
5 * modify it under the terms of the GNU Lesser General Public |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
6 * License as published by the Free Software Foundation; either |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
7 * version 2.1 of the License, or (at your option) any later version. |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
8 * |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
9 * FFmpeg is distributed in the hope that it will be useful, |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
12 * Lesser General Public License for more details. |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
13 * |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
14 * You should have received a copy of the GNU Lesser General Public |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
15 * License along with FFmpeg; if not, write to the Free Software |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
17 */ |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
18 |
1010 | 19 #include "libavutil/cpu.h" |
1009
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
20 #include "config.h" |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
21 |
1010 | 22 int ff_get_cpu_flags_arm(void) |
1009
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
23 { |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
24 return HAVE_IWMMXT * AV_CPU_FLAG_IWMMXT; |
40b8596460af
Move mm_support() from libavcodec to libavutil, make it a public
stefano
parents:
diff
changeset
|
25 } |