libquvi.c File Reference
#include <quvi/quvi.h>
#include "libavformat/avformat.h"
#include "libavformat/internal.h"
#include "libavutil/opt.h"
Include dependency graph for libquvi.c:

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 FLAGS   AV_OPT_FLAG_DECODING_PARAM

Definition at line 34 of file libquvi.c.

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

Definition at line 33 of file libquvi.c.

Function Documentation

static int libquvi_close ( AVFormatContext s)
static

Definition at line 47 of file libquvi.c.

static int libquvi_probe ( AVProbeData p)
static

Definition at line 121 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.

Variable Documentation

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:55
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
static int libquvi_probe(AVProbeData *p)
Definition: libquvi.c:121
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static const AVClass libquvi_context_class
Definition: libquvi.c:40
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int libquvi_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: libquvi.c:109
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static int libquvi_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: libquvi.c:115
static int flags
Definition: cpu.c:23
#define AVFMT_NOFILE
Demuxer will use avio_open, no opened file should be provided by the caller.
Definition: avformat.h:345
static int libquvi_close(AVFormatContext *s)
Definition: libquvi.c:47

Definition at line 135 of file libquvi.c.

const AVClass libquvi_context_class
static
Initial value:
= {
.class_name = "libquvi",
.item_name = av_default_item_name,
.option = libquvi_options,
}
av_default_item_name
static const AVOption libquvi_options[]
Definition: libquvi.c:35
LIBAVUTIL_VERSION_INT
Definition: eval.c:55

Definition at line 40 of file libquvi.c.

const AVOption libquvi_options[]
static
Initial value:
= {
{ "format", "request specific format", OFFSET(format), AV_OPT_TYPE_STRING, {.str="best"}, .flags = FLAGS },
{ NULL }
}
Filter the word “frame” indicates either a video frame or a group of audio as stored in an AVFilterBuffer structure Format for each input and each output the list of supported formats For video that means pixel format For audio that means channel sample format(the sample packing is implied by the sample format) and sample rate.The lists are not just lists
#define OFFSET(x)
Definition: libquvi.c:33
NULL
Definition: eval.c:55
#define FLAGS
Definition: libquvi.c:34

Definition at line 35 of file libquvi.c.