#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 | ALT_BITSTREAM_READER_LE |
Functions | |
static av_cold int | xan_decode_init (AVCodecContext *avctx) |
static int | xan_unpack_luma (const uint8_t *src, const int src_size, uint8_t *dst, const int dst_size) |
static int | xan_unpack (uint8_t *dest, const int dest_len, const uint8_t *src, const int src_len) |
static int | xan_decode_chroma (AVCodecContext *avctx, AVPacket *avpkt) |
static int | xan_decode_frame_type0 (AVCodecContext *avctx, AVPacket *avpkt) |
static int | xan_decode_frame_type1 (AVCodecContext *avctx, AVPacket *avpkt) |
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, | |
AVPacket * | avpkt | |||
) | [static] |
Definition at line 155 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, | |
AVPacket * | avpkt | |||
) | [static] |
static int xan_decode_frame_type1 | ( | AVCodecContext * | avctx, | |
AVPacket * | avpkt | |||
) | [static] |
static av_cold int xan_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
static int xan_unpack | ( | uint8_t * | dest, | |
const int | dest_len, | |||
const uint8_t * | src, | |||
const int | src_len | |||
) | [static] |
static int xan_unpack_luma | ( | const uint8_t * | src, | |
const int | src_size, | |||
uint8_t * | dst, | |||
const int | dst_size | |||
) | [static] |
Definition at line 61 of file xxan.c.
Referenced by xan_decode_frame_type0(), and xan_decode_frame_type1().
Initial value:
{ "xan_wc4", AVMEDIA_TYPE_VIDEO, CODEC_ID_XAN_WC4, sizeof(XanContext), xan_decode_init, NULL, xan_decode_end, xan_decode_frame, CODEC_CAP_DR1, .long_name = NULL_IF_CONFIG_SMALL("Wing Commander IV / Xxan"), }