Mercurial > libavcodec.hg
diff faxcompr.h @ 8474:cb4009996efa libavcodec
Merge ff_ccitt_unpack_1d and 2d.
author | michael |
---|---|
date | Fri, 26 Dec 2008 15:05:12 +0000 |
parents | a11f1002f6b0 |
children | 18737839ed27 |
line wrap: on
line diff
--- a/faxcompr.h Fri Dec 26 14:57:42 2008 +0000 +++ b/faxcompr.h Fri Dec 26 15:05:12 2008 +0000 @@ -28,6 +28,7 @@ #define AVCODEC_FAXCOMPR_H #include "avcodec.h" +#include "tiff.h" /** * initialize upacker code @@ -35,17 +36,10 @@ void ff_ccitt_unpack_init(); /** - * unpack data compressed with CCITT Group 3 1-D method + * unpack data compressed with CCITT Group 3 1/2-D or Group 4 method */ -int ff_ccitt_unpack_1d(AVCodecContext *avctx, +int ff_ccitt_unpack(AVCodecContext *avctx, const uint8_t *src, int srcsize, - uint8_t *dst, int height, int stride); - -/** - * unpack data compressed with CCITT Group 3 2-D or Group 4 method - */ -int ff_ccitt_unpack_2d(AVCodecContext *avctx, - const uint8_t *src, int srcsize, - uint8_t *dst, int height, int stride, int g4); + uint8_t *dst, int height, int stride, enum TiffCompr compr); #endif /* AVCODEC_FAXCOMPR_H */