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
 
#define SMUSH_BLOCK_SIZE   512
 

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().

#define SMUSH_BLOCK_SIZE   512

Definition at line 48 of file bink.c.

Referenced by probe(), and read_header().

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 62 of file bink.c.

static int read_header ( AVFormatContext s)
static

Definition at line 84 of file bink.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 234 of file bink.c.

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

Definition at line 301 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:62
#define AVFMT_SHOW_IDS
Show format stream IDs numbers.
Definition: avformat.h:467
#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_header(AVFormatContext *s)
Definition: bink.c:84
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
#define flags(name, subs,...)
Definition: cbs_av1.c:596
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: bink.c:234
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: bink.c:301

Definition at line 319 of file bink.c.