FFmpeg
|
#include "libavutil/internal.h"
#include "libavutil/samplefmt.h"
#include "audiodsp.h"
#include "thread.h"
#include "avcodec.h"
#include "internal.h"
#include "unary.h"
#include "tak.h"
#include "takdsp.h"
Go to the source code of this file.
Data Structures | |
struct | MCDParam |
struct | TAKDecContext |
struct | CParam |
Macros | |
#define | BITSTREAM_READER_LE |
#define | MAX_SUBFRAMES 8 |
max number of subframes per channel More... | |
#define | MAX_PREDICTORS 256 |
Functions | |
static int | set_bps_params (AVCodecContext *avctx) |
static void | set_sample_rate_params (AVCodecContext *avctx) |
static av_cold int | tak_decode_init (AVCodecContext *avctx) |
static void | decode_lpc (int32_t *coeffs, int mode, int length) |
static int | decode_segment (TAKDecContext *s, int8_t mode, int32_t *decoded, int len) |
static int | decode_residues (TAKDecContext *s, int32_t *decoded, int length) |
static int | get_bits_esc4 (GetBitContext *gb) |
static int | decode_subframe (TAKDecContext *s, int32_t *decoded, int subframe_size, int prev_subframe_size) |
static int | decode_channel (TAKDecContext *s, int chan) |
static int | decorrelate (TAKDecContext *s, int c1, int c2, int length) |
static int | tak_decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *pkt) |
static av_cold int | tak_decode_close (AVCodecContext *avctx) |
Variables | |
static const int8_t | mc_dmodes [] = { 1, 3, 4, 6, } |
static const uint16_t | predictor_sizes [] |
static const struct CParam | xcodes [50] |
AVCodec | ff_tak_decoder |
TAK (Tom's lossless Audio Kompressor) decoder
Definition in file takdec.c.
|
static |
Definition at line 144 of file takdec.c.
Referenced by tak_decode_frame(), and tak_decode_init().
|
static |
Definition at line 165 of file takdec.c.
Referenced by tak_decode_frame(), and tak_decode_init().
|
static |
Definition at line 198 of file takdec.c.
Referenced by decode_subframe(), and tak_decode_frame().
|
static |
Definition at line 254 of file takdec.c.
Referenced by decode_residues().
|
static |
Definition at line 298 of file takdec.c.
Referenced by decode_subframe().
|
static |
Definition at line 377 of file takdec.c.
Referenced by decode_channel(), decode_subframe(), and decorrelate().
|
static |
Definition at line 385 of file takdec.c.
Referenced by decode_channel().
|
static |
Definition at line 509 of file takdec.c.
Referenced by tak_decode_frame().
|
static |
Definition at line 556 of file takdec.c.
Referenced by tak_decode_frame().
|
static |
|
static |
|
static |
Definition at line 79 of file takdec.c.
Referenced by tak_decode_frame().
|
static |
Definition at line 81 of file takdec.c.
Referenced by decode_subframe().
|
static |
Referenced by decode_segment().
AVCodec ff_tak_decoder |