#include "avcodec.h"
#include "libavutil/intreadwrite.h"
#include "bytestream.h"
#include "get_bits.h"
#include "libavutil/lzo.h"
Go to the source code of this file.
Data Structures | |
struct | XanContext |
Defines | |
#define | BITSTREAM_READER_LE |
Functions | |
static av_cold int | xan_decode_init (AVCodecContext *avctx) |
static int | xan_unpack_luma (XanContext *s, uint8_t *dst, const int dst_size) |
static int | xan_unpack (XanContext *s, uint8_t *dest, const int dest_len) |
static int | xan_decode_chroma (AVCodecContext *avctx, unsigned chroma_off) |
static int | xan_decode_frame_type0 (AVCodecContext *avctx) |
static int | xan_decode_frame_type1 (AVCodecContext *avctx) |
static int | xan_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt) |
static av_cold int | xan_decode_end (AVCodecContext *avctx) |
Variables | |
AVCodec | ff_xan_wc4_decoder |
static int xan_decode_chroma | ( | AVCodecContext * | avctx, | |
unsigned | chroma_off | |||
) | [static] |
Definition at line 157 of file xxan.c.
Referenced by xan_decode_frame_type0(), and xan_decode_frame_type1().
static av_cold int xan_decode_end | ( | AVCodecContext * | avctx | ) | [static] |
static int xan_decode_frame | ( | AVCodecContext * | avctx, | |
void * | data, | |||
int * | data_size, | |||
AVPacket * | avpkt | |||
) | [static] |
static int xan_decode_frame_type0 | ( | AVCodecContext * | avctx | ) | [static] |
static int xan_decode_frame_type1 | ( | AVCodecContext * | avctx | ) | [static] |
static av_cold int xan_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static int xan_unpack | ( | XanContext * | s, | |
uint8_t * | dest, | |||
const int | dest_len | |||
) | [static] |
static int xan_unpack_luma | ( | XanContext * | s, | |
uint8_t * | dst, | |||
const int | dst_size | |||
) | [static] |
Definition at line 62 of file xxan.c.
Referenced by xan_decode_frame_type0(), and xan_decode_frame_type1().
Initial value:
{ .name = "xan_wc4", .type = AVMEDIA_TYPE_VIDEO, .id = CODEC_ID_XAN_WC4, .priv_data_size = sizeof(XanContext), .init = xan_decode_init, .close = xan_decode_end, .decode = xan_decode_frame, .capabilities = CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"), }