FFmpeg
Classes | Macros | Typedefs | Variables
takdec.c File Reference

TAK (Tom's lossless Audio Kompressor) decoder. More...

#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"

Classes

struct  MCDParam
 
struct  TAKDecContext
 
struct  CParam
 

Macros

#define BITSTREAM_READER_LE
 
#define MAX_SUBFRAMES   8
 max number of subframes per channel
 
#define MAX_PREDICTORS   256
 

Typedefs

typedef struct MCDParam MCDParam
 
typedef struct TAKDecContext TAKDecContext
 

Variables

AVCodec ff_tak_decoder
 

Detailed Description

TAK (Tom's lossless Audio Kompressor) decoder.

Author
Paul B Mahol

Variable Documentation

§ ff_tak_decoder

AVCodec ff_tak_decoder
Initial value:
= {
.name = "tak",
.long_name = NULL_IF_CONFIG_SMALL("TAK (Tom's lossless Audio Kompressor)"),
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_TAK,
.priv_data_size = sizeof(TAKDecContext),
.init = tak_decode_init,
.close = tak_decode_close,
.decode = tak_decode_frame,
.init_thread_copy = ONLY_IF_THREADS_ENABLED(init_thread_copy),
.update_thread_context = ONLY_IF_THREADS_ENABLED(update_thread_context),
.sample_fmts = (const enum AVSampleFormat[]) { AV_SAMPLE_FMT_U8P,
AV_SAMPLE_FMT_NONE },
}
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
#define AV_CODEC_CAP_FRAME_THREADS
Codec supports frame-level multithreading.
Definition: avcodec.h:1015
#define ONLY_IF_THREADS_ENABLED(x)
Define a function with only the non-default version specified.
Definition: internal.h:225
signed 32 bits, planar
Definition: samplefmt.h:68
unsigned 8 bits, planar
Definition: samplefmt.h:66
AVSampleFormat
Audio sample formats.
Definition: samplefmt.h:58
Definition: takdec.c:50
signed 16 bits, planar
Definition: samplefmt.h:67
#define AV_CODEC_CAP_DR1
Codec uses get_buffer() for allocating buffers and supports custom allocators.
Definition: avcodec.h:959