FFmpeg
Loading...
Searching...
No Matches
bmv.c File Reference
#include "libavutil/channel_layout.h"
#include "libavutil/mem.h"
#include "avformat.h"
#include "avio_internal.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_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_AUDIO 

Definition at line 29 of file bmv.c.

Function Documentation

◆ bmv_read_header()

static int bmv_read_header ( AVFormatContext * s)
static

Definition at line 45 of file bmv.c.

◆ bmv_read_packet()

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

Definition at line 73 of file bmv.c.

◆ bmv_read_close()

static int bmv_read_close ( AVFormatContext * s)
static

Definition at line 121 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),
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int bmv_read_header(AVFormatContext *s)
Definition bmv.c:45
static int bmv_read_close(AVFormatContext *s)
Definition bmv.c:121
static int bmv_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition bmv.c:73
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
static av_cold int read_close(AVFormatContext *ctx)
Definition libcdio.c:143

Definition at line 130 of file bmv.c.