From 98713e55b4fb373819511c12b52dd2a2d3eea704 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Sat, 6 Mar 2010 22:37:03 +0000 Subject: [PATCH] Move ff_spatial_dwt() prototype to snow.h Originally committed as revision 22265 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/dsputil.c | 3 --- libavcodec/snow.h | 2 ++ 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 8513e86329..5c776fd04e 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -41,9 +41,6 @@ #include "vorbis.h" #include "png.h" -/* snow.c */ -void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); - uint8_t ff_cropTbl[256 + 2 * MAX_NEG_CROP] = {0, }; uint32_t ff_squareTbl[512] = {0, }; diff --git a/libavcodec/snow.h b/libavcodec/snow.h index 5d5ae1e68a..3dbc618fae 100644 --- a/libavcodec/snow.h +++ b/libavcodec/snow.h @@ -133,6 +133,8 @@ static int w53_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int static int w97_32_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h) {assert (0); return 0;} #endif +void ff_spatial_dwt(int *buffer, int width, int height, int stride, int type, int decomposition_count); + /* C bits used by mmx/sse2/altivec */ static av_always_inline void snow_interleave_line_header(int * i, int width, IDWTELEM * low, IDWTELEM * high){