summaryrefslogtreecommitdiff
path: root/libavcodec/dwt.c
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gmail.com>2011-01-25 02:59:28 +0100
committerJanne Grunau <janne-ffmpeg@jannau.net>2011-01-25 21:48:03 +0100
commitebb06d96ed3f6e1c16f2d40e55c151b5b5522918 (patch)
treeaaa85d9555889f39f00fc7f3f025ca6882d5dcc5 /libavcodec/dwt.c
parentf2e246f576cd53e75b3696e1db418be98fbda76f (diff)
downloadffmpeg-ebb06d96ed3f6e1c16f2d40e55c151b5b5522918.tar.gz
Make ff_spatial_idwt_{init, slice} static to dwt.c
Both functions seem to be commanded by the ff_spatial_idwt function instead. Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Diffstat (limited to 'libavcodec/dwt.c')
-rw-r--r--libavcodec/dwt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dwt.c b/libavcodec/dwt.c
index 2ecb04a4ee..d9d58de8b2 100644
--- a/libavcodec/dwt.c
+++ b/libavcodec/dwt.c
@@ -697,7 +697,7 @@ void ff_spatial_idwt_buffered_slice(DWTContext *dsp, DWTCompose *cs, slice_buffe
}
}
-void ff_spatial_idwt_init(DWTCompose *cs, IDWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count){
+static void ff_spatial_idwt_init(DWTCompose *cs, IDWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count){
int level;
for(level=decomposition_count-1; level>=0; level--){
switch(type){
@@ -707,7 +707,7 @@ void ff_spatial_idwt_init(DWTCompose *cs, IDWTELEM *buffer, int width, int heigh
}
}
-void ff_spatial_idwt_slice(DWTCompose *cs, IDWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count, int y){
+static void ff_spatial_idwt_slice(DWTCompose *cs, IDWTELEM *buffer, int width, int height, int stride, int type, int decomposition_count, int y){
const int support = type==1 ? 3 : 5;
int level;
if(type==2) return;