summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2007-12-06 02:02:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2007-12-06 02:02:41 +0000
commit9a3bb2b89c21bd222cd382b0efd8ac750e73a6f7 (patch)
tree51a11a9f852efe1a87976706aff8eeea91a3ae80
parentd22e844250d511587023ef78457f7fdd21fc23a5 (diff)
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 Originally committed as revision 11173 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavcodec/snow.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/libavcodec/snow.c b/libavcodec/snow.c
index 1795fde824..dbb4688810 100644
--- a/libavcodec/snow.c
+++ b/libavcodec/snow.c
@@ -1160,6 +1160,13 @@ STOP_TIMER("horizontal_compose53i")}
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 @@ STOP_TIMER("horizontal_compose97i")}}
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--){