bink.c File Reference

Bink demuxer. More...

#include "libavutil/intreadwrite.h"
#include "avformat.h"
#include "internal.h"

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, AVFormatParameters *ap)
 
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 bink.c.

Macro Definition Documentation

#define BINK_EXTRADATA_SIZE   1

Definition at line 41 of file bink.c.

#define BINK_MAX_AUDIO_TRACKS   256

Definition at line 42 of file bink.c.

Referenced by read_header().

#define BINK_MAX_HEIGHT   4800

Definition at line 44 of file bink.c.

Referenced by probe().

#define BINK_MAX_WIDTH   7680

Definition at line 43 of file 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 35 of file bink.c.

Function Documentation

static int probe ( AVProbeData p)
static

Definition at line 57 of file bink.c.

static int read_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 71 of file bink.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 184 of file bink.c.

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

Definition at line 251 of file 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)
Definition: bink.c:57
static int read_header(AVFormatContext *s, AVFormatParameters *ap)
Definition: bink.c:71
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:191
static int read_probe(AVProbeData *p)
Definition: img2.c:185
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: bink.c:184
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: bink.c:251

Definition at line 267 of file bink.c.