Home
last modified time | relevance | path

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

123

/external/libopus/silk/
Dstructs.h108 opus_int8 predIx[ MAX_FRAMES_PER_PACKET ][ 2 ][ 3 ];
109 opus_int8 mid_only_flags[ MAX_FRAMES_PER_PACKET ];
119 opus_int8 GainsIndices[ MAX_NB_SUBFR ];
120 opus_int8 LTPIndex[ MAX_NB_SUBFR ];
121 opus_int8 NLSFIndices[ MAX_LPC_ORDER + 1 ];
123 opus_int8 contourIndex;
124 opus_int8 signalType;
125 opus_int8 quantOffsetType;
126 opus_int8 NLSFInterpCoef_Q2;
127 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.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 ] =
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 …]
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()
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()
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()
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()
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()
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 ]; …
/external/libopus/src/
Dmlp_data.c9 static const opus_int8 layer0_weights[800] = {
112 static const opus_int8 layer0_bias[32] = {
119 static const opus_int8 layer1_weights[2304] = {
410 static const opus_int8 layer1_recur_weights[1728] = {
629 static const opus_int8 layer1_bias[72] = {
641 static const opus_int8 layer2_weights[48] = {
650 static const opus_int8 layer2_bias[2] = {
Dmlp.h37 const opus_int8 *bias;
38 const opus_int8 *input_weights;
45 const opus_int8 *bias;
46 const opus_int8 *input_weights;
47 const opus_int8 *recurrent_weights;
/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_sse4_1.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/include/
Dopus_types.h38 #define opus_int8 signed char macro
48 # undef opus_int8
51 typedef int8_t opus_int8; typedef
/external/libopus/silk/float/
Dstructs_FLP.h44 opus_int8 LastGainIndex;
89 opus_int8 lastGainIndexPrev;
Dmain_FLP.h189opus_int8 cbk_index[ MAX_NB_SUBFR ], /* O Codebook index …
190opus_int8 *periodicity_index, /* O Periodicity index …
278opus_int8 pulses[], /* O Quantized pulse signal…
/external/libopus/silk/fixed/
Dstructs_FIX.h44 opus_int8 LastGainIndex;
92 opus_int8 lastGainIndexPrev;

123