Home
last modified time | relevance | path

Searched refs:opus_int8 (Results 1 – 25 of 41) sorted by relevance

12

/external/libopus/silk/
Dmain.h46opus_int8 ix[ 2 ][ 3 ], /* O Quantization indices …
47opus_int8 *mid_only_flag, /* O Flag: only mid signal coded …
79opus_int8 ix[ 2 ][ 3 ] /* O Quantization indices …
85opus_int8 ix[ 2 ][ 3 ] /* I Quantization indices …
91 opus_int8 mid_only_flag
109 …const opus_int8 pulses[], /* I pulse signal …
152opus_int8 pulses[], /* I quantization indices …
171opus_int8 ind[ MAX_NB_SUBFR ], /* O gain indices …
173opus_int8 *prev_ind, /* I/O last index in previous frame …
181 …const opus_int8 ind[ MAX_NB_SUBFR ], /* I gain indices …
[all …]
Dstructs.h105 opus_int8 predIx[ MAX_FRAMES_PER_PACKET ][ 2 ][ 3 ];
106 opus_int8 mid_only_flags[ MAX_FRAMES_PER_PACKET ];
116 opus_int8 GainsIndices[ MAX_NB_SUBFR ];
117 opus_int8 LTPIndex[ MAX_NB_SUBFR ];
118 opus_int8 NLSFIndices[ MAX_LPC_ORDER + 1 ];
120 opus_int8 contourIndex;
121 opus_int8 signalType;
122 opus_int8 quantOffsetType;
123 opus_int8 NLSFInterpCoef_Q2;
124 opus_int8 PERIndex;
[all …]
Ddecode_indices.c56 psDec->indices.signalType = (opus_int8)silk_RSHIFT( Ix, 1 ); in silk_decode_indices()
57 psDec->indices.quantOffsetType = (opus_int8)( Ix & 1 ); in silk_decode_indices()
65 … psDec->indices.GainsIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 ); in silk_decode_indices()
68 …psDec->indices.GainsIndices[ 0 ] = (opus_int8)silk_LSHIFT( ec_dec_icdf( psRangeDec, silk_gain_iCD… in silk_decode_indices()
69 … psDec->indices.GainsIndices[ 0 ] += (opus_int8)ec_dec_icdf( psRangeDec, silk_uniform8_iCDF, 8 ); in silk_decode_indices()
74 … psDec->indices.GainsIndices[ i ] = (opus_int8)ec_dec_icdf( psRangeDec, silk_delta_gain_iCDF, 8 ); in silk_decode_indices()
80 …psDec->indices.NLSFIndices[ 0 ] = (opus_int8)ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->CB1_iCDF[… in silk_decode_indices()
90 psDec->indices.NLSFIndices[ i+1 ] = (opus_int8)( Ix - NLSF_QUANT_MAX_AMPLITUDE ); in silk_decode_indices()
95 …psDec->indices.NLSFInterpCoef_Q2 = (opus_int8)ec_dec_icdf( psRangeDec, silk_NLSF_interpolation_fac… in silk_decode_indices()
124 … psDec->indices.contourIndex = (opus_int8)ec_dec_icdf( psRangeDec, psDec->pitch_contour_iCDF, 8 ); in silk_decode_indices()
[all …]
Dtables_LTP.c84 static const opus_int8 silk_LTP_gain_vq_0[8][5] =
112 static const opus_int8 silk_LTP_gain_vq_1[16][5] =
164 static const opus_int8 silk_LTP_gain_vq_2[32][5] =
264 const opus_int8 * const silk_LTP_vq_ptrs_Q7[NB_LTP_CBKS] = {
265 (opus_int8 *)&silk_LTP_gain_vq_0[0][0],
266 (opus_int8 *)&silk_LTP_gain_vq_1[0][0],
267 (opus_int8 *)&silk_LTP_gain_vq_2[0][0]
294 const opus_int8 silk_LTP_vq_sizes[NB_LTP_CBKS] = {
Dpitch_est_tables.c35 const opus_int8 silk_CB_lags_stage2_10_ms[ PE_MAX_NB_SUBFR >> 1][ PE_NB_CBKS_STAGE2_10MS ] =
41 const opus_int8 silk_CB_lags_stage3_10_ms[ PE_MAX_NB_SUBFR >> 1 ][ PE_NB_CBKS_STAGE3_10MS ] =
47 const opus_int8 silk_Lag_range_stage3_10_ms[ PE_MAX_NB_SUBFR >> 1 ][ 2 ] =
53 const opus_int8 silk_CB_lags_stage2[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE2_EXT ] =
61 const opus_int8 silk_CB_lags_stage3[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE3_MAX ] =
69 const opus_int8 silk_Lag_range_stage3[ SILK_PE_MAX_COMPLEX + 1 ] [ PE_MAX_NB_SUBFR ][ 2 ] =
94 const opus_int8 silk_nb_cbk_searchs_stage3[ SILK_PE_MAX_COMPLEX + 1 ] =
Dpitch_est_defines.h77 extern const opus_int8 silk_CB_lags_stage2[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE2_EXT ];
78 extern const opus_int8 silk_CB_lags_stage3[ PE_MAX_NB_SUBFR ][ PE_NB_CBKS_STAGE3_MAX ];
79 extern const opus_int8 silk_Lag_range_stage3[ SILK_PE_MAX_COMPLEX + 1 ] [ PE_MAX_NB_SUBFR ][ 2 ];
80 extern const opus_int8 silk_nb_cbk_searchs_stage3[ SILK_PE_MAX_COMPLEX + 1 ];
83 extern const opus_int8 silk_CB_lags_stage2_10_ms[ PE_MAX_NB_SUBFR >> 1][ 3 ];
84 extern const opus_int8 silk_CB_lags_stage3_10_ms[ PE_MAX_NB_SUBFR >> 1 ][ 12 ];
85 extern const opus_int8 silk_Lag_range_stage3_10_ms[ PE_MAX_NB_SUBFR >> 1 ][ 2 ];
Dquant_LTP_gains.c37opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook Index … in silk_quant_LTP_gains()
38opus_int8 *periodicity_index, /* O Periodicity Index … in silk_quant_LTP_gains()
47 opus_int8 temp_idx[ MAX_NB_SUBFR ]; in silk_quant_LTP_gains()
49 const opus_int8 *cbk_ptr_Q7; in silk_quant_LTP_gains()
109 *periodicity_index = (opus_int8)k; in silk_quant_LTP_gains()
110 silk_memcpy( cbk_index, temp_idx, nb_subfr * sizeof( opus_int8 ) ); in silk_quant_LTP_gains()
Dgain_quant.c40opus_int8 ind[ MAX_NB_SUBFR ], /* O gain indices … in silk_gains_quant()
42opus_int8 *prev_ind, /* I/O last index in previous frame … in silk_gains_quant()
95 …const opus_int8 ind[ MAX_NB_SUBFR ], /* I gain indices … in silk_gains_dequant()
96opus_int8 *prev_ind, /* I/O last index in previous frame … in silk_gains_dequant()
128 …const opus_int8 ind[ MAX_NB_SUBFR ], /* I gain indices … in silk_gains_ID()
DNLSF_encode.c39opus_int8 *NLSFIndices, /* I Codebook path vector [ LPC_ORDER + 1… in silk_NLSF_encode()
53 VARDECL( opus_int8, tempIndices2 ); in silk_NLSF_encode()
80 ALLOC( tempIndices2, nSurvivors * MAX_LPC_ORDER, opus_int8 ); in silk_NLSF_encode()
128 NLSFIndices[ 0 ] = (opus_int8)tempIndices1[ bestIndex ]; in silk_NLSF_encode()
129 …Indices[ 1 ], &tempIndices2[ bestIndex * MAX_LPC_ORDER ], psNLSF_CB->order * sizeof( opus_int8 ) ); in silk_NLSF_encode()
DVQ_WMat_EC.c36opus_int8 *ind, /* O index of best codebook vector … in silk_VQ_WMat_EC()
41 …const opus_int8 *cb_Q7, /* I codebook … in silk_VQ_WMat_EC()
50 const opus_int8 *cb_row_Q7; in silk_VQ_WMat_EC()
113 *ind = (opus_int8)k; in silk_VQ_WMat_EC()
Dencode_pulses.c64opus_int8 pulses[], /* I quantization indices … in silk_encode_pulses()
75 const opus_int8 *pulses_ptr; in silk_encode_pulses()
91 silk_memset( &pulses[ frame_length ], 0, SHELL_CODEC_FRAME_LENGTH * sizeof(opus_int8)); in silk_encode_pulses()
190 abs_q = (opus_int8)silk_abs( pulses_ptr[ k ] ); in silk_encode_pulses()
Dstereo_encode_pred.c37opus_int8 ix[ 2 ][ 3 ] /* I Quantization indices … in silk_stereo_encode_pred()
57 opus_int8 mid_only_flag in silk_stereo_encode_mid_only()
DMacroCount.h267 static OPUS_INLINE opus_int8 silk_SAT8(opus_int64 a){ in silk_SAT8()
268 opus_int8 tmp; in silk_SAT8()
270 tmp = (opus_int8)((a) > silk_int8_MAX ? silk_int8_MAX : \ in silk_SAT8()
300 static OPUS_INLINE opus_int8 silk_ADD_POS_SAT8(opus_int64 a, opus_int64 b){ in silk_ADD_POS_SAT8()
301 opus_int8 tmp; in silk_ADD_POS_SAT8()
303 tmp = (opus_int8)((((a)+(b)) & 0x80) ? silk_int8_MAX : ((a)+(b))); in silk_ADD_POS_SAT8()
331 static OPUS_INLINE opus_int8 silk_LSHIFT8(opus_int8 a, opus_int32 shift){ in silk_LSHIFT8()
332 opus_int8 ret; in silk_LSHIFT8()
372 static OPUS_INLINE opus_int8 silk_RSHIFT8(opus_int8 a, opus_int32 shift){ in silk_RSHIFT8()
Ddecode_pitch.c40opus_int8 contourIndex, /* O … in silk_decode_pitch()
47 const opus_int8 *Lag_CB_ptr; in silk_decode_pitch()
DNLSF_del_dec_quant.c36opus_int8 indices[], /* O Quantization indices [ order ]… in silk_NLSF_del_dec_quant()
52 opus_int8 ind[ NLSF_QUANT_DEL_DEC_STATES ][ MAX_LPC_ORDER ]; in silk_NLSF_del_dec_quant()
73 ind[ j ][ i ] = (opus_int8)ind_tmp; in silk_NLSF_del_dec_quant()
178 … silk_memcpy( ind[ ind_max_min ], ind[ ind_min_max ], MAX_LPC_ORDER * sizeof( opus_int8 ) ); in silk_NLSF_del_dec_quant()
Dtables.h80 extern const opus_int8 * const silk_LTP_vq_ptrs_Q7[ NB_LTP_CBKS ]; …
83 extern const opus_int8 silk_LTP_vq_sizes[ NB_LTP_CBKS ]; …
DNLSF_decode.c37 …const opus_int8 indices[], /* I Quantization indices [ order ] … in silk_NLSF_residual_dequant()
65opus_int8 *NLSFIndices, /* I Codebook path vector [ LPC_ORDER + 1… in silk_NLSF_decode()
Dcode_signs.c43 …const opus_int8 pulses[], /* I pulse signal … in silk_encode_signs()
52 const opus_int8 *q_ptr; in silk_encode_signs()
Dresampler.c53 static const opus_int8 delay_matrix_enc[ 5 ][ 3 ] = {
62 static const opus_int8 delay_matrix_dec[ 3 ][ 5 ] = {
/external/libopus/silk/float/
Dstructs_FLP.h44 opus_int8 LastGainIndex;
109 opus_int8 lastGainIndexPrev;
Dmain_FLP.h202opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook index …
203opus_int8 *periodicity_index, /* O Periodicity index …
304opus_int8 pulses[], /* O Quantized pulse signal…
Dwrappers_FLP.c100opus_int8 pulses[], /* O Quantized pulse signal… in silk_NSQ_wrapper_FLP()
176opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook index … in silk_quant_LTP_gains_FLP()
177opus_int8 *periodicity_index, /* O Periodicity index … in silk_quant_LTP_gains_FLP()
Dpitch_analysis_core_FLP.c71opus_int8 *contourIndex, /* O Pitch contour Index … in silk_pitch_analysis_core_FLP()
109 const opus_int8 *Lag_CB_ptr; in silk_pitch_analysis_core_FLP()
464 *contourIndex = (opus_int8)CBimax; in silk_pitch_analysis_core_FLP()
472 *contourIndex = (opus_int8)CBimax; in silk_pitch_analysis_core_FLP()
507 const opus_int8 *Lag_range_ptr, *Lag_CB_ptr; in silk_P_Ana_calc_corr_st3()
573 const opus_int8 *Lag_range_ptr, *Lag_CB_ptr; in silk_P_Ana_calc_energy_st3()
/external/libopus/silk/fixed/
Dstructs_FIX.h44 opus_int8 LastGainIndex;
110 opus_int8 lastGainIndexPrev;
Dpitch_analysis_core_FIX.c85opus_int8 *contourIndex, /* O Pitch contour Index … in silk_pitch_analysis_core()
119 const opus_int8 *Lag_CB_ptr; in silk_pitch_analysis_core()
567 *contourIndex = (opus_int8)CBimax; in silk_pitch_analysis_core()
575 *contourIndex = (opus_int8)CBimax; in silk_pitch_analysis_core()
611 const opus_int8 *Lag_range_ptr, *Lag_CB_ptr; in silk_P_Ana_calc_corr_st3()
682 const opus_int8 *Lag_range_ptr, *Lag_CB_ptr; in silk_P_Ana_calc_energy_st3()

12