]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/faxcompr.h
DCA: ARM/NEON optimised lfe_fir
[ffmpeg] / libavcodec / faxcompr.h
index 51a3497cc91ef0116a985086acc39197d5b87515..04b23c31665c8822b843ed5025f7b4d72481b425 100644 (file)
 
 /**
  * CCITT Fax Group 3 and 4 decompression
- * @file faxcompr.h
+ * @file libavcodec/faxcompr.h
  * @author Konstantin Shishkov
  */
 #ifndef AVCODEC_FAXCOMPR_H
 #define AVCODEC_FAXCOMPR_H
 
 #include "avcodec.h"
+#include "tiff.h"
 
 /**
  * initialize upacker code
  */
-void ff_ccitt_unpack_init();
+void ff_ccitt_unpack_init(void);
 
 /**
- * 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,
-                       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);
+int ff_ccitt_unpack(AVCodecContext *avctx,
+                    const uint8_t *src, int srcsize,
+                    uint8_t *dst, int height, int stride,
+                    enum TiffCompr compr, int opts);
 
 #endif /* AVCODEC_FAXCOMPR_H */