[FFmpeg-cvslog] avcodec/hevcdsp: rename sao_band_filter c functions

James Almer git at videolan.org
Fri Aug 21 07:26:01 CEST 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Aug 21 02:24:30 2015 -0300| [7a806c68a62c0d9bd00c1e16c103456cc8f11e6e] | committer: James Almer

avcodec/hevcdsp: rename sao_band_filter c functions

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/hevcdsp.c          |    2 +-
 libavcodec/hevcdsp_template.c |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/hevcdsp.c b/libavcodec/hevcdsp.c
index be01e92..9d773d9 100644
--- a/libavcodec/hevcdsp.c
+++ b/libavcodec/hevcdsp.c
@@ -216,7 +216,7 @@ void ff_hevc_dsp_init(HEVCDSPContext *hevcdsp, int bit_depth)
     hevcdsp->sao_band_filter[1] =                                              \
     hevcdsp->sao_band_filter[2] =                                              \
     hevcdsp->sao_band_filter[3] =                                              \
-    hevcdsp->sao_band_filter[4] = FUNC(sao_band_filter_0, depth);              \
+    hevcdsp->sao_band_filter[4] = FUNC(sao_band_filter, depth);                \
     hevcdsp->sao_edge_filter[0] =                                              \
     hevcdsp->sao_edge_filter[1] =                                              \
     hevcdsp->sao_edge_filter[2] =                                              \
diff --git a/libavcodec/hevcdsp_template.c b/libavcodec/hevcdsp_template.c
index c547eec..b840d17 100644
--- a/libavcodec/hevcdsp_template.c
+++ b/libavcodec/hevcdsp_template.c
@@ -301,10 +301,10 @@ IDCT_DC(32)
 #undef SCALE
 #undef ADD_AND_SCALE
 
-static void FUNC(sao_band_filter_0)(uint8_t *_dst, uint8_t *_src,
-                                    ptrdiff_t stride_dst, ptrdiff_t stride_src,
-                                    int16_t *sao_offset_val, int sao_left_class,
-                                    int width, int height)
+static void FUNC(sao_band_filter)(uint8_t *_dst, uint8_t *_src,
+                                  ptrdiff_t stride_dst, ptrdiff_t stride_src,
+                                  int16_t *sao_offset_val, int sao_left_class,
+                                  int width, int height)
 {
     pixel *dst = (pixel *)_dst;
     pixel *src = (pixel *)_src;



More information about the ffmpeg-cvslog mailing list