FFmpeg
Data Structures | Macros | Functions | Variables
iss.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.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 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

◆ ISS_SIG

#define ISS_SIG   "IMA_ADPCM_Sound"

Definition at line 34 of file iss.c.

◆ ISS_SIG_LEN

#define ISS_SIG_LEN   15

Definition at line 35 of file iss.c.

◆ MAX_TOKEN_SIZE

#define MAX_TOKEN_SIZE   20

Definition at line 36 of file iss.c.

Function Documentation

◆ get_token()

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

Definition at line 43 of file iss.c.

Referenced by iss_read_header().

◆ iss_probe()

static int iss_probe ( const AVProbeData p)
static

Definition at line 61 of file iss.c.

◆ iss_read_header()

static av_cold int iss_read_header ( AVFormatContext s)
static

Definition at line 69 of file iss.c.

◆ iss_read_packet()

static int iss_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 132 of file iss.c.

Variable Documentation

◆ ff_iss_demuxer

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

Definition at line 147 of file iss.c.

iss_read_packet
static int iss_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: iss.c:132
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
iss_read_header
static av_cold int iss_read_header(AVFormatContext *s)
Definition: iss.c:69
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
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:106
IssDemuxContext
Definition: iss.c:38
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:29
iss_probe
static int iss_probe(const AVProbeData *p)
Definition: iss.c:61