FFmpeg
|
CCITT Fax Group 3 and 4 decompression. More...
Go to the source code of this file.
Macros | |
#define | CCITT_SYMS 104 |
Functions | |
av_cold void | ff_ccitt_unpack_init (void) |
initialize upacker code More... | |
static int | decode_uncompressed (AVCodecContext *avctx, GetBitContext *gb, unsigned int *pix_left, int **runs, const int *runend, int *mode) |
static int | decode_group3_1d_line (AVCodecContext *avctx, GetBitContext *gb, unsigned int pix_left, int *runs, const int *runend) |
static int | decode_group3_2d_line (AVCodecContext *avctx, GetBitContext *gb, unsigned int width, int *runs, const int *runend, const int *ref) |
static void | put_line (uint8_t *dst, int size, int width, const int *runs) |
static int | find_group3_syncmarker (GetBitContext *gb, int srcsize) |
int | ff_ccitt_unpack (AVCodecContext *avctx, const uint8_t *src, int srcsize, uint8_t *dst, int height, int stride, enum TiffCompr compr, int opts) |
unpack data compressed with CCITT Group 3 1/2-D or Group 4 method More... | |
Variables | |
static const uint16_t | ccitt_syms [CCITT_SYMS] |
static const uint8_t | ccitt_codes_bits [2][CCITT_SYMS] |
static const uint8_t | ccitt_codes_lens [2][CCITT_SYMS] |
static const uint8_t | ccitt_group3_2d_bits [11] |
static const uint8_t | ccitt_group3_2d_lens [11] |
static VLC | ccitt_vlc [2] |
static VLC | ccitt_group3_2d_vlc |
CCITT Fax Group 3 and 4 decompression.
Definition in file faxcompr.c.
#define CCITT_SYMS 104 |
Definition at line 32 of file faxcompr.c.
Referenced by ff_ccitt_unpack_init().
|
static |
Definition at line 125 of file faxcompr.c.
Referenced by decode_group3_1d_line(), and decode_group3_2d_line().
|
static |
Definition at line 197 of file faxcompr.c.
Referenced by ff_ccitt_unpack().
|
static |
Definition at line 241 of file faxcompr.c.
Referenced by ff_ccitt_unpack().
Definition at line 347 of file faxcompr.c.
Referenced by ff_ccitt_unpack().
|
static |
Definition at line 365 of file faxcompr.c.
Referenced by ff_ccitt_unpack().
int ff_ccitt_unpack | ( | AVCodecContext * | avctx, |
const uint8_t * | src, | ||
int | srcsize, | ||
uint8_t * | dst, | ||
int | height, | ||
int | stride, | ||
enum TiffCompr | compr, | ||
int | opts | ||
) |
unpack data compressed with CCITT Group 3 1/2-D or Group 4 method
Definition at line 377 of file faxcompr.c.
Referenced by tiff_unpack_fax().
|
static |
Definition at line 34 of file faxcompr.c.
Referenced by ff_ccitt_unpack_init().
|
static |
Definition at line 45 of file faxcompr.c.
Referenced by ff_ccitt_unpack_init().
|
static |
Definition at line 69 of file faxcompr.c.
Referenced by ff_ccitt_unpack_init().
|
static |
Definition at line 89 of file faxcompr.c.
Referenced by ff_ccitt_unpack_init().
|
static |
Definition at line 93 of file faxcompr.c.
Referenced by ff_ccitt_unpack_init().
|
static |
Definition at line 97 of file faxcompr.c.
|
static |
Definition at line 97 of file faxcompr.c.