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