FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions | Variables
siff.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
#include "avio_internal.h"

Go to the source code of this file.

Data Structures

struct  SIFFContext
 

Enumerations

enum  SIFFTags {
  TAG_SIFF = MKTAG('S', 'I', 'F', 'F'), TAG_BODY = MKTAG('B', 'O', 'D', 'Y'), TAG_VBHD = MKTAG('V', 'B', 'H', 'D'), TAG_SHDR = MKTAG('S', 'H', 'D', 'R'),
  TAG_VBV1 = MKTAG('V', 'B', 'V', '1'), TAG_SOUN = MKTAG('S', 'O', 'U', 'N')
}
 
enum  VBFlags {
  VB_HAS_GMC = 0x01, VB_HAS_AUDIO = 0x04, VB_HAS_VIDEO = 0x08, VB_HAS_PALETTE = 0x10,
  VB_HAS_LENGTH = 0x20, VB_HAS_GMC = 0x01, VB_HAS_AUDIO = 0x04, VB_HAS_VIDEO = 0x08,
  VB_HAS_PALETTE = 0x10, VB_HAS_LENGTH = 0x20
}
 

Functions

static int siff_probe (AVProbeData *p)
 
static int create_audio_stream (AVFormatContext *s, SIFFContext *c)
 
static int siff_parse_vbv1 (AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
 
static int siff_parse_soun (AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
 
static int siff_read_header (AVFormatContext *s)
 
static int siff_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_siff_demuxer
 

Enumeration Type Documentation

enum SIFFTags
Enumerator
TAG_SIFF 
TAG_BODY 
TAG_VBHD 
TAG_SHDR 
TAG_VBV1 
TAG_SOUN 

Definition at line 29 of file siff.c.

enum VBFlags
Enumerator
VB_HAS_GMC 
VB_HAS_AUDIO 
VB_HAS_VIDEO 
VB_HAS_PALETTE 
VB_HAS_LENGTH 
VB_HAS_GMC 
VB_HAS_AUDIO 
VB_HAS_VIDEO 
VB_HAS_PALETTE 
VB_HAS_LENGTH 

Definition at line 38 of file siff.c.

Function Documentation

static int siff_probe ( AVProbeData p)
static

Definition at line 65 of file siff.c.

static int create_audio_stream ( AVFormatContext s,
SIFFContext c 
)
static

Definition at line 75 of file siff.c.

Referenced by siff_parse_soun(), and siff_parse_vbv1().

static int siff_parse_vbv1 ( AVFormatContext s,
SIFFContext c,
AVIOContext pb 
)
static

Definition at line 92 of file siff.c.

Referenced by siff_read_header().

static int siff_parse_soun ( AVFormatContext s,
SIFFContext c,
AVIOContext pb 
)
static

Definition at line 145 of file siff.c.

Referenced by siff_read_header().

static int siff_read_header ( AVFormatContext s)
static

Definition at line 162 of file siff.c.

static int siff_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 192 of file siff.c.

Variable Documentation

AVInputFormat ff_siff_demuxer
Initial value:
= {
.name = "siff",
.long_name = NULL_IF_CONFIG_SMALL("Beam Software SIFF"),
.priv_data_size = sizeof(SIFFContext),
.extensions = "vb,son",
}
static int siff_probe(AVProbeData *p)
Definition: siff.c:65
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:179
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:510
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int siff_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: siff.c:192
static int siff_read_header(AVFormatContext *s)
Definition: siff.c:162

Definition at line 250 of file siff.c.