aqtitledec.c File Reference

AQTitle subtitles format demuxer. More...

#include "avformat.h"
#include "internal.h"
#include "subtitles.h"
#include "libavutil/opt.h"
Include dependency graph for aqtitledec.c:

Go to the source code of this file.

Data Structures

struct  AQTitleContext
 

Macros

#define OFFSET(x)   offsetof(AQTitleContext, x)
 
#define SD   AV_OPT_FLAG_SUBTITLE_PARAM|AV_OPT_FLAG_DECODING_PARAM
 

Functions

static int aqt_probe (AVProbeData *p)
 
static int aqt_read_header (AVFormatContext *s)
 
static int aqt_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int aqt_read_seek (AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
 
static int aqt_read_close (AVFormatContext *s)
 

Variables

static const AVOption aqt_options []
 
static const AVClass aqt_class
 
AVInputFormat ff_aqtitle_demuxer
 

Detailed Description

Macro Definition Documentation

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

Definition at line 123 of file aqtitledec.c.

Definition at line 124 of file aqtitledec.c.

Function Documentation

static int aqt_probe ( AVProbeData p)
static

Definition at line 40 of file aqtitledec.c.

static int aqt_read_close ( AVFormatContext s)
static

Definition at line 116 of file aqtitledec.c.

static int aqt_read_header ( AVFormatContext s)
static

Definition at line 50 of file aqtitledec.c.

static int aqt_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 102 of file aqtitledec.c.

static int aqt_read_seek ( AVFormatContext s,
int  stream_index,
int64_t  min_ts,
int64_t  ts,
int64_t  max_ts,
int  flags 
)
static

Definition at line 108 of file aqtitledec.c.

Variable Documentation

const AVClass aqt_class
static
Initial value:
= {
.class_name = "aqtdec",
.item_name = av_default_item_name,
.option = aqt_options,
}
av_default_item_name
static const AVOption aqt_options[]
Definition: aqtitledec.c:125
LIBAVUTIL_VERSION_INT
Definition: eval.c:55

Definition at line 130 of file aqtitledec.c.

const AVOption aqt_options[]
static
Initial value:
= {
{ "subfps", "set the movie frame rate", OFFSET(frame_rate), AV_OPT_TYPE_RATIONAL, {.dbl=25}, 0, INT_MAX, SD },
{ NULL }
}
#define OFFSET(x)
Definition: aqtitledec.c:123
NULL
Definition: eval.c:55
#define SD
Definition: aqtitledec.c:124

Definition at line 125 of file aqtitledec.c.

AVInputFormat ff_aqtitle_demuxer
Initial value:
= {
.name = "aqtitle",
.long_name = NULL_IF_CONFIG_SMALL("AQTitle subtitles"),
.priv_data_size = sizeof(AQTitleContext),
.read_seek2 = aqt_read_seek,
.extensions = "aqt",
.priv_class = &aqt_class,
}
static int aqt_read_header(AVFormatContext *s)
Definition: aqtitledec.c:50
static int aqt_read_close(AVFormatContext *s)
Definition: aqtitledec.c:116
static av_cold int read_close(AVFormatContext *ctx)
Definition: libcdio.c:145
static int aqt_probe(AVProbeData *p)
Definition: aqtitledec.c:40
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int read_probe(AVProbeData *pd)
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114
static const AVClass aqt_class
Definition: aqtitledec.c:130
static int aqt_read_seek(AVFormatContext *s, int stream_index, int64_t min_ts, int64_t ts, int64_t max_ts, int flags)
Definition: aqtitledec.c:108
static int aqt_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: aqtitledec.c:102

Definition at line 137 of file aqtitledec.c.