# HG changeset patch # User michael # Date 1196906561 0 # Node ID 919193c63fb8b4fd2d6ae40d24ee6b4e71715ba6 # Parent bc6d765d1d5381daaa95602de87cb88d6c962bcd thank you for your efforts to keep my code clean, but i would like to keep the functions below as they are usefull for debugging, testing, experiments and development revert r11048 | diego | 2007-11-17 00:15:39 +0100 (Sat, 17 Nov 2007) | 4 lines Remove unused functions, fixes the warnings: snow.c:1163: warning: 'spatial_compose53i' defined but not used snow.c:1313: warning: 'spatial_compose97i' defined but not used diff -r bc6d765d1d53 -r 919193c63fb8 snow.c --- a/snow.c Wed Dec 05 18:02:48 2007 +0000 +++ b/snow.c Thu Dec 06 02:02:41 2007 +0000 @@ -1160,6 +1160,13 @@ cs->y += 2; } +static void spatial_compose53i(IDWTELEM *buffer, int width, int height, int stride){ + dwt_compose_t cs; + spatial_compose53i_init(&cs, buffer, height, stride); + while(cs.y <= height) + spatial_compose53i_dy(&cs, buffer, width, height, stride); +} + void ff_snow_horizontal_compose97i(IDWTELEM *b, int width){ IDWTELEM temp[width]; @@ -1303,6 +1310,13 @@ cs->y += 2; } +static void spatial_compose97i(IDWTELEM *buffer, int width, int height, int stride){ + dwt_compose_t cs; + spatial_compose97i_init(&cs, buffer, height, stride); + while(cs.y <= height) + spatial_compose97i_dy(&cs, buffer, width, height, stride); +} + static void ff_spatial_idwt_buffered_init(dwt_compose_t *cs, slice_buffer * sb, int width, int height, int stride_line, int type, int decomposition_count){ int level; for(level=decomposition_count-1; level>=0; level--){