iss.c File Reference

Funcom ISS file demuxer. More...

#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"
#include "libavutil/avstring.h"
Include dependency graph for iss.c:

Go to the source code of this file.

Data Structures

struct  IssDemuxContext
 

Macros

#define ISS_SIG   "IMA_ADPCM_Sound"
 
#define ISS_SIG_LEN   15
 
#define MAX_TOKEN_SIZE   20
 

Functions

static void get_token (AVIOContext *s, char *buf, int maxlen)
 
static int iss_probe (AVProbeData *p)
 
static av_cold int iss_read_header (AVFormatContext *s)
 
static int iss_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_iss_demuxer
 

Detailed Description

Funcom ISS file demuxer.

Author
Jaikrishnan Menon
See also
http://wiki.multimedia.cx/index.php?title=FunCom_ISS

Definition in file iss.c.

Macro Definition Documentation

#define ISS_SIG   "IMA_ADPCM_Sound"

Definition at line 34 of file iss.c.

Referenced by iss_probe().

#define ISS_SIG_LEN   15

Definition at line 35 of file iss.c.

Referenced by iss_probe().

#define MAX_TOKEN_SIZE   20

Definition at line 36 of file iss.c.

Referenced by iss_read_header().

Function Documentation

static void get_token ( AVIOContext s,
char *  buf,
int  maxlen 
)
static

Definition at line 43 of file iss.c.

Referenced by iss_read_header().

static int iss_probe ( AVProbeData p)
static

Definition at line 61 of file iss.c.

static av_cold int iss_read_header ( AVFormatContext s)
static

Definition at line 69 of file iss.c.

static int iss_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 122 of file iss.c.

Variable Documentation

AVInputFormat ff_iss_demuxer
Initial value:
= {
.name = "iss",
.long_name = NULL_IF_CONFIG_SMALL("Funcom ISS"),
.priv_data_size = sizeof(IssDemuxContext),
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static av_cold int iss_read_header(AVFormatContext *s)
Definition: iss.c:69
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int iss_probe(AVProbeData *p)
Definition: iss.c:61
static int iss_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: iss.c:122

Definition at line 137 of file iss.c.