Go to the source code of this file.
TTA (The Lossless True Audio) decoder
- See also
- http://www.true-audio.com/
-
http://tta.corecodec.org/
- Author
- Alex Beregszaszi
Definition in file tta.c.
◆ BITSTREAM_READER_LE
#define BITSTREAM_READER_LE |
Definition at line 37 of file tta.c.
◆ FORMAT_SIMPLE
Definition at line 46 of file tta.c.
◆ FORMAT_ENCRYPTED
#define FORMAT_ENCRYPTED 2 |
Definition at line 47 of file tta.c.
◆ PRED
#define PRED |
( |
|
x, |
|
|
|
k |
|
) |
| (int32_t)((((uint64_t)(x) << (k)) - (x)) >> (k)) |
◆ OFFSET
◆ DEC
◆ tta_check_crc()
◆ tta_check_crc64()
static uint64_t tta_check_crc64 |
( |
uint8_t * |
pass | ) |
|
|
static |
◆ allocate_buffers()
◆ tta_decode_init()
◆ tta_decode_frame()
◆ tta_decode_close()
◆ tta_channel_layouts
const int64_t tta_channel_layouts[7] |
|
static |
◆ options
Initial value:
Definition at line 407 of file tta.c.
◆ tta_decoder_class
Initial value:= {
.class_name = "TTA Decoder",
}
Definition at line 412 of file tta.c.
◆ ff_tta_decoder
Initial value:
Definition at line 419 of file tta.c.
#define FF_CODEC_CAP_INIT_THREADSAFE
The codec does not modify any global variables in the init function, allowing to call the init functi...
static const AVClass tta_decoder_class
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LAYOUT_QUAD
#define AV_CH_LOW_FREQUENCY
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
static av_cold int tta_decode_init(AVCodecContext *avctx)
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define LIBAVUTIL_VERSION_INT
const char * av_default_item_name(void *ptr)
Return the context name.
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
#define AV_CH_LAYOUT_5POINT1_BACK
static int tta_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
#define AV_CH_BACK_CENTER
#define AV_CH_LAYOUT_7POINT1_WIDE
static av_cold int tta_decode_close(AVCodecContext *avctx)
static const AVOption options[]