FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
avs.c File Reference

Argonaut Games' Creature Shock demuxer. More...

#include "avformat.h"
#include "voc.h"

Go to the source code of this file.

Data Structures

struct  AvsFormat
 

Enumerations

enum  AvsBlockType {
  AVS_VIDEO = 0x01, AVS_AUDIO = 0x02, AVS_PALETTE = 0x03, AVS_GAME_DATA = 0x04,
  AVS_NONE = 0x00, AVS_VIDEO = 0x01, AVS_AUDIO = 0x02, AVS_PALETTE = 0x03,
  AVS_GAME_DATA = 0x04
}
 

Functions

static int avs_probe (AVProbeData *p)
 
static int avs_read_header (AVFormatContext *s)
 
static int avs_read_video_packet (AVFormatContext *s, AVPacket *pkt, AvsBlockType type, int sub_type, int size, uint8_t *palette, int palette_size)
 
static int avs_read_audio_packet (AVFormatContext *s, AVPacket *pkt)
 
static int avs_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int avs_read_close (AVFormatContext *s)
 

Variables

AVInputFormat ff_avs_demuxer
 

Detailed Description

Argonaut Games' Creature Shock demuxer.

See Also
http://wiki.multimedia.cx/index.php?title=AVS

Definition in file avs.c.

Enumeration Type Documentation

Enumerator
AVS_VIDEO 
AVS_AUDIO 
AVS_PALETTE 
AVS_GAME_DATA 
AVS_NONE 
AVS_VIDEO 
AVS_AUDIO 
AVS_PALETTE 
AVS_GAME_DATA 

Definition at line 45 of file avs.c.

Function Documentation

static int avs_probe ( AVProbeData p)
static

Definition at line 53 of file avs.c.

static int avs_read_header ( AVFormatContext s)
static

Definition at line 66 of file avs.c.

static int avs_read_video_packet ( AVFormatContext s,
AVPacket pkt,
AvsBlockType  type,
int  sub_type,
int  size,
uint8_t palette,
int  palette_size 
)
static

Definition at line 92 of file avs.c.

Referenced by avs_read_packet().

static int avs_read_audio_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 129 of file avs.c.

Referenced by avs_read_packet().

static int avs_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 150 of file avs.c.

static int avs_read_close ( AVFormatContext s)
static

Definition at line 227 of file avs.c.

Variable Documentation

AVInputFormat ff_avs_demuxer
Initial value:
= {
.name = "avs",
.long_name = NULL_IF_CONFIG_SMALL("Argonaut Games Creature Shock"),
.priv_data_size = sizeof(AvsFormat),
}
static int avs_read_close(AVFormatContext *s)
Definition: avs.c:227
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
Definition: avs.c:32
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int avs_probe(AVProbeData *p)
Definition: avs.c:53
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int avs_read_header(AVFormatContext *s)
Definition: avs.c:66
static int avs_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: avs.c:150

Definition at line 232 of file avs.c.