FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
bink.c File Reference

Bink demuxer. More...

#include "libavutil/channel_layout.h"
#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)
 
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 42 of file bink.c.

#define BINK_MAX_AUDIO_TRACKS   256

Definition at line 43 of file bink.c.

Referenced by read_header().

#define BINK_MAX_WIDTH   7680

Definition at line 44 of file bink.c.

Referenced by probe().

#define BINK_MAX_HEIGHT   4800

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

Function Documentation

static int probe ( AVProbeData p)
static

Definition at line 58 of file bink.c.

static int read_header ( AVFormatContext s)
static

Definition at line 72 of file bink.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 193 of file bink.c.

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

Definition at line 260 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),
}

Definition at line 278 of file bink.c.