FFmpeg  4.0
Data Structures | Macros | Functions | Variables
iss.c File Reference

Funcom ISS file demuxer. More...

#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 (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.

Referenced by iss_probe().

◆ ISS_SIG_LEN

#define ISS_SIG_LEN   15

Definition at line 35 of file iss.c.

Referenced by iss_probe().

◆ MAX_TOKEN_SIZE

#define MAX_TOKEN_SIZE   20

Definition at line 36 of file iss.c.

Referenced by iss_read_header().

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 ( 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),
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static av_cold int iss_read_header(AVFormatContext *s)
Definition: iss.c:69
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int iss_probe(AVProbeData *p)
Definition: iss.c:61
static int iss_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: iss.c:131

Definition at line 146 of file iss.c.