indeo: Give Indeo4/5 shared code a more consistent name
authorDiego Biurrun <diego@biurrun.de>
Sun, 29 Mar 2015 12:44:23 +0000 (14:44 +0200)
committerDiego Biurrun <diego@biurrun.de>
Mon, 30 Mar 2015 15:49:05 +0000 (17:49 +0200)
libavcodec/Makefile
libavcodec/indeo4.c
libavcodec/indeo4data.h
libavcodec/indeo5.c
libavcodec/ivi.c [moved from libavcodec/ivi_common.c with 99% similarity]
libavcodec/ivi.h [moved from libavcodec/ivi_common.h with 99% similarity]
libavcodec/ivi_dsp.c
libavcodec/ivi_dsp.h

index 39158f3ea21b529661c51aa507ebae070bfbb998..f5b23bbc5842f61beb7ff5ddb5a5486a8a5d7597 100644 (file)
@@ -240,8 +240,8 @@ OBJS-$(CONFIG_IFF_ILBM_DECODER)        += iff.o
 OBJS-$(CONFIG_IMC_DECODER)             += imc.o
 OBJS-$(CONFIG_INDEO2_DECODER)          += indeo2.o
 OBJS-$(CONFIG_INDEO3_DECODER)          += indeo3.o
-OBJS-$(CONFIG_INDEO4_DECODER)          += indeo4.o ivi_common.o ivi_dsp.o
-OBJS-$(CONFIG_INDEO5_DECODER)          += indeo5.o ivi_common.o ivi_dsp.o
+OBJS-$(CONFIG_INDEO4_DECODER)          += indeo4.o ivi.o ivi_dsp.o
+OBJS-$(CONFIG_INDEO5_DECODER)          += indeo5.o ivi.o ivi_dsp.o
 OBJS-$(CONFIG_INTERPLAY_DPCM_DECODER)  += dpcm.o
 OBJS-$(CONFIG_INTERPLAY_VIDEO_DECODER) += interplayvideo.o
 OBJS-$(CONFIG_JPEG2000_DECODER)        += jpeg2000dec.o jpeg2000.o jpeg2000dsp.o \
index 35f266ee1341ba45de510336eccd8838ee64b724..92f3062c1971aaefb3b49a530a760945abb43dd9 100644 (file)
@@ -30,8 +30,8 @@
 #define BITSTREAM_READER_LE
 #include "avcodec.h"
 #include "get_bits.h"
+#include "ivi.h"
 #include "ivi_dsp.h"
-#include "ivi_common.h"
 #include "indeo4data.h"
 
 #define IVI4_PIC_SIZE_ESC   7
index 8311c6881610c3feaca5f1d239cb2efc5350f088..be7c41356b5db32db8aafca9545ac11add110d3b 100644 (file)
@@ -29,8 +29,7 @@
 
 #include <stdint.h>
 
-#include "ivi_common.h"
-#include "mathops.h"
+#include "ivi.h"
 
 /**
  *  standard picture dimensions
index 5a112f95b7c3a2f57b85bfd15f30eda5bde9758c..2d00c236047862523e6cb5f3b82803a091d2aae2 100644 (file)
@@ -30,8 +30,8 @@
 #define BITSTREAM_READER_LE
 #include "avcodec.h"
 #include "get_bits.h"
+#include "ivi.h"
 #include "ivi_dsp.h"
-#include "ivi_common.h"
 #include "indeo5data.h"
 
 /**
similarity index 99%
rename from libavcodec/ivi_common.c
rename to libavcodec/ivi.c
index 7c4d53ecec686d911d6d03638bf6861523685603..ce1e5aae281b093a4835ce9df27f362a89475757 100644 (file)
@@ -35,7 +35,7 @@
 #include "get_bits.h"
 #include "internal.h"
 #include "mathops.h"
-#include "ivi_common.h"
+#include "ivi.h"
 #include "ivi_dsp.h"
 
 /**
similarity index 99%
rename from libavcodec/ivi_common.h
rename to libavcodec/ivi.h
index e2cc593b61a33eef5ad2b130c61ad9f93e184ce2..5dadd9f4a5aa975792d66c36d5ac3f7532f19471 100644 (file)
@@ -26,8 +26,8 @@
  * Indeo5 decoders.
  */
 
-#ifndef AVCODEC_IVI_COMMON_H
-#define AVCODEC_IVI_COMMON_H
+#ifndef AVCODEC_IVI_H
+#define AVCODEC_IVI_H
 
 #include "avcodec.h"
 #include "get_bits.h"
@@ -340,4 +340,4 @@ int ff_ivi_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
                         AVPacket *avpkt);
 int ff_ivi_decode_close(AVCodecContext *avctx);
 
-#endif /* AVCODEC_IVI_COMMON_H */
+#endif /* AVCODEC_IVI_H */
index ecc49b39bcfa8ba4f987984455f36345f0fb7448..7d1278431b5d63d214aaa03e3e0bb777ad6c7e36 100644 (file)
@@ -27,7 +27,7 @@
  */
 
 #include "avcodec.h"
-#include "ivi_common.h"
+#include "ivi.h"
 #include "ivi_dsp.h"
 
 void ff_ivi_recompose53(const IVIPlaneDesc *plane, uint8_t *dst,
index 11c2f5cfec35b84367925ddf2a98cba6e101ea1a..45c8a1808670427a7eef56153b69adf14c7ad629 100644 (file)
@@ -29,8 +29,9 @@
 #ifndef AVCODEC_IVI_DSP_H
 #define AVCODEC_IVI_DSP_H
 
-#include "avcodec.h"
-#include "ivi_common.h"
+#include <stdint.h>
+
+#include "ivi.h"
 
 /**
  *  5/3 wavelet recomposition filter for Indeo5