FFmpeg
Data Structures | Functions | Variables
brstm.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavcodec/bytestream.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  BRSTMCoeffOffset
 
struct  BRSTMDemuxContext
 

Functions

static int probe (const AVProbeData *p)
 
static int probe_bfstm (const AVProbeData *p)
 
static int read_close (AVFormatContext *s)
 
static int sort_offsets (const void *a, const void *b)
 
static av_always_inline unsigned int read16 (AVFormatContext *s)
 
static av_always_inline unsigned int read32 (AVFormatContext *s)
 
static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 

Variables

AVInputFormat ff_brstm_demuxer
 
AVInputFormat ff_bfstm_demuxer
 

Function Documentation

◆ probe()

static int probe ( const AVProbeData p)
static

Definition at line 47 of file brstm.c.

◆ probe_bfstm()

static int probe_bfstm ( const AVProbeData p)
static

Definition at line 56 of file brstm.c.

◆ read_close()

static int read_close ( AVFormatContext s)
static

Definition at line 66 of file brstm.c.

Referenced by read_header().

◆ sort_offsets()

static int sort_offsets ( const void *  a,
const void *  b 
)
static

Definition at line 75 of file brstm.c.

Referenced by read_header().

◆ read16()

static av_always_inline unsigned int read16 ( AVFormatContext s)
static

Definition at line 82 of file brstm.c.

Referenced by read_header().

◆ read32()

static av_always_inline unsigned int read32 ( AVFormatContext s)
static

Definition at line 91 of file brstm.c.

Referenced by read_header().

◆ read_header()

static int read_header ( AVFormatContext s)
static

Definition at line 100 of file brstm.c.

◆ read_packet()

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 383 of file brstm.c.

◆ read_seek()

static int read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 462 of file brstm.c.

Variable Documentation

◆ ff_brstm_demuxer

AVInputFormat ff_brstm_demuxer
Initial value:
= {
.name = "brstm",
.long_name = NULL_IF_CONFIG_SMALL("BRSTM (Binary Revolution Stream)"),
.priv_data_size = sizeof(BRSTMDemuxContext),
.extensions = "brstm",
}

Definition at line 484 of file brstm.c.

◆ ff_bfstm_demuxer

AVInputFormat ff_bfstm_demuxer
Initial value:
= {
.name = "bfstm",
.long_name = NULL_IF_CONFIG_SMALL("BFSTM (Binary Cafe Stream)"),
.priv_data_size = sizeof(BRSTMDemuxContext),
.extensions = "bfstm,bcstm",
}

Definition at line 496 of file brstm.c.

read_seek
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: brstm.c:462
read_close
static int read_close(AVFormatContext *s)
Definition: brstm.c:66
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:117
BRSTMDemuxContext
Definition: brstm.c:32
probe
static int probe(const AVProbeData *p)
Definition: brstm.c:47
probe_bfstm
static int probe_bfstm(const AVProbeData *p)
Definition: brstm.c:56
read_packet
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: brstm.c:383
read_header
static int read_header(AVFormatContext *s)
Definition: brstm.c:100