TTA (The Lossless True Audio) decoder.
More...
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 38 of file tta.c.
◆ FORMAT_SIMPLE
Definition at line 47 of file tta.c.
◆ FORMAT_ENCRYPTED
| #define FORMAT_ENCRYPTED 2 |
◆ PRED
◆ OFFSET
Value:
Definition at line 416 of file tta.c.
◆ DEC
◆ tta_check_crc()
| static int tta_check_crc |
( |
TTAContext * | s, |
|
|
const uint8_t * | buf, |
|
|
int | buf_size ) |
|
static |
◆ 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 |
Initial value:= {
0,
}
#define AV_CH_LAYOUT_QUAD
#define AV_CH_LAYOUT_7POINT1_WIDE
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LAYOUT_5POINT1_BACK
#define AV_CH_BACK_CENTER
#define AV_CH_LOW_FREQUENCY
Definition at line 67 of file tta.c.
Referenced by tta_decode_init().
◆ options
Initial value:= {
}
@ AV_OPT_TYPE_STRING
Underlying C type is a uint8_t* that is either NULL or points to a C string allocated with the av_mal...
Definition at line 418 of file tta.c.
◆ tta_decoder_class
Initial value:= {
.class_name = "TTA Decoder",
}
const char * av_default_item_name(void *ptr)
Return the context name.
#define LIBAVUTIL_VERSION_INT
Definition at line 423 of file tta.c.
◆ ff_tta_decoder
Initial value:= {
.p.name = "tta",
}
static av_cold void close(AVCodecParserContext *s)
#define FF_CODEC_DECODE_CB(func)
#define CODEC_LONG_NAME(str)
#define FF_CODEC_CAP_INIT_CLEANUP
The codec allows calling the close function for deallocation even if the init function returned a fai...
int(* init)(AVBSFContext *ctx)
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() or get_encode_buffer() for allocating buffers and supports custom allocators.
#define AV_CODEC_CAP_CHANNEL_CONF
Codec should fill in channel configuration and samplerate instead of container.
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
static const AVClass tta_decoder_class
static av_cold int tta_decode_close(AVCodecContext *avctx)
static av_cold int tta_decode_init(AVCodecContext *avctx)
static int tta_decode_frame(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt)
Definition at line 430 of file tta.c.