Home
last modified time | relevance | path

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

12

/external/libopus/silk/
Dstructs.h107 opus_int8 predIx[ MAX_FRAMES_PER_PACKET ][ 2 ][ 3 ];
108 opus_int8 mid_only_flags[ MAX_FRAMES_PER_PACKET ];
118 opus_int8 GainsIndices[ MAX_NB_SUBFR ];
119 opus_int8 LTPIndex[ MAX_NB_SUBFR ];
120 opus_int8 NLSFIndices[ MAX_LPC_ORDER + 1 ];
122 opus_int8 contourIndex;
123 opus_int8 signalType;
124 opus_int8 quantOffsetType;
125 opus_int8 NLSFInterpCoef_Q2;
126 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 …]
Dmain.h54opus_int8 ix[ 2 ][ 3 ], /* O Quantization indices …
55opus_int8 *mid_only_flag, /* O Flag: only mid signal coded …
87opus_int8 ix[ 2 ][ 3 ] /* O Quantization indices …
93opus_int8 ix[ 2 ][ 3 ] /* I Quantization indices …
99 opus_int8 mid_only_flag
117 …const opus_int8 pulses[], /* I pulse signal …
160opus_int8 pulses[], /* I quantization indices …
179opus_int8 ind[ MAX_NB_SUBFR ], /* O gain indices …
181opus_int8 *prev_ind, /* I/O last index in previous frame …
189 …const opus_int8 ind[ MAX_NB_SUBFR ], /* I gain indices …
[all …]
Dtables_LTP.c82 static const opus_int8 silk_LTP_gain_vq_0[8][5] =
110 static const opus_int8 silk_LTP_gain_vq_1[16][5] =
162 static const opus_int8 silk_LTP_gain_vq_2[32][5] =
262 const opus_int8 * const silk_LTP_vq_ptrs_Q7[NB_LTP_CBKS] = {
263 (opus_int8 *)&silk_LTP_gain_vq_0[0][0],
264 (opus_int8 *)&silk_LTP_gain_vq_1[0][0],
265 (opus_int8 *)&silk_LTP_gain_vq_2[0][0]
292 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()
49 opus_int8 temp_idx[ MAX_NB_SUBFR ]; in silk_quant_LTP_gains()
51 const opus_int8 *cbk_ptr_Q7; in silk_quant_LTP_gains()
111 *periodicity_index = (opus_int8)k; in silk_quant_LTP_gains()
112 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()
96 …const opus_int8 ind[ MAX_NB_SUBFR ], /* I gain indices … in silk_gains_dequant()
97opus_int8 *prev_ind, /* I/O last index in previous frame … in silk_gains_dequant()
129 …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()
78 ALLOC( tempIndices2, nSurvivors * MAX_LPC_ORDER, opus_int8 ); in silk_NLSF_encode()
115 NLSFIndices[ 0 ] = (opus_int8)tempIndices1[ bestIndex ]; in silk_NLSF_encode()
116 …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_c()
42 …const opus_int8 *cb_Q7, /* I codebook … in silk_VQ_WMat_EC_c()
51 const opus_int8 *cb_row_Q7; in silk_VQ_WMat_EC_c()
123 *ind = (opus_int8)k; in silk_VQ_WMat_EC_c()
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()
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()
323 static OPUS_INLINE opus_int8 silk_LSHIFT8(opus_int8 a, opus_int32 shift){ in silk_LSHIFT8()
324 opus_int8 ret; in silk_LSHIFT8()
364 static OPUS_INLINE opus_int8 silk_RSHIFT8(opus_int8 a, opus_int32 shift){ in silk_RSHIFT8()
DNLSF_del_dec_quant.c36opus_int8 indices[], /* O Quantization indices [ order ]… in silk_NLSF_del_dec_quant()
53 opus_int8 ind[ NLSF_QUANT_DEL_DEC_STATES ][ MAX_LPC_ORDER ]; in silk_NLSF_del_dec_quant()
95 ind[ j ][ i ] = (opus_int8)ind_tmp; in silk_NLSF_del_dec_quant()
188 … silk_memcpy( ind[ ind_max_min ], ind[ ind_min_max ], MAX_LPC_ORDER * sizeof( opus_int8 ) ); in silk_NLSF_del_dec_quant()
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()
Ddecode_pitch.c40opus_int8 contourIndex, /* O … in silk_decode_pitch()
47 const opus_int8 *Lag_CB_ptr; in silk_decode_pitch()
Dtables.h79 extern const opus_int8 * const silk_LTP_vq_ptrs_Q7[ NB_LTP_CBKS ]; …
81 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()
/external/libopus/silk/x86/
Dmain_sse.h41opus_int8 *ind, /* O index of best codebook vector …
46 …const opus_int8 *cb_Q7, /* I codebook …
64opus_int8 *ind, /* O index of best codebook vector …
69 …const opus_int8 *cb_Q7, /* I codebook …
93opus_int8 pulses[], /* O Quantized pulse si…
120opus_int8 pulses[], /* O Quantized pulse si…
147opus_int8 pulses[], /* O Quantized pulse si…
174opus_int8 pulses[], /* O Quantized pulse si…
199 opus_int8 pulses[], /* O */
Dx86_silk_map.c75opus_int8 pulses[], /* O Quantized pulse si…
97opus_int8 *ind, /* O index of best codebook vector …
102 …const opus_int8 *cb_Q7, /* I codebook …
123opus_int8 pulses[], /* O Quantized pulse si…
DVQ_WMat_EC_sse.c40opus_int8 *ind, /* O index of best codebook vector … in silk_VQ_WMat_EC_sse4_1()
45 …const opus_int8 *cb_Q7, /* I codebook … in silk_VQ_WMat_EC_sse4_1()
54 const opus_int8 *cb_row_Q7; in silk_VQ_WMat_EC_sse4_1()
135 *ind = (opus_int8)k; in silk_VQ_WMat_EC_sse4_1()
/external/libopus/silk/float/
Dmain_FLP.h188opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook index …
189opus_int8 *periodicity_index, /* O Periodicity index …
277opus_int8 pulses[], /* O Quantized pulse signal…
Dstructs_FLP.h44 opus_int8 LastGainIndex;
89 opus_int8 lastGainIndexPrev;
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()
Dwrappers_FLP.c101opus_int8 pulses[], /* O Quantized pulse signal… in silk_NSQ_wrapper_FLP()
177opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook index … in silk_quant_LTP_gains_FLP()
178opus_int8 *periodicity_index, /* O Periodicity index … in silk_quant_LTP_gains_FLP()
/external/libopus/silk/fixed/
Dstructs_FIX.h44 opus_int8 LastGainIndex;
92 opus_int8 lastGainIndexPrev;

12