comparison snow.c @ 5925:4127277ac925 libavcodec

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 diego
date Fri, 16 Nov 2007 23:15:39 +0000
parents cf1eed15eb87
children bd5f4dc81fbe
comparison
equal deleted inserted replaced
5924:cf1eed15eb87 5925:4127277ac925
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
1170 1163
1171 void ff_snow_horizontal_compose97i(IDWTELEM *b, int width){ 1164 void ff_snow_horizontal_compose97i(IDWTELEM *b, int width){
1172 IDWTELEM temp[width]; 1165 IDWTELEM temp[width];
1173 const int w2= (width+1)>>1; 1166 const int w2= (width+1)>>1;
1174 1167
1306 cs->b0=b2; 1299 cs->b0=b2;
1307 cs->b1=b3; 1300 cs->b1=b3;
1308 cs->b2=b4; 1301 cs->b2=b4;
1309 cs->b3=b5; 1302 cs->b3=b5;
1310 cs->y += 2; 1303 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);
1318 } 1304 }
1319 1305
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){ 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){
1321 int level; 1307 int level;
1322 for(level=decomposition_count-1; level>=0; level--){ 1308 for(level=decomposition_count-1; level>=0; level--){