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

Bink demuxer. More...

#include <inttypes.h>
#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 44 of file bink.c.

#define BINK_MAX_AUDIO_TRACKS   256

Definition at line 45 of file bink.c.

Referenced by read_header().

#define BINK_MAX_WIDTH   7680

Definition at line 46 of file bink.c.

Referenced by probe().

#define BINK_MAX_HEIGHT   4800

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

Function Documentation

static int probe ( AVProbeData p)
static

Definition at line 60 of file bink.c.

static int read_header ( AVFormatContext s)
static

Definition at line 76 of file bink.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 206 of file bink.c.

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

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