libavformat/avs.c File Reference
#include "avformat.h"
#include "voc.h"
Include dependency graph for libavformat/avs.c:

Go to the source code of this file.

Data Structures

struct  avs_format
 

Typedefs

typedef struct avs_format AvsFormat
 
typedef enum avs_block_type AvsBlockType
 

Enumerations

enum  avs_block_type {
  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
 

Typedef Documentation

typedef struct avs_format AvsFormat

Enumeration Type Documentation

Enumerator
AVS_NONE 
AVS_VIDEO 
AVS_AUDIO 
AVS_PALETTE 
AVS_GAME_DATA 

Definition at line 39 of file libavformat/avs.c.

Function Documentation

static int avs_probe ( AVProbeData p)
static

Definition at line 47 of file libavformat/avs.c.

static int avs_read_audio_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 121 of file libavformat/avs.c.

Referenced by avs_read_packet().

static int avs_read_close ( AVFormatContext s)
static

Definition at line 219 of file libavformat/avs.c.

static int avs_read_header ( AVFormatContext s)
static

Definition at line 58 of file libavformat/avs.c.

static int avs_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 142 of file libavformat/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 84 of file libavformat/avs.c.

Referenced by avs_read_packet().

Variable Documentation

AVInputFormat ff_avs_demuxer
Initial value:
= {
.name = "avs",
.long_name = NULL_IF_CONFIG_SMALL("AVS"),
.priv_data_size = sizeof(AvsFormat),
}
struct avs_format AvsFormat
static int avs_read_close(AVFormatContext *s)
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_probe(AVProbeData *pd)
static int avs_probe(AVProbeData *p)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int avs_read_header(AVFormatContext *s)
static int avs_read_packet(AVFormatContext *s, AVPacket *pkt)

Definition at line 224 of file libavformat/avs.c.