FFmpeg
Data Structures | Functions | Variables
vqf.c File Reference
#include "avformat.h"
#include "demux.h"
#include "internal.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mathematics.h"
#include "libavutil/mem.h"
#include "metadata.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 []
 
const FFInputFormat ff_vqf_demuxer
 

Function Documentation

◆ vqf_probe()

static int vqf_probe ( const AVProbeData probe_packet)
static

Definition at line 37 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 54 of file vqf.c.

Referenced by vqf_read_header().

◆ vqf_read_header()

static int vqf_read_header ( AVFormatContext s)
static

Definition at line 94 of file vqf.c.

◆ vqf_read_packet()

static int vqf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 239 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 266 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 72 of file vqf.c.

Referenced by vqf_read_header().

◆ ff_vqf_demuxer

const FFInputFormat ff_vqf_demuxer
Initial value:
= {
.p.name = "vqf",
.p.long_name = NULL_IF_CONFIG_SMALL("Nippon Telegraph and Telephone Corporation (NTT) TwinVQ"),
.p.extensions = "vqf,vql,vqe",
.priv_data_size = sizeof(VqfContext),
}

Definition at line 292 of file vqf.c.

vqf_probe
static int vqf_probe(const AVProbeData *probe_packet)
Definition: vqf.c:37
vqf_read_seek
static int vqf_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: vqf.c:266
VqfContext
Definition: vqf.c:31
read_seek
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:151
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
vqf_read_packet
static int vqf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vqf.c:239
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
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:94
vqf_read_header
static int vqf_read_header(AVFormatContext *s)
Definition: vqf.c:94
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30