Home
last modified time | relevance | path

Searched refs:signalType (Results 1 – 25 of 38) sorted by relevance

12

/external/libopus/silk/
Ddecode_core.c46 opus_int i, k, lag = 0, start_idx, sLTP_buf_idx, NLSF_interpolation_flag, signalType; in silk_decode_core() local
63 …offset_Q10 = silk_Quantization_Offsets_Q10[ psDec->indices.signalType >> 1 ][ psDec->indices.quant… in silk_decode_core()
104 signalType = psDec->indices.signalType; in silk_decode_core()
127 psDec->indices.signalType != TYPE_VOICED && k < MAX_NB_SUBFR/2 ) { in silk_decode_core()
132 signalType = TYPE_VOICED; in silk_decode_core()
136 if( signalType == TYPE_VOICED ) { in silk_decode_core()
172 if( signalType == TYPE_VOICED ) { in silk_decode_core()
Dcode_signs.c45 …const opus_int signalType, /* I Signal type … in silk_encode_signs() argument
57 i = silk_SMULBB( 7, silk_ADD_LSHIFT( quantOffsetType, signalType, 1 ) ); in silk_encode_signs()
79 …const opus_int signalType, /* I Signal type … in silk_decode_signs() argument
91 i = silk_SMULBB( 7, silk_ADD_LSHIFT( quantOffsetType, signalType, 1 ) ); in silk_decode_signs()
Ddecode_indices.c56 psDec->indices.signalType = (opus_int8)silk_RSHIFT( Ix, 1 ); in silk_decode_indices()
68 …s_int8)silk_LSHIFT( ec_dec_icdf( psRangeDec, silk_gain_iCDF[ psDec->indices.signalType ], 8 ), 3 ); in silk_decode_indices()
80 …ec_dec_icdf( psRangeDec, &psDec->psNLSF_CB->CB1_iCDF[ ( psDec->indices.signalType >> 1 ) * psDec->… in silk_decode_indices()
100 if( psDec->indices.signalType == TYPE_VOICED ) in silk_decode_indices()
145 psDec->ec_prevSignalType = psDec->indices.signalType; in silk_decode_indices()
Dencode_indices.c58 typeOffset = 2 * psIndices->signalType + psIndices->quantOffsetType; in silk_encode_indices()
78 …eEnc, silk_RSHIFT( psIndices->GainsIndices[ 0 ], 3 ), silk_gain_iCDF[ psIndices->signalType ], 8 ); in silk_encode_indices()
91 …sIndices->NLSFIndices[ 0 ], &psEncC->psNLSF_CB->CB1_iCDF[ ( psIndices->signalType >> 1 ) * psEncC-… in silk_encode_indices()
112 if( psIndices->signalType == TYPE_VOICED ) in silk_encode_indices()
174 psEncC->ec_prevSignalType = psIndices->signalType; in silk_encode_indices()
DNLSF_encode.c45 …const opus_int signalType /* I Signal type: 0/1/2 … in silk_NLSF_encode() argument
63 celt_assert( signalType >= 0 && signalType <= 2 ); in silk_NLSF_encode()
102 iCDF_ptr = &psNLSF_CB->CB1_iCDF[ ( signalType >> 1 ) * psNLSF_CB->nVectors ]; in silk_NLSF_encode()
Ddecode_pulses.c40 …const opus_int signalType, /* I Sigtype … in silk_decode_pulses() argument
53 RateLevelIndex = ec_dec_icdf( psRangeDec, silk_rate_levels_iCDF[ signalType >> 1 ], 8 ); in silk_decode_pulses()
114 silk_decode_signs( psRangeDec, pulses, frame_length, signalType, quantOffsetType, sum_pulses ); in silk_decode_pulses()
Dencode_pulses.c62 …const opus_int signalType, /* I Signal type … in silk_encode_pulses() argument
142 sumBits_Q5 = silk_rate_levels_BITS_Q5[ signalType >> 1 ][ k ]; in silk_encode_pulses()
155 ec_enc_icdf( psRangeEnc, RateLevelIndex, silk_rate_levels_iCDF[ signalType >> 1 ], 8 ); in silk_encode_pulses()
204 silk_encode_signs( psRangeEnc, pulses, frame_length, signalType, quantOffsetType, sum_pulses ); in silk_encode_pulses()
Ddecode_frame.c74 silk_decode_pulses( psRangeDec, pulses, psDec->indices.signalType, in silk_decode_frame()
93 psDec->prevSignalType = psDec->indices.signalType; in silk_decode_frame()
100 psDec->indices.signalType = psDec->prevSignalType; in silk_decode_frame()
DNSQ.c54 opus_int signalType, /* I Signal type */
112 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffsetTy… in silk_NSQ_c()
138 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_c()
156 …, NSQ, x16, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType ); in silk_NSQ_c()
158 …silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_… in silk_NSQ_c()
185 opus_int signalType, /* I Signal type */ in silk_noise_shape_quantizer() argument
235 if( signalType == TYPE_VOICED ) { in silk_noise_shape_quantizer()
258 celt_assert( lag > 0 || signalType != TYPE_VOICED ); in silk_noise_shape_quantizer()
Dmain.h119 …const opus_int signalType, /* I Signal type …
129 …const opus_int signalType, /* I Signal type …
158 …const opus_int signalType, /* I Signal type …
345 …const opus_int signalType /* I Signal type: 0/1/2 …
445 …const opus_int signalType, /* I Sigtype …
DNSQ_del_dec.c90 opus_int signalType, /* I Signal type */
170 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffset… in silk_NSQ_del_dec_c()
176 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_c()
212 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_c()
264 …psEncC->nStatesDelayedDecision, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionD… in silk_NSQ_del_dec_c()
266 …silk_noise_shape_quantizer_del_dec( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, pxq, s… in silk_NSQ_del_dec_c()
321 opus_int signalType, /* I Signal type */ in silk_noise_shape_quantizer_del_dec() argument
379 if( signalType == TYPE_VOICED ) { in silk_noise_shape_quantizer_del_dec()
Dcontrol.h117 opus_int signalType; member
DPLC.c109 psDec->prevSignalType = psDec->indices.signalType; in silk_PLC_update()
111 if( psDec->indices.signalType == TYPE_VOICED ) { in silk_PLC_update()
331 if ( psDec->indices.signalType != TYPE_NO_VOICE_ACTIVITY ) { in silk_PLC_conceal()
/external/libopus/silk/float/
Dprocess_gains_FLP.c48 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FLP()
84 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FLP()
93 …quant_offset = silk_Quantization_Offsets_Q10[ psEnc->sCmn.indices.signalType >> 1 ][ psEnc->sCmn.i… in silk_process_gains_FLP()
Dfind_pitch_lags_FLP.c107 …if( psEnc->sCmn.indices.signalType != TYPE_NO_VOICE_ACTIVITY && psEnc->sCmn.first_frame_after_rese… in silk_find_pitch_lags_FLP()
122 psEnc->sCmn.indices.signalType = TYPE_VOICED; in silk_find_pitch_lags_FLP()
124 psEnc->sCmn.indices.signalType = TYPE_UNVOICED; in silk_find_pitch_lags_FLP()
Dnoise_shape_analysis_FLP.c184 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FLP()
196 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FLP()
303 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FLP()
327 if( USE_HARM_SHAPING && psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FLP()
Dencode_frame_FLP.c64 psEnc->sCmn.indices.signalType = TYPE_NO_VOICE_ACTIVITY; in silk_encode_do_VAD_FLP()
76 psEnc->sCmn.indices.signalType = TYPE_UNVOICED; in silk_encode_do_VAD_FLP()
210 …silk_encode_pulses( psRangeEnc, psEnc->sCmn.indices.signalType, psEnc->sCmn.indices.quantOffsetTyp… in silk_encode_frame_FLP()
236 …silk_encode_pulses( psRangeEnc, psEnc->sCmn.indices.signalType, psEnc->sCmn.indices.quantOffsetTyp… in silk_encode_frame_FLP()
369 psEnc->sCmn.prevSignalType = psEnc->sCmn.indices.signalType; in silk_encode_frame_FLP()
/external/libopus/silk/fixed/
Dprocess_gains_FIX.c47 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FIX()
98 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_process_gains_FIX()
107 …quant_offset_Q10 = silk_Quantization_Offsets_Q10[ psEnc->sCmn.indices.signalType >> 1 ][ psEnc->sC… in silk_process_gains_FIX()
Dfind_pitch_lags_FIX.c115 …if( psEnc->sCmn.indices.signalType != TYPE_NO_VOICE_ACTIVITY && psEnc->sCmn.first_frame_after_rese… in silk_find_pitch_lags_FIX()
132 psEnc->sCmn.indices.signalType = TYPE_VOICED; in silk_find_pitch_lags_FIX()
134 psEnc->sCmn.indices.signalType = TYPE_UNVOICED; in silk_find_pitch_lags_FIX()
Dencode_frame_FIX.c65 psEnc->sCmn.indices.signalType = TYPE_NO_VOICE_ACTIVITY; in silk_encode_do_VAD_FIX()
77 psEnc->sCmn.indices.signalType = TYPE_UNVOICED; in silk_encode_do_VAD_FIX()
224 …silk_encode_pulses( psRangeEnc, psEnc->sCmn.indices.signalType, psEnc->sCmn.indices.quantOffsetTyp… in silk_encode_frame_FIX()
250 …silk_encode_pulses( psRangeEnc, psEnc->sCmn.indices.signalType, psEnc->sCmn.indices.quantOffsetTyp… in silk_encode_frame_FIX()
378 psEnc->sCmn.prevSignalType = psEnc->sCmn.indices.signalType; in silk_encode_frame_FIX()
Dnoise_shape_analysis_FIX.c185 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
199 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
351 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
380 if( USE_HARM_SHAPING && psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
/external/libopus/silk/x86/
DNSQ_sse4_1.c55 opus_int signalType, /* I Signal type */
113 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffsetTy… in silk_NSQ_sse4_1()
194 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_sse4_1()
212 … NSQ, x_Q3, x_sc_Q10, sLTP, sLTP_Q15, k, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType ); in silk_NSQ_sse4_1()
216 …silk_noise_shape_quantizer_10_16_sse4_1( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q… in silk_NSQ_sse4_1()
222 …silk_noise_shape_quantizer( NSQ, psIndices->signalType, x_sc_Q10, pulses, pxq, sLTP_Q15, A_Q12, B_… in silk_NSQ_sse4_1()
246 opus_int signalType, /* I Signal type */ in silk_noise_shape_quantizer_10_16_sse4_1() argument
391 if ( opus_likely( signalType == TYPE_VOICED ) ) { in silk_noise_shape_quantizer_10_16_sse4_1()
465 silk_assert( lag > 0 || signalType != TYPE_VOICED ); in silk_noise_shape_quantizer_10_16_sse4_1()
DNSQ_del_dec_sse4_1.c88 opus_int signalType, /* I Signal type */
166 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffset… in silk_NSQ_del_dec_sse4_1()
172 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_sse4_1()
209 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_sse4_1()
261 …psEncC->nStatesDelayedDecision, LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionD… in silk_NSQ_del_dec_sse4_1()
263 …silk_noise_shape_quantizer_del_dec_sse4_1( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses,… in silk_NSQ_del_dec_sse4_1()
315 opus_int signalType, /* I Signal type */ in silk_noise_shape_quantizer_del_dec_sse4_1() argument
371 if( signalType == TYPE_VOICED ){ in silk_noise_shape_quantizer_del_dec_sse4_1()
379 if( signalType == TYPE_VOICED ) { in silk_noise_shape_quantizer_del_dec_sse4_1()
/external/libopus/silk/fixed/mips/
Dnoise_shape_analysis_FIX_mipsr1.h80 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
94 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
270 if( psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
307 if( USE_HARM_SHAPING && psEnc->sCmn.indices.signalType == TYPE_VOICED ) { in silk_noise_shape_analysis_FIX()
/external/libopus/silk/arm/
DNSQ_del_dec_neon_intr.c90 opus_int signalType, /* I Signal type */
299 …offset_Q10 = silk_Quantization_Offsets_Q10[ psIndices->signalType >> 1 ][ psIndices->quantOffset… in silk_NSQ_del_dec_neon()
305 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_neon()
343 if( psIndices->signalType == TYPE_VOICED ) { in silk_NSQ_del_dec_neon()
385 LTP_scale_Q14, Gains_Q16, pitchL, psIndices->signalType, decisionDelay ); in silk_NSQ_del_dec_neon()
387 …silk_noise_shape_quantizer_del_dec_neon( NSQ, psDelDec, psIndices->signalType, x_sc_Q10, pulses, p… in silk_NSQ_del_dec_neon()
545 opus_int signalType, /* I Signal type */ in silk_noise_shape_quantizer_del_dec_neon() argument
617 if( signalType == TYPE_VOICED ) { in silk_noise_shape_quantizer_del_dec_neon()

12