From f7813a5324be39d13ab536c245d15dfc602a7849 Mon Sep 17 00:00:00 2001 From: Tim Redfern Date: Sun, 29 Dec 2013 12:19:38 +0000 Subject: basic type mechanism working --- ffmpeg/libavcodec/dirac_dwt.c | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) (limited to 'ffmpeg/libavcodec/dirac_dwt.c') diff --git a/ffmpeg/libavcodec/dirac_dwt.c b/ffmpeg/libavcodec/dirac_dwt.c index a2848f0..51a924b 100644 --- a/ffmpeg/libavcodec/dirac_dwt.c +++ b/ffmpeg/libavcodec/dirac_dwt.c @@ -535,6 +535,7 @@ int ff_spatial_idwt_init2(DWTContext *d, IDWTELEM *buffer, int width, int height d->vertical_compose_l0 = (void*)vertical_compose_fidelityiL0; d->vertical_compose_h0 = (void*)vertical_compose_fidelityiH0; d->horizontal_compose = horizontal_compose_fidelityi; + d->support = 0; // not really used break; case DWT_DIRAC_DAUB9_7: d->spatial_compose = spatial_compose_daub97i_dy; @@ -569,17 +570,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; -} -- cgit v1.2.3