FFmpeg
Loading...
Searching...
No Matches
tta.c File Reference
#include "libavutil/crc.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
#include "apetag.h"
#include "avformat.h"
#include "avio_internal.h"
#include "demux.h"
#include "internal.h"
#include "id3v1.h"

Go to the source code of this file.

Data Structures

struct  TTAContext
 

Functions

static int tta_probe (const AVProbeData *p)
 
static int tta_read_header (AVFormatContext *s)
 
static int tta_read_packet (AVFormatContext *s, AVPacket *pkt)
 
static int tta_read_seek (AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
 

Variables

const FFInputFormat ff_tta_demuxer
 

Function Documentation

◆ tta_probe()

static int tta_probe ( const AVProbeData * p)
static

Definition at line 39 of file tta.c.

◆ tta_read_header()

static int tta_read_header ( AVFormatContext * s)
static

Definition at line 50 of file tta.c.

◆ tta_read_packet()

static int tta_read_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 148 of file tta.c.

◆ tta_read_seek()

static int tta_read_seek ( AVFormatContext * s,
int stream_index,
int64_t timestamp,
int flags )
static

Definition at line 173 of file tta.c.

Variable Documentation

◆ ff_tta_demuxer

const FFInputFormat ff_tta_demuxer
Initial value:
= {
.p.name = "tta",
.p.long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
.p.extensions = "tta",
.priv_data_size = sizeof(TTAContext),
.flags_internal = FF_INFMT_FLAG_ID3V2_AUTO,
}
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
Definition cdg.c:30
#define FF_INFMT_FLAG_ID3V2_AUTO
Automatically parse ID3v2 metadata.
Definition demux.h:45
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
static int tta_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition tta.c:148
static int tta_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition tta.c:173
static int tta_read_header(AVFormatContext *s)
Definition tta.c:50
static int tta_probe(const AVProbeData *p)
Definition tta.c:39
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition libcdio.c:151

Definition at line 188 of file tta.c.