TTA (The Lossless True Audio) decoder.
More...
#include <limits.h>
#include "libavutil/crc.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/opt.h"
#include "ttadata.h"
#include "ttadsp.h"
#include "avcodec.h"
#include "get_bits.h"
#include "thread.h"
#include "unary.h"
#include "internal.h"
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.
#define BITSTREAM_READER_LE |
Definition at line 36 of file tta.c.
Definition at line 45 of file tta.c.
#define FORMAT_ENCRYPTED 2 |
#define PRED |
( |
|
x, |
|
|
|
k |
|
) |
| (int32_t)((((uint64_t)(x) << (k)) - (x)) >> (k)) |
static uint64_t tta_check_crc64 |
( |
uint8_t * |
pass | ) |
|
|
static |
const int64_t tta_channel_layouts[7] |
|
static |
Initial value:= {
0,
}
#define AV_CH_LAYOUT_STEREO
#define AV_CH_LOW_FREQUENCY
#define AV_CH_LAYOUT_QUAD
#define AV_CH_LAYOUT_5POINT1_BACK
#define AV_CH_BACK_CENTER
#define AV_CH_LAYOUT_7POINT1_WIDE
Definition at line 65 of file tta.c.
Referenced by tta_decode_init().
Initial value:
Definition at line 412 of file tta.c.
Initial value:= {
.class_name = "TTA Decoder",
}
#define LIBAVUTIL_VERSION_INT
static const AVOption options[]
Definition at line 417 of file tta.c.
Initial value:= {
.name = "tta",
}
static int init_thread_copy(AVCodecContext *avctx)
static av_cold int init(AVCodecContext *avctx)
static av_cold int tta_decode_init(AVCodecContext *avctx)
static int tta_decode_frame(AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *avpkt)
static void decode(AVCodecContext *dec_ctx, AVPacket *pkt, AVFrame *frame, FILE *outfile)
static av_cold int tta_decode_close(AVCodecContext *avctx)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified.
static const AVClass tta_decoder_class
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition at line 424 of file tta.c.