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

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 131 of file iss.c.

Variable Documentation

◆ ff_iss_demuxer

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

Definition at line 146 of file iss.c.

iss_read_packet
static int iss_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: iss.c:131
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:530
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
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:188
IssDemuxContext
Definition: iss.c:38
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
iss_probe
static int iss_probe(const AVProbeData *p)
Definition: iss.c:61