FFmpeg
Data Structures | Macros | Enumerations | Functions | Variables
bink.c File Reference
#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 (const 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

◆ BINK_EXTRADATA_SIZE

#define BINK_EXTRADATA_SIZE   1

Definition at line 44 of file bink.c.

◆ BINK_MAX_AUDIO_TRACKS

#define BINK_MAX_AUDIO_TRACKS   256

Definition at line 45 of file bink.c.

◆ BINK_MAX_WIDTH

#define BINK_MAX_WIDTH   7680

Definition at line 46 of file bink.c.

◆ BINK_MAX_HEIGHT

#define BINK_MAX_HEIGHT   4800

Definition at line 47 of file bink.c.

◆ SMUSH_BLOCK_SIZE

#define SMUSH_BLOCK_SIZE   512

Definition at line 48 of file bink.c.

Enumeration Type Documentation

◆ BinkAudFlags

Enumerator
BINK_AUD_16BITS 

prefer 16-bit output

BINK_AUD_STEREO 
BINK_AUD_USEDCT 

Definition at line 38 of file bink.c.

Function Documentation

◆ probe()

static int probe ( const AVProbeData p)
static

Definition at line 63 of file bink.c.

◆ read_header()

static int read_header ( AVFormatContext s)
static

Definition at line 85 of file bink.c.

◆ read_packet()

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 237 of file bink.c.

◆ read_seek()

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

Definition at line 306 of file bink.c.

Variable Documentation

◆ ff_bink_demuxer

AVInputFormat ff_bink_demuxer
Initial value:
= {
.name = "bink",
.long_name = NULL_IF_CONFIG_SMALL("Bink"),
.priv_data_size = sizeof(BinkDemuxContext),
}

Definition at line 326 of file bink.c.

AVFMT_SHOW_IDS
#define AVFMT_SHOW_IDS
Show format stream IDs numbers.
Definition: avformat.h:460
BinkDemuxContext
Definition: bink.c:50
read_seek
static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: bink.c:306
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
probe
static int probe(const AVProbeData *p)
Definition: bink.c:63
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
read_header
static int read_header(AVFormatContext *s)
Definition: bink.c:85
read_packet
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: bink.c:237
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:565