FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
libquvi.c File Reference
#include <quvi/quvi.h>
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Data Structures

struct  LibQuviContext
 

Macros

#define OFFSET(x)   offsetof(LibQuviContext, x)
 
#define FLAGS   AV_OPT_FLAG_DECODING_PARAM
 

Functions

static int libquvi_close (AVFormatContext *s)
 
static int libquvi_read_header (AVFormatContext *s)
 
static int libquvi_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int libquvi_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 
static int libquvi_probe (AVProbeData *p)
 

Variables

static const AVOption libquvi_options []
 
static const AVClass libquvi_context_class
 
AVInputFormat ff_libquvi_demuxer
 

Macro Definition Documentation

#define OFFSET (   x)    offsetof(LibQuviContext, x)

Definition at line 33 of file libquvi.c.

#define FLAGS   AV_OPT_FLAG_DECODING_PARAM

Definition at line 34 of file libquvi.c.

Function Documentation

static int libquvi_close ( AVFormatContext s)
static

Definition at line 47 of file libquvi.c.

static int libquvi_read_header ( AVFormatContext s)
static

Definition at line 55 of file libquvi.c.

static int libquvi_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 109 of file libquvi.c.

static int libquvi_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  timestamp,
int  flags 
)
static

Definition at line 115 of file libquvi.c.

static int libquvi_probe ( AVProbeData p)
static

Definition at line 121 of file libquvi.c.

Variable Documentation

const AVOption libquvi_options[]
static
Initial value:
= {
{ "format", "request specific format", OFFSET(format), AV_OPT_TYPE_STRING, {.str="best"}, .flags = FLAGS },
{ NULL }
}

Definition at line 35 of file libquvi.c.

const AVClass libquvi_context_class
static
Initial value:
= {
.class_name = "libquvi",
.item_name = av_default_item_name,
.option = libquvi_options,
}

Definition at line 40 of file libquvi.c.

AVInputFormat ff_libquvi_demuxer
Initial value:
= {
.name = "libquvi",
.long_name = NULL_IF_CONFIG_SMALL("libquvi demuxer"),
.priv_data_size = sizeof(LibQuviContext),
.priv_class = &libquvi_context_class,
}

Definition at line 135 of file libquvi.c.