FFmpeg
Data Structures | Enumerations | Functions | Variables
bmv.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "demux.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 FFInputFormat 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 27 of file bmv.c.

Function Documentation

◆ bmv_read_header()

static int bmv_read_header ( AVFormatContext s)
static

Definition at line 43 of file bmv.c.

◆ bmv_read_packet()

static int bmv_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 71 of file bmv.c.

◆ bmv_read_close()

static int bmv_read_close ( AVFormatContext s)
static

Definition at line 119 of file bmv.c.

Variable Documentation

◆ ff_bmv_demuxer

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

Definition at line 128 of file bmv.c.

bmv_read_packet
static int bmv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: bmv.c:71
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:43
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:41
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:550
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:106
bmv_read_close
static int bmv_read_close(AVFormatContext *s)
Definition: bmv.c:119
BMVContext
Definition: bmv.c:36