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 150 of file tta.c.

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

Definition at line 169 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",
}

Definition at line 184 of file tta.c.