FFmpeg
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 (const 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 ( const 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 237 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 265 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.

Referenced by vqf_read_header().

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

Definition at line 291 of file vqf.c.

vqf_probe
static int vqf_probe(const AVProbeData *probe_packet)
Definition: vqf.c:35
vqf_read_seek
static int vqf_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: vqf.c:265
VqfContext
Definition: vqf.c:29
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
vqf_read_packet
static int vqf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vqf.c:237
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.c:55
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:188
vqf_read_header
static int vqf_read_header(AVFormatContext *s)
Definition: vqf.c:92
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42