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 28 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 37 of file siff.c.

Function Documentation

static int siff_probe ( AVProbeData p)
static

Definition at line 64 of file siff.c.

static int create_audio_stream ( AVFormatContext s,
SIFFContext c 
)
static

Definition at line 74 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 91 of file siff.c.

Referenced by siff_read_header().

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

Definition at line 144 of file siff.c.

Referenced by siff_read_header().

static int siff_read_header ( AVFormatContext s)
static

Definition at line 161 of file siff.c.

static int siff_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 191 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",
}

Definition at line 244 of file siff.c.