diff options
| author | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
|---|---|---|
| committer | Tim Redfern <tim@eclectronics.org> | 2013-12-29 12:19:38 +0000 |
| commit | f7813a5324be39d13ab536c245d15dfc602a7849 (patch) | |
| tree | fad99148b88823d34a5df2f0a25881a002eb291b /ffmpeg/libavcodec/dirac_dwt.c | |
| parent | b7a5a477b8ff4d4e3028b9dfb9a9df0a41463f92 (diff) | |
basic type mechanism working
Diffstat (limited to 'ffmpeg/libavcodec/dirac_dwt.c')
| -rw-r--r-- | ffmpeg/libavcodec/dirac_dwt.c | 15 |
1 files changed, 1 insertions, 14 deletions
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; -} |
