Mercurial > libavcodec.hg
annotate armv4l/mpegvideo_arm.c @ 5113:f1bfd716d347 libavcodec
Use FFmpeg-specific CPU feature definitions.
taken from a patch by Ronald S. Bultje, rbultje ronald.bitfreak net
Date: Thu, 07 Jun 2007 08:57:46 -0400
Subject: Re: [FFmpeg-devel] [PATCH] Coremake support - ffmpeg_nommx.patch (1/1)
- ffmpeg-nommx.patch (1/1) - ff-cputest-noavconfig.patch (1/1)
author | diego |
---|---|
date | Thu, 07 Jun 2007 17:18:01 +0000 |
parents | d5ba514e3f4a |
children | 2b72f9bc4f06 |
rev | line source |
---|---|
730 | 1 /* |
2 * Copyright (c) 2002 Michael Niedermayer | |
3 * | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
4 * This file is part of FFmpeg. |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
5 * |
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
6 * FFmpeg is free software; you can redistribute it and/or |
730 | 7 * modify it under the terms of the GNU Lesser General Public |
8 * License as published by the Free Software Foundation; either | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
9 * version 2.1 of the License, or (at your option) any later version. |
730 | 10 * |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
11 * FFmpeg is distributed in the hope that it will be useful, |
730 | 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | |
14 * Lesser General Public License for more details. | |
15 * | |
16 * You should have received a copy of the GNU Lesser General Public | |
3947
c8c591fe26f8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents:
3036
diff
changeset
|
17 * License along with FFmpeg; if not, write to the Free Software |
3036
0b546eab515d
Update licensing information: The FSF changed postal address.
diego
parents:
2735
diff
changeset
|
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
730 | 19 * |
20 */ | |
21 | |
5010
d5ba514e3f4a
Add libavcodec to compiler include flags in order to simplify header
diego
parents:
4713
diff
changeset
|
22 #include "dsputil.h" |
d5ba514e3f4a
Add libavcodec to compiler include flags in order to simplify header
diego
parents:
4713
diff
changeset
|
23 #include "mpegvideo.h" |
d5ba514e3f4a
Add libavcodec to compiler include flags in order to simplify header
diego
parents:
4713
diff
changeset
|
24 #include "avcodec.h" |
730 | 25 |
2734
aeea63c97878
Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents:
1092
diff
changeset
|
26 extern void MPV_common_init_iwmmxt(MpegEncContext *s); |
4340
268811f3f1ef
Optimization of 'dct_unquantize_h263_intra' for ARM (armv5te)
gpoirier
parents:
3947
diff
changeset
|
27 extern void MPV_common_init_armv5te(MpegEncContext *s); |
2734
aeea63c97878
Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents:
1092
diff
changeset
|
28 |
730 | 29 void MPV_common_init_armv4l(MpegEncContext *s) |
30 { | |
4713
47ee459ce964
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
mru
parents:
4340
diff
changeset
|
31 /* IWMMXT support is a superset of armv5te, so |
47ee459ce964
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
mru
parents:
4340
diff
changeset
|
32 * allow optimised functions for armv5te unless |
47ee459ce964
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
mru
parents:
4340
diff
changeset
|
33 * a better iwmmxt function exists |
47ee459ce964
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
mru
parents:
4340
diff
changeset
|
34 */ |
47ee459ce964
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
mru
parents:
4340
diff
changeset
|
35 #ifdef HAVE_ARMV5TE |
47ee459ce964
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
mru
parents:
4340
diff
changeset
|
36 MPV_common_init_armv5te(s); |
47ee459ce964
iwmmxt ffmpeg code does not implement dct_unquantize_h263_inter_iwmmxt, but
mru
parents:
4340
diff
changeset
|
37 #endif |
2734
aeea63c97878
Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents:
1092
diff
changeset
|
38 #ifdef HAVE_IWMMXT |
aeea63c97878
Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents:
1092
diff
changeset
|
39 MPV_common_init_iwmmxt(s); |
aeea63c97878
Better ARM support for mplayer/ffmpeg, ported from atty fork
michael
parents:
1092
diff
changeset
|
40 #endif |
730 | 41 } |