[FFmpeg-cvslog] avcodec/dirac_dwt: Remove unused ff_spatial_idwt2()

Michael Niedermayer git at videolan.org
Fri Aug 16 16:07:52 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 16 15:56:10 2013 +0200| [29852ffc64edc407d8d9f59651e2f4da85ebb6ca] | committer: Michael Niedermayer

avcodec/dirac_dwt: Remove unused ff_spatial_idwt2()

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavcodec/dirac_dwt.c |   14 --------------
 libavcodec/dirac_dwt.h |    3 ---
 2 files changed, 17 deletions(-)

diff --git a/libavcodec/dirac_dwt.c b/libavcodec/dirac_dwt.c
index a2848f0..bbd8ec7 100644
--- a/libavcodec/dirac_dwt.c
+++ b/libavcodec/dirac_dwt.c
@@ -569,17 +569,3 @@ void ff_spatial_idwt_slice2(DWTContext *d, int y)
     }
 }
 
-int ff_spatial_idwt2(IDWTELEM *buffer, int width, int height, int stride,
-                     enum dwt_type type, int decomposition_count, IDWTELEM *temp)
-{
-    DWTContext d;
-    int y;
-
-    if (ff_spatial_idwt_init2(&d, buffer, width, height, stride, type, decomposition_count, temp))
-        return -1;
-
-    for (y = 0; y < d.height; y += 4)
-        ff_spatial_idwt_slice2(&d, y);
-
-    return 0;
-}
diff --git a/libavcodec/dirac_dwt.h b/libavcodec/dirac_dwt.h
index 9514e95..25c13d1 100644
--- a/libavcodec/dirac_dwt.h
+++ b/libavcodec/dirac_dwt.h
@@ -80,9 +80,6 @@ int ff_spatial_idwt_init2(DWTContext *d, IDWTELEM *buffer, int width, int height
                           int stride, enum dwt_type type, int decomposition_count,
                           IDWTELEM *temp);
 
-int ff_spatial_idwt2(IDWTELEM *buffer, int width, int height, int stride,
-                     enum dwt_type type, int decomposition_count, IDWTELEM *temp);
-
 void ff_spatial_idwt_slice2(DWTContext *d, int y);
 
 // shared stuff for simd optimiztions



More information about the ffmpeg-cvslog mailing list