From 29852ffc64edc407d8d9f59651e2f4da85ebb6ca Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 16 Aug 2013 15:56:10 +0200 Subject: [PATCH] avcodec/dirac_dwt: Remove unused ff_spatial_idwt2() Signed-off-by: Michael Niedermayer --- 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 a2848f01ac..bbd8ec74a6 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 9514e9575b..25c13d1a65 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