From 1a583c0c60240adb8fa6620c6df33f1a0a0fe5d9 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 18 Feb 2014 14:09:35 +0100 Subject: fdct: Move ppc-specific declarations to a header in the ppc directory --- libavcodec/ppc/fdct.h | 26 ++++++++++++++++++++++++++ libavcodec/ppc/fdctdsp.c | 2 +- libavcodec/ppc/fdctdsp.h | 26 -------------------------- 3 files changed, 27 insertions(+), 27 deletions(-) create mode 100644 libavcodec/ppc/fdct.h delete mode 100644 libavcodec/ppc/fdctdsp.h (limited to 'libavcodec/ppc') diff --git a/libavcodec/ppc/fdct.h b/libavcodec/ppc/fdct.h new file mode 100644 index 0000000000..74710354ef --- /dev/null +++ b/libavcodec/ppc/fdct.h @@ -0,0 +1,26 @@ +/* + * This file is part of Libav. + * + * Libav is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * Libav is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with Libav; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + +#ifndef AVCODEC_PPC_FDCT_H +#define AVCODEC_PPC_FDCT_H + +#include + +void ff_fdct_altivec(int16_t *block); + +#endif /* AVCODEC_PPC_FDCT_H */ diff --git a/libavcodec/ppc/fdctdsp.c b/libavcodec/ppc/fdctdsp.c index d7b5b7ab7c..51417a5828 100644 --- a/libavcodec/ppc/fdctdsp.c +++ b/libavcodec/ppc/fdctdsp.c @@ -27,7 +27,7 @@ #include "libavutil/cpu.h" #include "libavutil/ppc/cpu.h" #include "libavcodec/fdctdsp.h" -#include "fdctdsp.h" +#include "fdct.h" #if HAVE_ALTIVEC diff --git a/libavcodec/ppc/fdctdsp.h b/libavcodec/ppc/fdctdsp.h deleted file mode 100644 index 845b4fe554..0000000000 --- a/libavcodec/ppc/fdctdsp.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * This file is part of Libav. - * - * Libav is free software; you can redistribute it and/or - * modify it under the terms of the GNU Lesser General Public - * License as published by the Free Software Foundation; either - * version 2.1 of the License, or (at your option) any later version. - * - * Libav is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * Lesser General Public License for more details. - * - * You should have received a copy of the GNU Lesser General Public - * License along with Libav; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - */ - -#ifndef AVCODEC_PPC_FDCTDSP_H -#define AVCODEC_PPC_FDCTDSP_H - -#include - -void ff_fdct_altivec(int16_t *block); - -#endif /* AVCODEC_PPC_FDCTDSP_H */ -- cgit v1.2.3