FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
tta.c File Reference
#include "libavcodec/get_bits.h"
#include "apetag.h"
#include "avformat.h"
#include "avio_internal.h"
#include "internal.h"
#include "id3v1.h"
#include "libavutil/crc.h"
#include "libavutil/dict.h"

Go to the source code of this file.

Data Structures

struct  TTAContext
 

Functions

static unsigned long tta_check_crc (unsigned long checksum, const uint8_t *buf, unsigned int len)
 
static int tta_probe (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

AVInputFormat ff_tta_demuxer
 

Function Documentation

static unsigned long tta_check_crc ( unsigned long  checksum,
const uint8_t buf,
unsigned int  len 
)
static

Definition at line 37 of file tta.c.

Referenced by tta_read_header().

static int tta_probe ( AVProbeData p)
static

Definition at line 43 of file tta.c.

static int tta_read_header ( AVFormatContext s)
static

Definition at line 54 of file tta.c.

static int tta_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 153 of file tta.c.

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

Definition at line 177 of file tta.c.

Variable Documentation

AVInputFormat ff_tta_demuxer
Initial value:
= {
.name = "tta",
.long_name = NULL_IF_CONFIG_SMALL("TTA (True Audio)"),
.priv_data_size = sizeof(TTAContext),
.extensions = "tta",
}
static int read_seek(AVFormatContext *ctx, int stream_index, int64_t timestamp, int flags)
Definition: libcdio.c:153
static int tta_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: tta.c:153
Definition: tta.c:46
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:175
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int tta_probe(AVProbeData *p)
Definition: tta.c:43
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:620
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int tta_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, int flags)
Definition: tta.c:177
static int tta_read_header(AVFormatContext *s)
Definition: tta.c:54

Definition at line 192 of file tta.c.