Mercurial > libavcodec.hg
comparison snow.c @ 5988:919193c63fb8 libavcodec
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
author | michael |
---|---|
date | Thu, 06 Dec 2007 02:02:41 +0000 |
parents | bd5f4dc81fbe |
children | 382aa8b243c5 |
comparison
equal
deleted
inserted
replaced
5987:bc6d765d1d53 | 5988:919193c63fb8 |
---|---|
1158 cs->b0 = b2; | 1158 cs->b0 = b2; |
1159 cs->b1 = b3; | 1159 cs->b1 = b3; |
1160 cs->y += 2; | 1160 cs->y += 2; |
1161 } | 1161 } |
1162 | 1162 |
1163 static void spatial_compose53i(IDWTELEM *buffer, int width, int height, int stride){ | |
1164 dwt_compose_t cs; | |
1165 spatial_compose53i_init(&cs, buffer, height, stride); | |
1166 while(cs.y <= height) | |
1167 spatial_compose53i_dy(&cs, buffer, width, height, stride); | |
1168 } | |
1169 | |
1163 | 1170 |
1164 void ff_snow_horizontal_compose97i(IDWTELEM *b, int width){ | 1171 void ff_snow_horizontal_compose97i(IDWTELEM *b, int width){ |
1165 IDWTELEM temp[width]; | 1172 IDWTELEM temp[width]; |
1166 const int w2= (width+1)>>1; | 1173 const int w2= (width+1)>>1; |
1167 | 1174 |
1299 cs->b0=b2; | 1306 cs->b0=b2; |
1300 cs->b1=b3; | 1307 cs->b1=b3; |
1301 cs->b2=b4; | 1308 cs->b2=b4; |
1302 cs->b3=b5; | 1309 cs->b3=b5; |
1303 cs->y += 2; | 1310 cs->y += 2; |
1311 } | |
1312 | |
1313 static void spatial_compose97i(IDWTELEM *buffer, int width, int height, int stride){ | |
1314 dwt_compose_t cs; | |
1315 spatial_compose97i_init(&cs, buffer, height, stride); | |
1316 while(cs.y <= height) | |
1317 spatial_compose97i_dy(&cs, buffer, width, height, stride); | |
1304 } | 1318 } |
1305 | 1319 |
1306 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){ | 1320 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){ |
1307 int level; | 1321 int level; |
1308 for(level=decomposition_count-1; level>=0; level--){ | 1322 for(level=decomposition_count-1; level>=0; level--){ |