Home
last modified time | relevance | path

Searched refs:lsp_index (Results 1 – 4 of 4) sorted by relevance

/third_party/ffmpeg/libavcodec/
Dg723_1.c1273 uint8_t *lsp_index, int bad_frame) in ff_g723_1_inverse_quant() argument
1285 lsp_index[0] = lsp_index[1] = lsp_index[2] = 0; in ff_g723_1_inverse_quant()
1289 cur_lsp[0] = ff_g723_1_lsp_band0[lsp_index[0]][0]; in ff_g723_1_inverse_quant()
1290 cur_lsp[1] = ff_g723_1_lsp_band0[lsp_index[0]][1]; in ff_g723_1_inverse_quant()
1291 cur_lsp[2] = ff_g723_1_lsp_band0[lsp_index[0]][2]; in ff_g723_1_inverse_quant()
1292 cur_lsp[3] = ff_g723_1_lsp_band1[lsp_index[1]][0]; in ff_g723_1_inverse_quant()
1293 cur_lsp[4] = ff_g723_1_lsp_band1[lsp_index[1]][1]; in ff_g723_1_inverse_quant()
1294 cur_lsp[5] = ff_g723_1_lsp_band1[lsp_index[1]][2]; in ff_g723_1_inverse_quant()
1295 cur_lsp[6] = ff_g723_1_lsp_band2[lsp_index[2]][0]; in ff_g723_1_inverse_quant()
1296 cur_lsp[7] = ff_g723_1_lsp_band2[lsp_index[2]][1]; in ff_g723_1_inverse_quant()
[all …]
Dg723_1.h124 uint8_t lsp_index[LSP_BANDS]; member
220 uint8_t *lsp_index, int bad_frame);
Dg723_1enc.c356 lsp_index[num] = i; \
367 static void lsp_quantize(uint8_t *lsp_index, int16_t *lsp, int16_t *prev_lsp) in lsp_quantize() argument
1057 put_bits(&pb, 8, p->lsp_index[2]); in pack_bitstream()
1058 put_bits(&pb, 8, p->lsp_index[1]); in pack_bitstream()
1059 put_bits(&pb, 8, p->lsp_index[0]); in pack_bitstream()
1132 lsp_quantize(p->lsp_index, cur_lsp, p->prev_lsp); in g723_1_encode_frame()
1164 ff_g723_1_inverse_quant(cur_lsp, p->prev_lsp, p->lsp_index, 0); in g723_1_encode_frame()
Dg723_1dec.c168 p->lsp_index[2] = get_bits(&gb, 8); in unpack_bitstream()
169 p->lsp_index[1] = get_bits(&gb, 8); in unpack_bitstream()
170 p->lsp_index[0] = get_bits(&gb, 8); in unpack_bitstream()
977 ff_g723_1_inverse_quant(cur_lsp, p->prev_lsp, p->lsp_index, bad_frame); in g723_1_decode_frame()
1059 ff_g723_1_inverse_quant(p->sid_lsp, p->prev_lsp, p->lsp_index, 0); in g723_1_decode_frame()