FFmpeg  4.0
Data Structures | Functions | Variables
vqf.c File Reference
#include "avformat.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "riff.h"

Go to the source code of this file.

Data Structures

struct  VqfContext
 

Functions

static int vqf_probe (AVProbeData *probe_packet)
 
static void add_metadata (AVFormatContext *s, uint32_t tag, unsigned int tag_len, unsigned int remaining)
 
static int vqf_read_header (AVFormatContext *s)
 
static int vqf_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int vqf_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 

Variables

static const AVMetadataConv vqf_metadata_conv []
 
AVInputFormat ff_vqf_demuxer
 

Function Documentation

◆ vqf_probe()

static int vqf_probe ( AVProbeData probe_packet)
static

Definition at line 35 of file vqf.c.

◆ add_metadata()

static void add_metadata ( AVFormatContext s,
uint32_t  tag,
unsigned int  tag_len,
unsigned int  remaining 
)
static

Definition at line 52 of file vqf.c.

Referenced by vqf_read_header().

◆ vqf_read_header()

static int vqf_read_header ( AVFormatContext s)
static

Definition at line 92 of file vqf.c.

◆ vqf_read_packet()

static int vqf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 231 of file vqf.c.

◆ vqf_read_seek()

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

Definition at line 259 of file vqf.c.

Variable Documentation

◆ vqf_metadata_conv

const AVMetadataConv vqf_metadata_conv[]
static
Initial value:
= {
{ "(c) ", "copyright" },
{ "ARNG", "arranger" },
{ "AUTH", "author" },
{ "BAND", "band" },
{ "CDCT", "conductor" },
{ "COMT", "comment" },
{ "FILE", "filename" },
{ "GENR", "genre" },
{ "LABL", "publisher" },
{ "MUSC", "composer" },
{ "NAME", "title" },
{ "NOTE", "note" },
{ "PROD", "producer" },
{ "PRSN", "personnel" },
{ "REMX", "remixer" },
{ "SING", "singer" },
{ "TRCK", "track" },
{ "WORD", "words" },
{ 0 },
}

Definition at line 70 of file vqf.c.

◆ ff_vqf_demuxer

AVInputFormat ff_vqf_demuxer
Initial value:
= {
.name = "vqf",
.long_name = NULL_IF_CONFIG_SMALL("Nippon Telegraph and Telephone Corporation (NTT) TwinVQ"),
.priv_data_size = sizeof(VqfContext),
.extensions = "vqf,vql,vqe",
}
static int vqf_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: vqf.c:259
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
Definition: vqf.c:29
static int vqf_probe(AVProbeData *probe_packet)
Definition: vqf.c:35
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int vqf_read_header(AVFormatContext *s)
Definition: vqf.c:92
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int vqf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vqf.c:231

Definition at line 285 of file vqf.c.