FFmpeg
|
#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.
Data Structures | |
struct | TTAContext |
Macros | |
#define | BITSTREAM_READER_LE |
#define | FORMAT_SIMPLE 1 |
#define | FORMAT_ENCRYPTED 2 |
#define | PRED(x, k) (int32_t)((((uint64_t)(x) << (k)) - (x)) >> (k)) |
#define | OFFSET(x) offsetof(TTAContext, x) |
#define | DEC (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM) |
Functions | |
static int | tta_check_crc (TTAContext *s, const uint8_t *buf, int buf_size) |
static uint64_t | tta_check_crc64 (uint8_t *pass) |
static int | allocate_buffers (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 av_cold int | tta_decode_close (AVCodecContext *avctx) |
Variables | |
static const int64_t | tta_channel_layouts [7] |
static const AVOption | options [] |
static const AVClass | tta_decoder_class |
AVCodec | ff_tta_decoder |
TTA (The Lossless True Audio) decoder
Definition in file tta.c.
#define PRED | ( | x, | |
k | |||
) | (int32_t)((((uint64_t)(x) << (k)) - (x)) >> (k)) |
#define OFFSET | ( | x | ) | offsetof(TTAContext, x) |
#define DEC (AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_AUDIO_PARAM) |
|
static |
Definition at line 75 of file tta.c.
Referenced by tta_decode_frame().
|
static |
Definition at line 89 of file tta.c.
Referenced by tta_decode_init().
|
static |
Definition at line 104 of file tta.c.
Referenced by tta_decode_init().
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
AVCodec ff_tta_decoder |