From eb2b8bce39c93d16a02656238248c6cf697f447f Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Fri, 14 Feb 2014 11:41:49 +0100 Subject: [PATCH] bfin: Use more sensible file names Drop non-informative _bfin suffix, rename some files for consistency with other architectures, rename others to reflect their content. --- libavcodec/bfin/Makefile | 12 ++++++------ libavcodec/bfin/{pixels_bfin.S => dsputil.S} | 0 libavcodec/bfin/{dsputil_bfin.c => dsputil_init.c} | 0 libavcodec/bfin/{hpeldsp_bfin.c => hpeldsp_init.c} | 2 +- libavcodec/bfin/{hpel_pixels_bfin.S => pixels.S} | 0 libavcodec/bfin/{hpeldsp_bfin.h => pixels.h} | 6 +++--- libavcodec/bfin/{vp3_idct_bfin.S => vp3dsp.S} | 0 libavcodec/bfin/{vp3_bfin.c => vp3dsp_init.c} | 0 8 files changed, 10 insertions(+), 10 deletions(-) rename libavcodec/bfin/{pixels_bfin.S => dsputil.S} (100%) rename libavcodec/bfin/{dsputil_bfin.c => dsputil_init.c} (100%) rename libavcodec/bfin/{hpeldsp_bfin.c => hpeldsp_init.c} (99%) rename libavcodec/bfin/{hpel_pixels_bfin.S => pixels.S} (100%) rename libavcodec/bfin/{hpeldsp_bfin.h => pixels.h} (93%) rename libavcodec/bfin/{vp3_idct_bfin.S => vp3dsp.S} (100%) rename libavcodec/bfin/{vp3_bfin.c => vp3dsp_init.c} (100%) diff --git a/libavcodec/bfin/Makefile b/libavcodec/bfin/Makefile index 4fa940b6f8..193f8e6700 100644 --- a/libavcodec/bfin/Makefile +++ b/libavcodec/bfin/Makefile @@ -1,10 +1,10 @@ -OBJS += bfin/dsputil_bfin.o \ +OBJS += bfin/dsputil_init.o \ + bfin/dsputil.o \ bfin/fdct_bfin.o \ - bfin/hpel_pixels_bfin.o \ bfin/hpel_pixels_no_rnd.o \ bfin/idct_bfin.o \ - bfin/pixels_bfin.o \ + bfin/pixels.o \ -OBJS-$(CONFIG_HPELDSP) += bfin/hpeldsp_bfin.o -OBJS-$(CONFIG_VP3DSP) += bfin/vp3_bfin.o \ - bfin/vp3_idct_bfin.o +OBJS-$(CONFIG_HPELDSP) += bfin/hpeldsp_init.o +OBJS-$(CONFIG_VP3DSP) += bfin/vp3dsp_init.o \ + bfin/vp3dsp.o diff --git a/libavcodec/bfin/pixels_bfin.S b/libavcodec/bfin/dsputil.S similarity index 100% rename from libavcodec/bfin/pixels_bfin.S rename to libavcodec/bfin/dsputil.S diff --git a/libavcodec/bfin/dsputil_bfin.c b/libavcodec/bfin/dsputil_init.c similarity index 100% rename from libavcodec/bfin/dsputil_bfin.c rename to libavcodec/bfin/dsputil_init.c diff --git a/libavcodec/bfin/hpeldsp_bfin.c b/libavcodec/bfin/hpeldsp_init.c similarity index 99% rename from libavcodec/bfin/hpeldsp_bfin.c rename to libavcodec/bfin/hpeldsp_init.c index 263f5be881..9eb45e0cc6 100644 --- a/libavcodec/bfin/hpeldsp_bfin.c +++ b/libavcodec/bfin/hpeldsp_init.c @@ -27,7 +27,7 @@ #include "libavutil/attributes.h" #include "libavutil/bfin/attributes.h" #include "libavcodec/hpeldsp.h" -#include "hpeldsp_bfin.h" +#include "pixels.h" void ff_bfin_put_pixels8uc_no_rnd(uint8_t *block, const uint8_t *s0, const uint8_t *s1, int line_size, diff --git a/libavcodec/bfin/hpel_pixels_bfin.S b/libavcodec/bfin/pixels.S similarity index 100% rename from libavcodec/bfin/hpel_pixels_bfin.S rename to libavcodec/bfin/pixels.S diff --git a/libavcodec/bfin/hpeldsp_bfin.h b/libavcodec/bfin/pixels.h similarity index 93% rename from libavcodec/bfin/hpeldsp_bfin.h rename to libavcodec/bfin/pixels.h index b02561c63a..093442938f 100644 --- a/libavcodec/bfin/hpeldsp_bfin.h +++ b/libavcodec/bfin/pixels.h @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef AVCODEC_BFIN_HPELDSP_BFIN_H -#define AVCODEC_BFIN_HPELDSP_BFIN_H +#ifndef AVCODEC_BFIN_PIXELS_H +#define AVCODEC_BFIN_PIXELS_H #include @@ -37,4 +37,4 @@ void ff_bfin_put_pixels16uc(uint8_t *block, const uint8_t *s0, const uint8_t *s1, int dest_size, int line_size, int h) attribute_l1_text; -#endif /* AVCODEC_BFIN_HPELDSP_BFIN_H */ +#endif /* AVCODEC_BFIN_PIXELS_H */ diff --git a/libavcodec/bfin/vp3_idct_bfin.S b/libavcodec/bfin/vp3dsp.S similarity index 100% rename from libavcodec/bfin/vp3_idct_bfin.S rename to libavcodec/bfin/vp3dsp.S diff --git a/libavcodec/bfin/vp3_bfin.c b/libavcodec/bfin/vp3dsp_init.c similarity index 100% rename from libavcodec/bfin/vp3_bfin.c rename to libavcodec/bfin/vp3dsp_init.c