bfin: Use more sensible file names
authorDiego Biurrun <diego@biurrun.de>
Fri, 14 Feb 2014 10:41:49 +0000 (11:41 +0100)
committerDiego Biurrun <diego@biurrun.de>
Thu, 13 Mar 2014 15:15:53 +0000 (08:15 -0700)
Drop non-informative _bfin suffix, rename some files for consistency with
other architectures, rename others to reflect their content.

libavcodec/bfin/Makefile
libavcodec/bfin/dsputil.S [moved from libavcodec/bfin/pixels_bfin.S with 100% similarity]
libavcodec/bfin/dsputil_init.c [moved from libavcodec/bfin/dsputil_bfin.c with 100% similarity]
libavcodec/bfin/hpeldsp_init.c [moved from libavcodec/bfin/hpeldsp_bfin.c with 99% similarity]
libavcodec/bfin/pixels.S [moved from libavcodec/bfin/hpel_pixels_bfin.S with 100% similarity]
libavcodec/bfin/pixels.h [moved from libavcodec/bfin/hpeldsp_bfin.h with 93% similarity]
libavcodec/bfin/vp3dsp.S [moved from libavcodec/bfin/vp3_idct_bfin.S with 100% similarity]
libavcodec/bfin/vp3dsp_init.c [moved from libavcodec/bfin/vp3_bfin.c with 100% similarity]

index 4fa940b..193f8e6 100644 (file)
@@ -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
similarity index 99%
rename from libavcodec/bfin/hpeldsp_bfin.c
rename to libavcodec/bfin/hpeldsp_init.c
index 263f5be..9eb45e0 100644 (file)
@@ -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,
similarity index 93%
rename from libavcodec/bfin/hpeldsp_bfin.h
rename to libavcodec/bfin/pixels.h
index b02561c..0934429 100644 (file)
@@ -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 <stdint.h>
 
@@ -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 */