FFmpeg
Data Structures | Enumerations | Functions | Variables
bmv.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  BMVContext
 

Enumerations

enum  BMVFlags {
  BMV_NOP = 0, BMV_END, BMV_DELTA, BMV_INTRA,
  BMV_SCROLL = 0x04, BMV_PALETTE = 0x08, BMV_COMMAND = 0x10, BMV_AUDIO = 0x20,
  BMV_EXT = 0x40, BMV_PRINT = 0x80, BMV_NOP = 0, BMV_END,
  BMV_DELTA, BMV_INTRA, BMV_AUDIO = 0x20
}
 

Functions

static int bmv_read_header (AVFormatContext *s)
 
static int bmv_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int bmv_read_close (AVFormatContext *s)
 

Variables

const AVInputFormat ff_bmv_demuxer
 

Enumeration Type Documentation

◆ BMVFlags

enum BMVFlags
Enumerator
BMV_NOP 
BMV_END 
BMV_DELTA 
BMV_INTRA 
BMV_SCROLL 
BMV_PALETTE 
BMV_COMMAND 
BMV_AUDIO 
BMV_EXT 
BMV_PRINT 
BMV_NOP 
BMV_END 
BMV_DELTA 
BMV_INTRA 
BMV_AUDIO 

Definition at line 26 of file bmv.c.

Function Documentation

◆ bmv_read_header()

static int bmv_read_header ( AVFormatContext s)
static

Definition at line 42 of file bmv.c.

◆ bmv_read_packet()

static int bmv_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 70 of file bmv.c.

◆ bmv_read_close()

static int bmv_read_close ( AVFormatContext s)
static

Definition at line 118 of file bmv.c.

Variable Documentation

◆ ff_bmv_demuxer

const AVInputFormat ff_bmv_demuxer
Initial value:
= {
.name = "bmv",
.long_name = NULL_IF_CONFIG_SMALL("Discworld II BMV"),
.priv_data_size = sizeof(BMVContext),
.extensions = "bmv",
}

Definition at line 127 of file bmv.c.

bmv_read_packet
static int bmv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: bmv.c:70
read_close
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:143
bmv_read_header
static int bmv_read_header(AVFormatContext *s)
Definition: bmv.c:42
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:532
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:117
bmv_read_close
static int bmv_read_close(AVFormatContext *s)
Definition: bmv.c:118
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
BMVContext
Definition: bmv.c:35