FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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  BRSTMDemuxContext
 

Functions

static int probe (AVProbeData *p)
 
static int probe_bfstm (AVProbeData *p)
 
static int read_close (AVFormatContext *s)
 
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

static int probe ( AVProbeData p)
static

Definition at line 41 of file brstm.c.

static int probe_bfstm ( AVProbeData p)
static

Definition at line 50 of file brstm.c.

static int read_close ( AVFormatContext s)
static

Definition at line 60 of file brstm.c.

Referenced by read_header().

static av_always_inline unsigned int read16 ( AVFormatContext s)
static

Definition at line 70 of file brstm.c.

Referenced by read_header().

static av_always_inline unsigned int read32 ( AVFormatContext s)
static

Definition at line 79 of file brstm.c.

Referenced by read_header().

static int read_header ( AVFormatContext s)
static

Definition at line 88 of file brstm.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 358 of file brstm.c.

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

Definition at line 443 of file brstm.c.

Variable Documentation

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",
}
static int probe(AVProbeData *p)
Definition: brstm.c:41
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: brstm.c:443
static int read_header(AVFormatContext *s)
Definition: brstm.c:88
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: brstm.c:358
static int read_close(AVFormatContext *s)
Definition: brstm.c:60

Definition at line 461 of file brstm.c.

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",
}
static int probe_bfstm(AVProbeData *p)
Definition: brstm.c:50
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: brstm.c:443
static int read_header(AVFormatContext *s)
Definition: brstm.c:88
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: brstm.c:358
static int read_close(AVFormatContext *s)
Definition: brstm.c:60

Definition at line 473 of file brstm.c.