FFmpeg
Data Structures | Macros | Functions | Variables
iss.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "libavutil/avstring.h"

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 (const AVProbeData *p)
 
static av_cold int iss_read_header (AVFormatContext *s)
 
static int iss_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

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

◆ ISS_SIG

#define ISS_SIG   "IMA_ADPCM_Sound"

Definition at line 35 of file iss.c.

◆ ISS_SIG_LEN

#define ISS_SIG_LEN   15

Definition at line 36 of file iss.c.

◆ MAX_TOKEN_SIZE

#define MAX_TOKEN_SIZE   20

Definition at line 37 of file iss.c.

Function Documentation

◆ get_token()

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

Definition at line 44 of file iss.c.

Referenced by iss_read_header().

◆ iss_probe()

static int iss_probe ( const AVProbeData p)
static

Definition at line 62 of file iss.c.

◆ iss_read_header()

static av_cold int iss_read_header ( AVFormatContext s)
static

Definition at line 70 of file iss.c.

◆ iss_read_packet()

static int iss_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 133 of file iss.c.

Variable Documentation

◆ ff_iss_demuxer

const FFInputFormat ff_iss_demuxer
Initial value:
= {
.p.name = "iss",
.p.long_name = NULL_IF_CONFIG_SMALL("Funcom ISS"),
.priv_data_size = sizeof(IssDemuxContext),
}

Definition at line 148 of file iss.c.

iss_read_packet
static int iss_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: iss.c:133
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
iss_read_header
static av_cold int iss_read_header(AVFormatContext *s)
Definition: iss.c:70
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:94
IssDemuxContext
Definition: iss.c:39
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30
iss_probe
static int iss_probe(const AVProbeData *p)
Definition: iss.c:62