diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 1f4ee8bd766259ef0d9b117a5c55610dfb20cc2d..6d7f5639f2a4877a20d024b766439be6ecf3e1c5 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 3487a6438f1d2a9869dc537379fcf3f9372f2118..fc124d19726ad417005213ecf8cfb1b84161d24f 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 d2835cbde9709cb199ceff0466c07d1566a7ee73..dc7797f6b89d6ce09660e2ac961530d9854d3e34 100644 --- a/libavcodec/ps_tablegen.c +++ b/libavcodec/aacps_tablegen.c @@ -22,7 +22,7 @@ #include <stdlib.h> #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 1d42377d54e8bd7aa37fa3ccfc41d48c17d1dc2a..3c1b27decdea2843a944f3ffb88780cd36dd9954 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 <stdint.h> #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 b0bf2192934f2d02aa4dacb68171c6a941743a62..ca5c52cce3021a0f70c2fdf0489774d0b760d548 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 <stdint.h> #include <float.h> diff --git a/libavcodec/sbr.h b/libavcodec/sbr.h index adf799a7e6f5b870d78ec0d4754b349c3dc1f106..1c87a2e5643cb890532e40655da604f8a0c00bb8 100644 --- a/libavcodec/sbr.h +++ b/libavcodec/sbr.h @@ -31,7 +31,7 @@ #include <stdint.h> #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.