[libav-devel] [PATCH] Rename tpel_template.c ---> pel_template.c

Diego Biurrun diego at biurrun.de
Thu Jun 12 16:09:54 CEST 2014


The new name more accurately describes what the file is about.
---

... as suggested by Kostya ...

 libavcodec/h264qpel_template.c                 | 2 +-
 libavcodec/hpeldsp.c                           | 2 +-
 libavcodec/{tpel_template.c => pel_template.c} | 6 +++---
 libavcodec/qpeldsp.c                           | 2 +-
 libavcodec/tpeldsp.c                           | 2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)
 rename libavcodec/{tpel_template.c => pel_template.c} (97%)

diff --git a/libavcodec/h264qpel_template.c b/libavcodec/h264qpel_template.c
index d03b0dc..963f7f1 100644
--- a/libavcodec/h264qpel_template.c
+++ b/libavcodec/h264qpel_template.c
@@ -24,7 +24,7 @@
 
 #include "bit_depth_template.c"
 #include "hpel_template.c"
-#include "tpel_template.c"
+#include "pel_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/hpeldsp.c b/libavcodec/hpeldsp.c
index 16f4c77..25694c5 100644
--- a/libavcodec/hpeldsp.c
+++ b/libavcodec/hpeldsp.c
@@ -33,7 +33,7 @@
 
 #define BIT_DEPTH 8
 #include "hpel_template.c"
-#include "tpel_template.c"
+#include "pel_template.c"
 
 #define PIXOP2(OPNAME, OP)                                              \
 static inline void OPNAME ## _no_rnd_pixels8_l2_8(uint8_t *dst,         \
diff --git a/libavcodec/tpel_template.c b/libavcodec/pel_template.c
similarity index 97%
rename from libavcodec/tpel_template.c
rename to libavcodec/pel_template.c
index f07679a..b832ae7 100644
--- a/libavcodec/tpel_template.c
+++ b/libavcodec/pel_template.c
@@ -25,7 +25,7 @@
 
 #include "bit_depth_template.c"
 
-#define DEF_TPEL(OPNAME, OP)                                            \
+#define DEF_PEL(OPNAME, OP)                                             \
 static inline void FUNCC(OPNAME ## _pixels2)(uint8_t *block,            \
                                              const uint8_t *pixels,     \
                                              ptrdiff_t line_size,       \
@@ -74,7 +74,7 @@ CALL_2X_PIXELS(FUNCC(OPNAME ## _pixels16),                              \
 #define op_avg(a, b) a = rnd_avg_pixel4(a, b)
 #define op_put(a, b) a = b
 
-DEF_TPEL(avg, op_avg)
-DEF_TPEL(put, op_put)
+DEF_PEL(avg, op_avg)
+DEF_PEL(put, op_put)
 #undef op_avg
 #undef op_put
diff --git a/libavcodec/qpeldsp.c b/libavcodec/qpeldsp.c
index 7b51ce2..d5afac7 100644
--- a/libavcodec/qpeldsp.c
+++ b/libavcodec/qpeldsp.c
@@ -33,7 +33,7 @@
 
 #define BIT_DEPTH 8
 #include "hpel_template.c"
-#include "tpel_template.c"
+#include "pel_template.c"
 #include "qpel_template.c"
 
 #define QPEL_MC(r, OPNAME, RND, OP)                                           \
diff --git a/libavcodec/tpeldsp.c b/libavcodec/tpeldsp.c
index 6a16813..7ea1da4 100644
--- a/libavcodec/tpeldsp.c
+++ b/libavcodec/tpeldsp.c
@@ -29,7 +29,7 @@
 #include "tpeldsp.h"
 
 #define BIT_DEPTH 8
-#include "tpel_template.c"
+#include "pel_template.c"
 
 static inline void put_tpel_pixels_mc00_c(uint8_t *dst, const uint8_t *src,
                                           int stride, int width, int height)
-- 
1.8.3.2



More information about the libav-devel mailing list