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 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


Define Documentation

#define BITSTREAM_READER_LE

Definition at line 26 of file xxan.c.


Function Documentation

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]

Definition at line 408 of file xxan.c.

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

Definition at line 369 of file xxan.c.

static int xan_decode_frame_type0 ( AVCodecContext avctx  )  [static]

Definition at line 245 of file xxan.c.

Referenced by xan_decode_frame().

static int xan_decode_frame_type1 ( AVCodecContext avctx  )  [static]

Definition at line 324 of file xxan.c.

Referenced by xan_decode_frame().

static av_cold int xan_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 41 of file xxan.c.

static int xan_unpack ( XanContext s,
uint8_t dest,
const int  dest_len 
) [static]

Definition at line 104 of file xxan.c.

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


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 421 of file xxan.c.


Generated on Fri Oct 26 02:48:00 2012 for FFmpeg by  doxygen 1.5.8