Mercurial > libavcodec.hg
diff dsputil.c @ 2639:e2780f828440 libavcodec
put most codecs under ifdefs
author | michael |
---|---|
date | Mon, 02 May 2005 22:14:42 +0000 |
parents | 72e6ffa1f3a5 |
children | 534f3b47afda |
line wrap: on
line diff
--- a/dsputil.c Mon May 02 19:26:18 2005 +0000 +++ b/dsputil.c Mon May 02 22:14:42 2005 +0000 @@ -292,6 +292,7 @@ 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 @@ pix1 += line_size; pix2 += line_size; } + ff_spatial_dwt(tmp, w, h, 16, type, dec_count); s=0; @@ -369,6 +371,7 @@ 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){