[FFmpeg-cvslog] Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c

Diego Biurrun git at videolan.org
Wed Jul 6 01:37:07 CEST 2011


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Jul  5 17:33:24 2011 +0200| [c45f629576151f05ce7010967683385d277859fe] | committer: Diego Biurrun

Rename libavcodec/high_bit_depth.h ---> libavcodec/bit_depth_template.c

This naming scheme is used elsewhere, so it's sensible to be consistent.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c45f629576151f05ce7010967683385d277859fe
---

 .../{high_bit_depth.h => bit_depth_template.c}     |    0
 libavcodec/dsputil_template.c                      |    2 +-
 libavcodec/h264dsp_template.c                      |    2 +-
 libavcodec/h264idct_template.c                     |    2 +-
 libavcodec/h264pred_template.c                     |    3 ++-
 5 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/libavcodec/high_bit_depth.h b/libavcodec/bit_depth_template.c
similarity index 100%
rename from libavcodec/high_bit_depth.h
rename to libavcodec/bit_depth_template.c
diff --git a/libavcodec/dsputil_template.c b/libavcodec/dsputil_template.c
index b859318..645a881 100644
--- a/libavcodec/dsputil_template.c
+++ b/libavcodec/dsputil_template.c
@@ -27,7 +27,7 @@
  * DSP utils
  */
 
-#include "high_bit_depth.h"
+#include "bit_depth_template.c"
 
 static inline void FUNC(copy_block2)(uint8_t *dst, const uint8_t *src, int dstStride, int srcStride, int h)
 {
diff --git a/libavcodec/h264dsp_template.c b/libavcodec/h264dsp_template.c
index be88f74..d11eff0 100644
--- a/libavcodec/h264dsp_template.c
+++ b/libavcodec/h264dsp_template.c
@@ -25,7 +25,7 @@
  * @author Michael Niedermayer <michaelni at gmx.at>
  */
 
-#include "high_bit_depth.h"
+#include "bit_depth_template.c"
 
 #define op_scale1(x)  block[x] = av_clip_pixel( (block[x]*weight + offset) >> log2_denom )
 #define op_scale2(x)  dst[x] = av_clip_pixel( (src[x]*weights + dst[x]*weightd + offset) >> (log2_denom+1))
diff --git a/libavcodec/h264idct_template.c b/libavcodec/h264idct_template.c
index c024538..55c1d3a 100644
--- a/libavcodec/h264idct_template.c
+++ b/libavcodec/h264idct_template.c
@@ -25,7 +25,7 @@
  * @author Michael Niedermayer <michaelni at gmx.at>
  */
 
-#include "high_bit_depth.h"
+#include "bit_depth_template.c"
 
 #ifndef AVCODEC_H264IDCT_INTERNAL_H
 #define AVCODEC_H264IDCT_INTERNAL_H
diff --git a/libavcodec/h264pred_template.c b/libavcodec/h264pred_template.c
index 1c1fe0b..e5d9155 100644
--- a/libavcodec/h264pred_template.c
+++ b/libavcodec/h264pred_template.c
@@ -26,7 +26,8 @@
  */
 
 #include "mathops.h"
-#include "high_bit_depth.h"
+
+#include "bit_depth_template.c"
 
 static void FUNCC(pred4x4_vertical)(uint8_t *_src, const uint8_t *topright, int _stride){
     pixel *src = (pixel*)_src;



More information about the ffmpeg-cvslog mailing list