FFmpeg
|
#include "libavutil/thread.h"
#include "avcodec.h"
#include "get_bits.h"
#include "put_bits.h"
#include "faxcompr.h"
Go to the source code of this file.
Macros | |
#define | CCITT_SYMS 104 |
Functions | |
static av_cold void | ccitt_unpack_init (void) |
av_cold void | ff_ccitt_unpack_init (void) |
initialize unpacker 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 VLCElem | ccitt_group3_2d_vlc [512+528+648] |
static const VLCElem * | ccitt_vlc [2] |
CCITT Fax Group 3 and 4 decompression
Definition in file faxcompr.c.
#define CCITT_SYMS 104 |
Definition at line 33 of file faxcompr.c.
|
static |
Definition at line 102 of file faxcompr.c.
Referenced by ff_ccitt_unpack_init().
av_cold void ff_ccitt_unpack_init | ( | void | ) |
|
static |
Definition at line 124 of file faxcompr.c.
Referenced by decode_group3_1d_line(), and decode_group3_2d_line().
|
static |
Definition at line 202 of file faxcompr.c.
Referenced by ff_ccitt_unpack().
|
static |
Definition at line 248 of file faxcompr.c.
Referenced by ff_ccitt_unpack().
Definition at line 362 of file faxcompr.c.
Referenced by ff_ccitt_unpack().
|
static |
Definition at line 380 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 392 of file faxcompr.c.
Referenced by tiff_unpack_fax().
|
static |
Definition at line 35 of file faxcompr.c.
Referenced by ccitt_unpack_init().
|
static |
Definition at line 46 of file faxcompr.c.
Referenced by ccitt_unpack_init().
|
static |
Definition at line 70 of file faxcompr.c.
Referenced by ccitt_unpack_init().
|
static |
Definition at line 90 of file faxcompr.c.
Referenced by ccitt_unpack_init().
|
static |
Definition at line 94 of file faxcompr.c.
Referenced by ccitt_unpack_init().
|
static |
Definition at line 99 of file faxcompr.c.
Referenced by ccitt_unpack_init(), and decode_group3_2d_line().
|
static |
Definition at line 100 of file faxcompr.c.
Referenced by ccitt_unpack_init(), decode_group3_1d_line(), and decode_group3_2d_line().