#include "libavutil/audioconvert.h"#include "avcodec.h"#include "get_bits.h"#include "adpcm_data.h"Go to the source code of this file.
Data Structures | |
| struct | VimaContext |
Functions | |
| static av_cold int | decode_init (AVCodecContext *avctx) |
| static int | decode_frame (AVCodecContext *avctx, void *data, int *got_frame_ptr, AVPacket *pkt) |
Variables | |
| static const uint8_t | size_table [] |
| static const int8_t | index_table1 [] |
| static const int8_t | index_table2 [] |
| static const int8_t | index_table3 [] |
| static const int8_t | index_table4 [] |
| static const int8_t | index_table5 [] |
| static const int8_t | index_table6 [] |
| static const int8_t *const | step_index_tables [] |
| AVCodec | ff_vima_decoder |
| static int decode_frame | ( | AVCodecContext * | avctx, | |
| void * | data, | |||
| int * | got_frame_ptr, | |||
| AVPacket * | pkt | |||
| ) | [static] |
| static av_cold int decode_init | ( | AVCodecContext * | avctx | ) | [static] |
Initial value:
{
.name = "vima",
.type = AVMEDIA_TYPE_AUDIO,
.id = AV_CODEC_ID_VIMA,
.priv_data_size = sizeof(VimaContext),
.init = decode_init,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,
.long_name = NULL_IF_CONFIG_SMALL("LucasArts VIMA audio"),
}
const int8_t index_table1[] [static] |
const int8_t index_table2[] [static] |
const int8_t index_table3[] [static] |
const int8_t index_table4[] [static] |
const int8_t index_table5[] [static] |
const int8_t index_table6[] [static] |
Initial value:
{
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 2, 2, 2,
2, 2, 4, 4, 4, 4, 4, 4,
5, 5, 5, 5, 6, 6, 6, 6,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1,
1, 1, 1, 1, 1, 1, 1, 1,
1, 1, 2, 2, 2, 2, 2, 2,
2, 2, 4, 4, 4, 4, 4, 4,
5, 5, 5, 5, 6, 6, 6, 6
}
const uint8_t size_table[] [static] |
Initial value:
{
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4,
5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5,
6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6, 6,
7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7
}
const int8_t* const step_index_tables[] [static] |
1.5.8