TIFF image decoder. More...
#include "avcodec.h"
#include "bytestream.h"
#include "lzw.h"
#include "tiff.h"
#include "faxcompr.h"
#include "libavutil/common.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/imgutils.h"
Go to the source code of this file.
Data Structures | |
struct | TiffContext |
Typedefs | |
typedef struct TiffContext | TiffContext |
Functions | |
static unsigned | tget_short (GetByteContext *gb, int le) |
static unsigned | tget_long (GetByteContext *gb, int le) |
static unsigned | tget (GetByteContext *gb, int type, int le) |
static int | tiff_unpack_strip (TiffContext *s, uint8_t *dst, int stride, const uint8_t *src, int size, int lines) |
static int | init_image (TiffContext *s) |
static int | tiff_decode_tag (TiffContext *s) |
static int | decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | tiff_init (AVCodecContext *avctx) |
static av_cold int | tiff_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_tiff_decoder |
TIFF image decoder.
Definition in file tiff.c.
typedef struct TiffContext TiffContext |
static int decode_frame | ( | AVCodecContext * | avctx, |
void * | data, | ||
int * | data_size, | ||
AVPacket * | avpkt | ||
) | [static] |
static int init_image | ( | TiffContext * | s | ) | [static] |
Definition at line 216 of file tiff.c.
Referenced by decode_frame().
static unsigned tget | ( | GetByteContext * | gb, |
int | type, | ||
int | le | ||
) | [static] |
Definition at line 72 of file tiff.c.
Referenced by decode_frame(), and tiff_decode_tag().
static unsigned tget_long | ( | GetByteContext * | gb, |
int | le | ||
) | [static] |
Definition at line 67 of file tiff.c.
Referenced by decode_frame(), tget(), and tiff_decode_tag().
static unsigned tget_short | ( | GetByteContext * | gb, |
int | le | ||
) | [static] |
Definition at line 62 of file tiff.c.
Referenced by decode_frame(), tget(), and tiff_decode_tag().
static int tiff_decode_tag | ( | TiffContext * | s | ) | [static] |
Definition at line 270 of file tiff.c.
Referenced by decode_frame().
static av_cold int tiff_end | ( | AVCodecContext * | avctx | ) | [static] |
static av_cold int tiff_init | ( | AVCodecContext * | avctx | ) | [static] |
static int tiff_unpack_strip | ( | TiffContext * | s, |
uint8_t * | dst, | ||
int | stride, | ||
const uint8_t * | src, | ||
int | size, | ||
int | lines | ||
) | [static] |
Definition at line 105 of file tiff.c.
Referenced by decode_frame().
{ .name = "tiff", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_TIFF, .priv_data_size = sizeof(TiffContext), .init = tiff_init, .close = tiff_end, .decode = decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("TIFF image"), }