[FFmpeg-cvslog] fdct: Move ppc-specific declarations to a header in the ppc directory

Diego Biurrun git at videolan.org
Sat Jul 19 14:16:18 CEST 2014


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Feb 18 14:09:35 2014 +0100| [1a583c0c60240adb8fa6620c6df33f1a0a0fe5d9] | committer: Diego Biurrun

fdct: Move ppc-specific declarations to a header in the ppc directory

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1a583c0c60240adb8fa6620c6df33f1a0a0fe5d9
---

 libavcodec/dct-test.c                |    4 +---
 libavcodec/ppc/{fdctdsp.h => fdct.h} |    6 +++---
 libavcodec/ppc/fdctdsp.c             |    2 +-
 3 files changed, 5 insertions(+), 7 deletions(-)

diff --git a/libavcodec/dct-test.c b/libavcodec/dct-test.c
index b278869..baf5a89 100644
--- a/libavcodec/dct-test.c
+++ b/libavcodec/dct-test.c
@@ -45,14 +45,12 @@
 #include "aandcttab.h"
 #include "faandct.h"
 #include "faanidct.h"
+#include "ppc/fdct.h"
 #include "x86/fdct.h"
 #include "x86/idct_xvid.h"
 #include "x86/simple_idct.h"
 #include "dctref.h"
 
-// ALTIVEC
-void ff_fdct_altivec(int16_t *block);
-
 // ARM
 void ff_j_rev_dct_arm(int16_t *data);
 void ff_simple_idct_arm(int16_t *data);
diff --git a/libavcodec/ppc/fdctdsp.h b/libavcodec/ppc/fdct.h
similarity index 89%
rename from libavcodec/ppc/fdctdsp.h
rename to libavcodec/ppc/fdct.h
index 845b4fe..7471035 100644
--- a/libavcodec/ppc/fdctdsp.h
+++ b/libavcodec/ppc/fdct.h
@@ -16,11 +16,11 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVCODEC_PPC_FDCTDSP_H
-#define AVCODEC_PPC_FDCTDSP_H
+#ifndef AVCODEC_PPC_FDCT_H
+#define AVCODEC_PPC_FDCT_H
 
 #include <stdint.h>
 
 void ff_fdct_altivec(int16_t *block);
 
-#endif /* AVCODEC_PPC_FDCTDSP_H */
+#endif /* AVCODEC_PPC_FDCT_H */
diff --git a/libavcodec/ppc/fdctdsp.c b/libavcodec/ppc/fdctdsp.c
index d7b5b7a..51417a5 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
 



More information about the ffmpeg-cvslog mailing list