Go to the source code of this file.
Classes | |
| struct | TTAContext |
| struct | TTAFilter |
| struct | TTARice |
Functions | |
| static int | shift_1 (int i) |
| static int | shift_16 (int i) |
| static void | ttafilter_init (TTAFilter *c, int32_t shift, int32_t mode) |
| static void | memshl (register int32_t *a, register int32_t *b) |
| static void | ttafilter_process (TTAFilter *c, int32_t *in, int32_t mode) |
| static void | rice_init (TTARice *c, uint32_t k0, uint32_t k1) |
| static int | tta_get_unary (GetBitContext *gb) |
| static int | tta_decode_init (AVCodecContext *avctx) |
| static int | tta_decode_frame (AVCodecContext *avctx, void *data, int *data_size, uint8_t *buf, int buf_size) |
| static int | tta_decode_close (AVCodecContext *avctx) |
Variables | |
| static const uint32_t | shift_1 [] |
| static const uint32_t * | shift_16 = shift_1 + 4 |
| static int32_t | ttafilter_configs [4][2] |
| AVCodec | tta_decoder |
| static int shift_1 | ( | int | i | ) | [inline, static] |
Definition at line 50 of file libavcodec/tta.c.
| static int shift_16 | ( | int | i | ) | [inline, static] |
Definition at line 58 of file libavcodec/tta.c.
| static int tta_get_unary | ( | GetBitContext * | gb | ) | [static] |
| static int tta_decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 200 of file libavcodec/tta.c.
| static int tta_decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | data_size, | |||
| uint8_t * | buf, | |||
| int | buf_size | |||
| ) | [static] |
Definition at line 288 of file libavcodec/tta.c.
| static int tta_decode_close | ( | AVCodecContext * | avctx | ) | [static] |
Definition at line 428 of file libavcodec/tta.c.
const uint32_t shift_1[] [static] |
Initial value:
{
0x00000001, 0x00000002, 0x00000004, 0x00000008,
0x00000010, 0x00000020, 0x00000040, 0x00000080,
0x00000100, 0x00000200, 0x00000400, 0x00000800,
0x00001000, 0x00002000, 0x00004000, 0x00008000,
0x00010000, 0x00020000, 0x00040000, 0x00080000,
0x00100000, 0x00200000, 0x00400000, 0x00800000,
0x01000000, 0x02000000, 0x04000000, 0x08000000,
0x10000000, 0x20000000, 0x40000000, 0x80000000,
0x80000000, 0x80000000, 0x80000000, 0x80000000,
0x80000000, 0x80000000, 0x80000000, 0x80000000
}
Definition at line 66 of file libavcodec/tta.c.
Referenced by tta_decode_frame(), and ttafilter_init().
const uint32_t* shift_16 = shift_1 + 4 [static] |
int32_t ttafilter_configs[4][2] [static] |
Initial value:
{
{10, 1},
{9, 1},
{10, 1},
{12, 0}
}
Definition at line 90 of file libavcodec/tta.c.
Referenced by tta_decode_frame().
Initial value:
{
"tta",
CODEC_TYPE_AUDIO,
CODEC_ID_TTA,
sizeof(TTAContext),
tta_decode_init,
NULL,
tta_decode_close,
tta_decode_frame,
}
Definition at line 437 of file libavcodec/tta.c.
1.5.5