Home
last modified time | relevance | path

Searched refs:ac_index (Results 1 - 5 of 5) sorted by relevance

/third_party/ffmpeg/libavcodec/
H A Dacelp_pitch_delay.h36 * @param ac_index adaptive codebook index (8 bits)
44 static inline int ff_acelp_decode_8bit_to_1st_delay3(int ac_index) in ff_acelp_decode_8bit_to_1st_delay3() argument
46 ac_index += 58; in ff_acelp_decode_8bit_to_1st_delay3()
47 if (ac_index > 254) in ff_acelp_decode_8bit_to_1st_delay3()
48 ac_index = 3 * ac_index - 510; in ff_acelp_decode_8bit_to_1st_delay3()
49 return ac_index; in ff_acelp_decode_8bit_to_1st_delay3()
55 * @param ac_index adaptive codebook index (5 or 6 bits)
67 static inline int ff_acelp_decode_5_6_bit_to_2nd_delay3(int ac_index, in ff_acelp_decode_5_6_bit_to_2nd_delay3() argument
70 return 3 * pitch_delay_min + ac_index in ff_acelp_decode_5_6_bit_to_2nd_delay3()
89 ff_acelp_decode_4bit_to_2nd_delay3(int ac_index, int pitch_delay_min) ff_acelp_decode_4bit_to_2nd_delay3() argument
113 ff_acelp_decode_9bit_to_1st_delay6(int ac_index) ff_acelp_decode_9bit_to_1st_delay6() argument
135 ff_acelp_decode_6bit_to_2nd_delay6(int ac_index, int pitch_delay_min) ff_acelp_decode_6bit_to_2nd_delay6() argument
[all...]
H A Dg729dec.c497 uint8_t ac_index; ///< adaptive codebook index in decode_frame() local
503 ac_index = get_bits(&gb, format->ac_index_bits[i]); in decode_frame()
505 bad_pitch = av_parity(ac_index >> 2) == get_bits1(&gb); in decode_frame()
517 pitch_delay_3x = ff_acelp_decode_8bit_to_1st_delay3(ac_index); in decode_frame()
524 pitch_delay_3x = ff_acelp_decode_4bit_to_2nd_delay3(ac_index, pitch_delay_min); in decode_frame()
526 pitch_delay_3x = ff_acelp_decode_5_6_bit_to_2nd_delay3(ac_index, pitch_delay_min); in decode_frame()
H A Dmjpegdec.c810 int dc_index, int ac_index, uint16_t *quant_matrix) in decode_block()
829 GET_VLC(code, re, &s->gb, s->vlcs[1][ac_index].table, 9, 2); in decode_block()
877 uint8_t *last_nnz, int ac_index, in decode_block_progressive()
893 GET_VLC(code, re, &s->gb, s->vlcs[2][ac_index].table, 9, 2); in decode_block_progressive()
977 int ac_index, uint16_t *quant_matrix, in decode_block_refinement()
989 GET_VLC(code, re, &s->gb, s->vlcs[2][ac_index].table, 9, 2); in decode_block_refinement()
1509 s->dc_index[i], s->ac_index[i], in mjpeg_decode_scan()
1587 ret = decode_block_refinement(s, *block, last_nnz, s->ac_index[0], in mjpeg_decode_scan_progressive_ac()
1590 ret = decode_block_progressive(s, *block, last_nnz, s->ac_index[0], in mjpeg_decode_scan_progressive_ac()
1707 s->ac_index[ in ff_mjpeg_decode_sos()
809 decode_block(MJpegDecodeContext *s, int16_t *block, int component, int dc_index, int ac_index, uint16_t *quant_matrix) decode_block() argument
876 decode_block_progressive(MJpegDecodeContext *s, int16_t *block, uint8_t *last_nnz, int ac_index, uint16_t *quant_matrix, int ss, int se, int Al, int *EOBRUN) decode_block_progressive() argument
975 decode_block_refinement(MJpegDecodeContext *s, int16_t *block, uint8_t *last_nnz, int ac_index, uint16_t *quant_matrix, int ss, int se, int Al, int *EOBRUN) decode_block_refinement() argument
[all...]
H A Dmjpegdec.h102 int ac_index[MAX_COMPONENTS]; member
H A Dvaapi_mjpeg.c131 sp.components[i].ac_table_selector = s->ac_index[i]; in vaapi_mjpeg_decode_slice()

Completed in 6 milliseconds