[FFmpeg-cvslog] hevcdsp: remove unused parameter from sao_band_filter

James Almer git at videolan.org
Sun Feb 1 19:46:30 CET 2015


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Tue Jan 27 16:37:43 2015 -0300| [65e6ab0c5a9fbef06476ee302c97e0c95a073dd3] | committer: James Almer

hevcdsp: remove unused parameter from sao_band_filter

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

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

 libavcodec/hevc_filter.c      |    7 ++-----
 libavcodec/hevcdsp.h          |    3 +--
 libavcodec/hevcdsp_template.c |    3 +--
 3 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/libavcodec/hevc_filter.c b/libavcodec/hevc_filter.c
index 3aaf3e5..30ade74 100644
--- a/libavcodec/hevc_filter.c
+++ b/libavcodec/hevc_filter.c
@@ -258,11 +258,8 @@ static void sao_filter_CTB(HEVCContext *s, int x, int y)
         switch (sao->type_idx[c_idx]) {
         case SAO_BAND:
             copy_CTB(dst, src, width << s->sps->pixel_shift, height, stride_dst, stride_src);
-            s->hevcdsp.sao_band_filter(src, dst,
-                                       stride_src, stride_dst,
-                                       sao,
-                                       edges, width,
-                                       height, c_idx);
+            s->hevcdsp.sao_band_filter(src, dst, stride_src, stride_dst,
+                                       sao, width, height, c_idx);
             restore_tqb_pixels(s, x, y, width, height, c_idx);
             sao->type_idx[c_idx] = SAO_APPLIED;
             break;
diff --git a/libavcodec/hevcdsp.h b/libavcodec/hevcdsp.h
index ced3b99..353677a 100644
--- a/libavcodec/hevcdsp.h
+++ b/libavcodec/hevcdsp.h
@@ -59,8 +59,7 @@ typedef struct HEVCDSPContext {
     void (*idct_dc[4])(int16_t *coeffs);
 
     void (*sao_band_filter)(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src,
-                            struct SAOParams *sao, int *borders,
-                            int width, int height, int c_idx);
+                            struct SAOParams *sao, int width, int height, int c_idx);
 
     void (*sao_edge_filter[2])(uint8_t *_dst, uint8_t *_src, ptrdiff_t _stride_dst, ptrdiff_t _stride_src,
                                struct SAOParams *sao, int *borders, int _width,
diff --git a/libavcodec/hevcdsp_template.c b/libavcodec/hevcdsp_template.c
index 360a509..a8fff45 100644
--- a/libavcodec/hevcdsp_template.c
+++ b/libavcodec/hevcdsp_template.c
@@ -303,8 +303,7 @@ IDCT_DC(32)
 
 static void FUNC(sao_band_filter_0)(uint8_t *_dst, uint8_t *_src,
                                   ptrdiff_t stride_dst, ptrdiff_t stride_src, SAOParams *sao,
-                                  int *borders, int width, int height,
-                                  int c_idx)
+                                  int width, int height, int c_idx)
 {
     pixel *dst = (pixel *)_dst;
     pixel *src = (pixel *)_src;



More information about the ffmpeg-cvslog mailing list