Mercurial > libavcodec.hg
comparison ppc/fdct_altivec.c @ 9421:dd2b5e52336a libavcodec
Remove gcc_fixes.h. It only contains workarounds for unsupported gcc versions.
author | diego |
---|---|
date | Sun, 12 Apr 2009 21:45:26 +0000 |
parents | bcaba3f602d3 |
children | 50415a8f1451 |
comparison
equal
deleted
inserted
replaced
9420:5b68d22e5ec9 | 9421:dd2b5e52336a |
---|---|
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 | 21 #include "config.h" |
22 #if HAVE_ALTIVEC_H | |
23 #include <altivec.h> | |
24 #endif | |
22 #include "libavutil/common.h" | 25 #include "libavutil/common.h" |
23 #include "libavcodec/dsputil.h" | 26 #include "libavcodec/dsputil.h" |
24 #include "dsputil_ppc.h" | 27 #include "dsputil_ppc.h" |
25 #include "gcc_fixes.h" | |
26 | 28 |
27 | 29 |
28 #define vs16(v) ((vector signed short)(v)) | 30 #define vs16(v) ((vector signed short)(v)) |
29 #define vs32(v) ((vector signed int)(v)) | 31 #define vs32(v) ((vector signed int)(v)) |
30 #define vu8(v) ((vector unsigned char)(v)) | 32 #define vu8(v) ((vector unsigned char)(v)) |