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"
Include dependency graph for vqf.c:

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)
 
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)
static

Definition at line 89 of file vqf.c.

static int vqf_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 221 of file vqf.c.

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

Definition at line 249 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",
}
static int vqf_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: vqf.c:249
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
static int vqf_probe(AVProbeData *probe_packet)
Definition: vqf.c:35
struct VqfContext VqfContext
#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 vqf_read_header(AVFormatContext *s)
Definition: vqf.c:89
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:517
static int vqf_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: vqf.c:221
static int read_packet(AVFormatContext *ctx, AVPacket *pkt)
Definition: libcdio.c:114

Definition at line 275 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.