mvi.c File Reference
#include "libavutil/channel_layout.h"
#include "avformat.h"
#include "internal.h"
Include dependency graph for mvi.c:

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
 

Typedefs

typedef struct MviDemuxContext MviDemuxContext
 

Functions

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

Variables

AVInputFormat ff_mvi_demuxer
 

Macro Definition Documentation

#define MVI_AUDIO_STREAM_INDEX   0

Definition at line 28 of file mvi.c.

Referenced by read_packet().

#define MVI_FRAC_BITS   10

Definition at line 26 of file mvi.c.

Referenced by read_header(), and read_packet().

#define MVI_VIDEO_STREAM_INDEX   1

Definition at line 29 of file mvi.c.

Referenced by read_packet().

Typedef Documentation

Function Documentation

static int read_header ( AVFormatContext s)
static

Definition at line 40 of file mvi.c.

static int read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 109 of file mvi.c.

Variable Documentation

AVInputFormat ff_mvi_demuxer
Initial value:
= {
.name = "mvi",
.long_name = NULL_IF_CONFIG_SMALL("Motion Pixels MVI"),
.priv_data_size = sizeof(MviDemuxContext),
.extensions = "mvi",
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_header(AVFormatContext *s)
Definition: mvi.c:40
struct MviDemuxContext MviDemuxContext
static int read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: mvi.c:109

Definition at line 136 of file mvi.c.