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

Typedefs

typedef struct VqfContext 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, AVFormatParameters *ap)
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

Typedef Documentation

typedef struct VqfContext VqfContext

Function Documentation

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

Definition at line 49 of file vqf.c.

Referenced by vqf_read_header().

static int vqf_probe ( AVProbeData probe_packet)
static

Definition at line 35 of file vqf.c.

static int vqf_read_header ( AVFormatContext s,
AVFormatParameters ap 
)
static

Definition at line 89 of file vqf.c.

static int vqf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 228 of file vqf.c.

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

Definition at line 255 of file vqf.c.

Variable Documentation

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",
}

Definition at line 281 of file vqf.c.

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 67 of file vqf.c.