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/avassert.h"
#include "libavutil/opt.h"

Go to the source code of this file.

Data Structures

struct  LibQuviContext


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


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)


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 34 of file libquvi.c.


Definition at line 35 of file libquvi.c.

Function Documentation

static int libquvi_close ( AVFormatContext s)

Definition at line 48 of file libquvi.c.

static int libquvi_read_header ( AVFormatContext s)

Definition at line 56 of file libquvi.c.

static int libquvi_read_packet ( AVFormatContext s,
AVPacket pkt 

Definition at line 128 of file libquvi.c.

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

Definition at line 134 of file libquvi.c.

static int libquvi_probe ( AVProbeData p)

Definition at line 140 of file libquvi.c.

Variable Documentation

const AVOption libquvi_options[]
Initial value:
= {
{ "format", "request specific format", OFFSET(format), AV_OPT_TYPE_STRING, {.str="best"}, .flags = FLAGS },
{ NULL }
#define NULL
Definition: coverity.c:32
#define OFFSET(x)
Definition: libquvi.c:34
#define FLAGS
Definition: libquvi.c:35

Definition at line 36 of file libquvi.c.

const AVClass libquvi_context_class
Initial value:
= {
.class_name = "libquvi",
.item_name = av_default_item_name,
.option = libquvi_options,
Definition: version.h:62
static const AVOption libquvi_options[]
Definition: libquvi.c:36

Definition at line 41 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,
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
static int libquvi_read_header(AVFormatContext *s)
Definition: libquvi.c:56
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
static int libquvi_probe(AVProbeData *p)
Definition: libquvi.c:140
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static const AVClass libquvi_context_class
Definition: libquvi.c:41
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:620
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int libquvi_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libquvi.c:128
static int libquvi_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: libquvi.c:134
static int flags
Definition: cpu.c:47
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:465
static int libquvi_close(AVFormatContext *s)
Definition: libquvi.c:48

Definition at line 154 of file libquvi.c.