FFmpeg
Data Structures | Macros | Functions | Variables
mvi.c File Reference
#include <inttypes.h>
#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  MviDemuxContext
 

Macros

#define MVI_FRAC_BITS   10
 
#define MVI_AUDIO_STREAM_INDEX   0
 
#define MVI_VIDEO_STREAM_INDEX   1
 

Functions

static int read_header (AVFormatContext *s)
 
static int read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_mvi_demuxer
 

Macro Definition Documentation

◆ MVI_FRAC_BITS

#define MVI_FRAC_BITS   10

Definition at line 29 of file mvi.c.

◆ MVI_AUDIO_STREAM_INDEX

#define MVI_AUDIO_STREAM_INDEX   0

Definition at line 31 of file mvi.c.

◆ MVI_VIDEO_STREAM_INDEX

#define MVI_VIDEO_STREAM_INDEX   1

Definition at line 32 of file mvi.c.

Function Documentation

◆ read_header()

static int read_header ( AVFormatContext s)
static

Definition at line 42 of file mvi.c.

◆ read_packet()

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 113 of file mvi.c.

Variable Documentation

◆ ff_mvi_demuxer

const FFInputFormat ff_mvi_demuxer
Initial value:
= {
.p.name = "mvi",
.p.long_name = NULL_IF_CONFIG_SMALL("Motion Pixels MVI"),
.p.extensions = "mvi",
.priv_data_size = sizeof(MviDemuxContext),
}

Definition at line 146 of file mvi.c.

read_packet
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mvi.c:113
MviDemuxContext
Definition: mvi.c:34
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
read_header
static int read_header(AVFormatContext *s)
Definition: mvi.c:42