libavcodec/xxan.c File Reference

#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


Define Documentation

#define ALT_BITSTREAM_READER_LE

Definition at line 26 of file xxan.c.


Function Documentation

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]

Definition at line 411 of file xxan.c.

static int xan_decode_frame ( AVCodecContext avctx,
void *  data,
int *  data_size,
AVPacket avpkt 
) [static]

Definition at line 373 of file xxan.c.

static int xan_decode_frame_type0 ( AVCodecContext avctx,
AVPacket avpkt 
) [static]

Definition at line 240 of file xxan.c.

Referenced by xan_decode_frame().

static int xan_decode_frame_type1 ( AVCodecContext avctx,
AVPacket avpkt 
) [static]

Definition at line 328 of file xxan.c.

Referenced by xan_decode_frame().

static av_cold int xan_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 40 of file xxan.c.

static int xan_unpack ( uint8_t *  dest,
const int  dest_len,
const uint8_t *  src,
const int  src_len 
) [static]

Definition at line 103 of file xxan.c.

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().


Variable Documentation

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"),
}

Definition at line 424 of file xxan.c.


Generated on Fri Oct 26 02:43:50 2012 for FFmpeg by  doxygen 1.5.8