From fd6eb4a06c31e518060e27a818b8acf4410be94a Mon Sep 17 00:00:00 2001 From: Alex Converse Date: Tue, 22 Jun 2010 19:29:03 +0000 Subject: [PATCH] Move Parametric Stereo related ps* files to aacps*. Originally committed as revision 23720 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/Makefile | 4 ++-- libavcodec/{ps.c => aacps.c} | 6 +++--- libavcodec/{ps.h => aacps.h} | 0 libavcodec/{ps_tablegen.c => aacps_tablegen.c} | 2 +- libavcodec/{ps_tablegen.h => aacps_tablegen.h} | 8 ++++---- libavcodec/{psdata.c => aacpsdata.c} | 0 libavcodec/aacsbr.c | 2 +- libavcodec/sbr.h | 2 +- 8 files changed, 12 insertions(+), 12 deletions(-) rename libavcodec/{ps.c => aacps.c} (99%) rename libavcodec/{ps.h => aacps.h} (100%) rename libavcodec/{ps_tablegen.c => aacps_tablegen.c} (99%) rename libavcodec/{ps_tablegen.h => aacps_tablegen.h} (98%) rename libavcodec/{psdata.c => aacpsdata.c} (100%) diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 1f4ee8b..6d7f563 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -42,7 +42,7 @@ OBJS-$(CONFIG_VAAPI) += vaapi.o OBJS-$(CONFIG_VDPAU) += vdpau.o # decoders/encoders/hardware accelerators -OBJS-$(CONFIG_AAC_DECODER) += aacdec.o aactab.o aacsbr.o ps.o +OBJS-$(CONFIG_AAC_DECODER) += aacdec.o aactab.o aacsbr.o aacps.o OBJS-$(CONFIG_AAC_ENCODER) += aacenc.o aaccoder.o \ aacpsy.o aactab.o \ psymodel.o iirfilter.o \ @@ -668,6 +668,6 @@ $(SUBDIR)mpegaudiodec.o: $(SUBDIR)mpegaudio_tables.h $(SUBDIR)mpegaudiodec_float.o: $(SUBDIR)mpegaudio_tables.h $(SUBDIR)motionpixels.o: $(SUBDIR)motionpixels_tables.h $(SUBDIR)pcm.o: $(SUBDIR)pcm_tables.h -$(SUBDIR)ps.o: $(SUBDIR)ps_tables.h +$(SUBDIR)aacps.o: $(SUBDIR)aacps_tables.h $(SUBDIR)qdm2.o: $(SUBDIR)qdm2_tables.h endif diff --git a/libavcodec/ps.c b/libavcodec/aacps.c similarity index 99% rename from libavcodec/ps.c rename to libavcodec/aacps.c index 3487a64..fc124d1 100644 --- a/libavcodec/ps.c +++ b/libavcodec/aacps.c @@ -24,9 +24,9 @@ #include "libavutil/mathematics.h" #include "avcodec.h" #include "get_bits.h" -#include "ps.h" -#include "ps_tablegen.h" -#include "psdata.c" +#include "aacps.h" +#include "aacps_tablegen.h" +#include "aacpsdata.c" #define PS_BASELINE 0 //< Operate in Baseline PS mode //< Baseline implies 10 or 20 stereo bands, diff --git a/libavcodec/ps.h b/libavcodec/aacps.h similarity index 100% rename from libavcodec/ps.h rename to libavcodec/aacps.h diff --git a/libavcodec/ps_tablegen.c b/libavcodec/aacps_tablegen.c similarity index 99% rename from libavcodec/ps_tablegen.c rename to libavcodec/aacps_tablegen.c index d2835cb..dc7797f 100644 --- a/libavcodec/ps_tablegen.c +++ b/libavcodec/aacps_tablegen.c @@ -22,7 +22,7 @@ #include #define CONFIG_HARDCODED_TABLES 0 -#include "ps_tablegen.h" +#include "aacps_tablegen.h" #include "tableprint.h" void write_float_3d_array (const void *p, int b, int c, int d) diff --git a/libavcodec/ps_tablegen.h b/libavcodec/aacps_tablegen.h similarity index 98% rename from libavcodec/ps_tablegen.h rename to libavcodec/aacps_tablegen.h index 1d42377..3c1b27d 100644 --- a/libavcodec/ps_tablegen.h +++ b/libavcodec/aacps_tablegen.h @@ -20,14 +20,14 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef PS_TABLEGEN_H -#define PS_TABLEGEN_H +#ifndef AACPS_TABLEGEN_H +#define AACPS_TABLEGEN_H #include #if CONFIG_HARDCODED_TABLES #define ps_tableinit() -#include "libavcodec/ps_tables.h" +#include "libavcodec/aacps_tables.h" #else #include "../libavutil/common.h" #include "../libavutil/mathematics.h" @@ -209,4 +209,4 @@ static void ps_tableinit(void) } #endif /* CONFIG_HARDCODED_TABLES */ -#endif /* PS_TABLEGEN_H */ +#endif /* AACPS_TABLEGEN_H */ diff --git a/libavcodec/psdata.c b/libavcodec/aacpsdata.c similarity index 100% rename from libavcodec/psdata.c rename to libavcodec/aacpsdata.c diff --git a/libavcodec/aacsbr.c b/libavcodec/aacsbr.c index b0bf219..ca5c52c 100644 --- a/libavcodec/aacsbr.c +++ b/libavcodec/aacsbr.c @@ -31,7 +31,7 @@ #include "aacsbr.h" #include "aacsbrdata.h" #include "fft.h" -#include "ps.h" +#include "aacps.h" #include #include diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h index adf799a..1c87a2e 100644 --- a/libavcodec/sbr.h +++ b/libavcodec/sbr.h @@ -31,7 +31,7 @@ #include #include "fft.h" -#include "ps.h" +#include "aacps.h" /** * Spectral Band Replication header - spectrum parameters that invoke a reset if they differ from the previous header. -- 2.7.4