diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2005-05-02 22:14:42 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-05-02 22:14:42 +0000 |
commit | 8b975b7ca5b2a18c8825e7e110854a11244cdf78 (patch) | |
tree | c4f80c7d1d276b58c2add6f7577642ee521b1cc4 /libavcodec/dsputil.c | |
parent | 5cc9a6dc19582277c0cb5532b0ca3a54edeedf7d (diff) | |
download | ffmpeg-8b975b7ca5b2a18c8825e7e110854a11244cdf78.tar.gz |
put most codecs under ifdefs
Originally committed as revision 4173 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/dsputil.c')
-rw-r--r-- | libavcodec/dsputil.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/dsputil.c b/libavcodec/dsputil.c index 29e1b0d3c2..2db9c66318 100644 --- a/libavcodec/dsputil.c +++ b/libavcodec/dsputil.c @@ -292,6 +292,7 @@ static int sse16_c(void *v, uint8_t *pix1, uint8_t *pix2, int line_size, int h) static inline int w_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int w, int h, int type){ +#ifdef CONFIG_SNOW_ENCODER //idwt is in snow.c int s, i, j; const int dec_count= w==8 ? 3 : 4; int tmp[16*16]; @@ -338,6 +339,7 @@ static inline int w_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, in pix1 += line_size; pix2 += line_size; } + ff_spatial_dwt(tmp, w, h, 16, type, dec_count); s=0; @@ -369,6 +371,7 @@ static inline int w_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, in assert(s>=0); return s>>2; +#endif } static int w53_8_c(void *v, uint8_t * pix1, uint8_t * pix2, int line_size, int h){ |