libavcodec/dsicinav.c File Reference

Delphine Software International CIN audio/video decoders. More...

#include "avcodec.h"
#include "bytestream.h"

Go to the source code of this file.

Data Structures

struct  CinVideoContext
struct  CinAudioContext

Enumerations

enum  CinVideoBitmapIndex { CIN_CUR_BMP = 0, CIN_PRE_BMP = 1, CIN_INT_BMP = 2 }

Functions

static av_cold int cinvideo_decode_init (AVCodecContext *avctx)
static void cin_apply_delta_data (const unsigned char *src, unsigned char *dst, int size)
static int cin_decode_huffman (const unsigned char *src, int src_size, unsigned char *dst, int dst_size)
static void cin_decode_lzss (const unsigned char *src, int src_size, unsigned char *dst, int dst_size)
static void cin_decode_rle (const unsigned char *src, int src_size, unsigned char *dst, int dst_size)
static int cinvideo_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
static av_cold int cinvideo_decode_end (AVCodecContext *avctx)
static av_cold int cinaudio_decode_init (AVCodecContext *avctx)
static int cinaudio_decode_frame (AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)

Variables

static const int16_t cinaudio_delta16_table [256]
AVCodec dsicinvideo_decoder
AVCodec dsicinaudio_decoder


Detailed Description

Delphine Software International CIN audio/video decoders.

Definition in file dsicinav.c.


Enumeration Type Documentation

Enumerator:
CIN_CUR_BMP 
CIN_PRE_BMP 
CIN_INT_BMP 

Definition at line 31 of file dsicinav.c.


Function Documentation

static void cin_apply_delta_data ( const unsigned char *  src,
unsigned char *  dst,
int  size 
) [static]

Definition at line 109 of file dsicinav.c.

Referenced by cinvideo_decode_frame().

static int cin_decode_huffman ( const unsigned char *  src,
int  src_size,
unsigned char *  dst,
int  dst_size 
) [static]

Definition at line 115 of file dsicinav.c.

Referenced by cinvideo_decode_frame().

static void cin_decode_lzss ( const unsigned char *  src,
int  src_size,
unsigned char *  dst,
int  dst_size 
) [static]

Definition at line 148 of file dsicinav.c.

Referenced by cinvideo_decode_frame().

static void cin_decode_rle ( const unsigned char *  src,
int  src_size,
unsigned char *  dst,
int  dst_size 
) [static]

Definition at line 176 of file dsicinav.c.

Referenced by cinvideo_decode_frame().

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

Definition at line 315 of file dsicinav.c.

static av_cold int cinaudio_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 303 of file dsicinav.c.

static av_cold int cinvideo_decode_end ( AVCodecContext avctx  )  [static]

Definition at line 289 of file dsicinav.c.

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

Definition at line 196 of file dsicinav.c.

static av_cold int cinvideo_decode_init ( AVCodecContext avctx  )  [static]

Definition at line 89 of file dsicinav.c.


Variable Documentation

const int16_t cinaudio_delta16_table[256] [static]

Definition at line 53 of file dsicinav.c.

Referenced by cinaudio_decode_frame().

Initial value:

 {
    "dsicinaudio",
    AVMEDIA_TYPE_AUDIO,
    CODEC_ID_DSICINAUDIO,
    sizeof(CinAudioContext),
    cinaudio_decode_init,
    NULL,
    NULL,
    cinaudio_decode_frame,
    .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN audio"),
}

Definition at line 359 of file dsicinav.c.

Initial value:

 {
    "dsicinvideo",
    AVMEDIA_TYPE_VIDEO,
    CODEC_ID_DSICINVIDEO,
    sizeof(CinVideoContext),
    cinvideo_decode_init,
    NULL,
    cinvideo_decode_end,
    cinvideo_decode_frame,
    CODEC_CAP_DR1,
    .long_name = NULL_IF_CONFIG_SMALL("Delphine Software International CIN video"),
}

Definition at line 346 of file dsicinav.c.


Generated on Fri Oct 26 02:36:51 2012 for FFmpeg by  doxygen 1.5.8