libavformat/bink.c File Reference

Bink demuxer. More...

#include "libavutil/channel_layout.h"
#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"
Include dependency graph for libavformat/bink.c:

Go to the source code of this file.

Data Structures

struct  BinkDemuxContext
 

Macros

#define BINK_EXTRADATA_SIZE   1
 
#define BINK_MAX_AUDIO_TRACKS   256
 
#define BINK_MAX_WIDTH   7680
 
#define BINK_MAX_HEIGHT   4800
 

Enumerations

enum  BinkAudFlags { BINK_AUD_16BITS = 0x4000, BINK_AUD_STEREO = 0x2000, BINK_AUD_USEDCT = 0x1000 }
 

Functions

static int probe (AVProbeData *p)
 
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_bink_demuxer
 

Detailed Description

Bink demuxer.

Technical details here: http://wiki.multimedia.cx/index.php?title=Bink_Container

Definition in file libavformat/bink.c.

Macro Definition Documentation

#define BINK_EXTRADATA_SIZE   1

Definition at line 42 of file libavformat/bink.c.

#define BINK_MAX_AUDIO_TRACKS   256

Definition at line 43 of file libavformat/bink.c.

Referenced by read_header().

#define BINK_MAX_HEIGHT   4800

Definition at line 45 of file libavformat/bink.c.

Referenced by probe().

#define BINK_MAX_WIDTH   7680

Definition at line 44 of file libavformat/bink.c.

Referenced by probe().

Enumeration Type Documentation

Enumerator
BINK_AUD_16BITS 

prefer 16-bit output

BINK_AUD_STEREO 
BINK_AUD_USEDCT 

Definition at line 36 of file libavformat/bink.c.

Function Documentation

static int probe ( AVProbeData p)
static

Definition at line 58 of file libavformat/bink.c.

static int read_header ( AVFormatContext s)
static

Definition at line 72 of file libavformat/bink.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 194 of file libavformat/bink.c.

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

Definition at line 261 of file libavformat/bink.c.

Variable Documentation

AVInputFormat ff_bink_demuxer
Initial value:
= {
.name = "bink",
.long_name = NULL_IF_CONFIG_SMALL("Bink"),
.priv_data_size = sizeof(BinkDemuxContext),
}
static int probe(AVProbeData *p)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(AVFormatContext *s)
static int read_probe(AVProbeData *pd)
static int read_packet(AVFormatContext *s, AVPacket *pkt)
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)

Definition at line 279 of file libavformat/bink.c.