/external/libopus/celt/ |
D | fixed_debug.h | 77 celt_assert(0); in NEG16() 85 celt_assert(0); in NEG16() 98 celt_assert(0); in NEG32() 106 celt_assert(0); in NEG32() 121 celt_assert(0); in EXTRACT16_() 137 celt_assert(0); in EXTEND32_() 153 celt_assert(0); in SHR16_() 161 celt_assert(0); in SHR16_() 175 celt_assert(0); in SHL16_() 183 celt_assert(0); in SHL16_() [all …]
|
D | cwrs.c | 434 celt_assert(_maxk>0); in get_required_bits() 444 celt_assert(_n>=2); in icwrs() 459 celt_assert(_k>0); in encode_pulses() 469 celt_assert(_k>0); in cwrsi() 470 celt_assert(_n>1); in cwrsi() 585 celt_assert(len>=3); in ncwrs_urow() 590 celt_assert(_n>=2); in ncwrs_urow() 592 celt_assert(_k>0); in ncwrs_urow() 609 celt_assert(_n>0); in cwrsi() 651 celt_assert(_n>=2); in icwrs() [all …]
|
D | laplace.c | 88 celt_assert(fl+fs<=32768); in ec_laplace_encode() 89 celt_assert(fs>0); in ec_laplace_encode() 128 celt_assert(fl<32768); in ec_laplace_decode() 129 celt_assert(fs>0); in ec_laplace_decode() 130 celt_assert(fl<=fm); in ec_laplace_decode() 131 celt_assert(fm<IMIN(fl+fs,32768)); in ec_laplace_decode()
|
D | celt_decoder.c | 118 celt_assert(st->mode == opus_custom_mode_create(48000, 960, NULL)); in validate_celt_decoder() 119 celt_assert(st->overlap == 120); in validate_celt_decoder() 121 celt_assert(st->channels == 1 || st->channels == 2); in validate_celt_decoder() 122 celt_assert(st->stream_channels == 1 || st->stream_channels == 2); in validate_celt_decoder() 123 celt_assert(st->downsample > 0); in validate_celt_decoder() 124 celt_assert(st->start == 0 || st->start == 17); in validate_celt_decoder() 125 celt_assert(st->start < st->end); in validate_celt_decoder() 126 celt_assert(st->end <= 21); in validate_celt_decoder() 128 celt_assert(st->arch >= 0); in validate_celt_decoder() 129 celt_assert(st->arch <= OPUS_ARCHMASK); in validate_celt_decoder() [all …]
|
D | rate.c | 200 celt_assert(qb >= 0); in compute_pulse_cache() 215 celt_assert(qb >= 0); in compute_pulse_cache() 232 celt_assert(qb >= 0); in compute_pulse_cache() 236 celt_assert(max_bits >= 0); in compute_pulse_cache() 237 celt_assert(max_bits < 256); in compute_pulse_cache() 391 celt_assert(codedBands > start); in interp_bits2pulses() 442 celt_assert(bits[j] >= 0); in interp_bits2pulses() 513 celt_assert(bits[j] >= 0); in interp_bits2pulses() 514 celt_assert(ebits[j] >= 0); in interp_bits2pulses() 524 celt_assert(C*ebits[j]<<BITRES == bits[j]); in interp_bits2pulses()
|
/external/libopus/silk/ |
D | check_control_input.c | 41 celt_assert( encControl != NULL ); in check_control_input() 62 celt_assert( 0 ); in check_control_input() 69 celt_assert( 0 ); in check_control_input() 73 celt_assert( 0 ); in check_control_input() 77 celt_assert( 0 ); in check_control_input() 81 celt_assert( 0 ); in check_control_input() 85 celt_assert( 0 ); in check_control_input() 89 celt_assert( 0 ); in check_control_input() 93 celt_assert( 0 ); in check_control_input() 97 celt_assert( 0 ); in check_control_input() [all …]
|
D | sort.c | 51 celt_assert( K > 0 ); in silk_insertion_sort_increasing() 52 celt_assert( L > 0 ); in silk_insertion_sort_increasing() 53 celt_assert( L >= K ); in silk_insertion_sort_increasing() 99 celt_assert( K > 0 ); in silk_insertion_sort_decreasing_int16() 100 celt_assert( L > 0 ); in silk_insertion_sort_decreasing_int16() 101 celt_assert( L >= K ); in silk_insertion_sort_decreasing_int16() 144 celt_assert( L > 0 ); in silk_insertion_sort_increasing_all_values_int16()
|
D | LPC_analysis_filter.c | 67 celt_assert( d >= 6 ); in silk_LPC_analysis_filter() 68 celt_assert( (d & 1) == 0 ); in silk_LPC_analysis_filter() 69 celt_assert( d <= len ); in silk_LPC_analysis_filter() 72 celt_assert( d <= SILK_MAX_ORDER_LPC ); in silk_LPC_analysis_filter()
|
D | decoder_set_fs.c | 43 celt_assert( fs_kHz == 8 || fs_kHz == 12 || fs_kHz == 16 ); in silk_decoder_set_fs() 44 celt_assert( psDec->nb_subfr == MAX_NB_SUBFR || psDec->nb_subfr == MAX_NB_SUBFR/2 ); in silk_decoder_set_fs() 89 celt_assert( 0 ); in silk_decoder_set_fs() 104 celt_assert( psDec->frame_length > 0 && psDec->frame_length <= MAX_FRAME_LENGTH ); in silk_decoder_set_fs()
|
D | control_codec.c | 241 celt_assert( fs_kHz == 8 || fs_kHz == 12 || fs_kHz == 16 ); in silk_setup_fs() 242 celt_assert( psEnc->sCmn.nb_subfr == 2 || psEnc->sCmn.nb_subfr == 4 ); in silk_setup_fs() 302 celt_assert( ( psEnc->sCmn.subfr_length * psEnc->sCmn.nb_subfr ) == psEnc->sCmn.frame_length ); in silk_setup_fs() 315 celt_assert( Complexity >= 0 && Complexity <= 10 ); in silk_setup_complexity() 393 celt_assert( psEncC->pitchEstimationLPCOrder <= MAX_FIND_PITCH_LPC_ORDER ); in silk_setup_complexity() 394 celt_assert( psEncC->shapingLPCOrder <= MAX_SHAPE_LPC_ORDER ); in silk_setup_complexity() 395 celt_assert( psEncC->nStatesDelayedDecision <= MAX_DEL_DEC_STATES ); in silk_setup_complexity() 396 celt_assert( psEncC->warping_Q16 <= 32767 ); in silk_setup_complexity() 397 celt_assert( psEncC->la_shape <= LA_SHAPE_MAX ); in silk_setup_complexity() 398 celt_assert( psEncC->shapeWinLength <= SHAPE_LPC_WIN_MAX ); in silk_setup_complexity()
|
D | stereo_encode_pred.c | 44 celt_assert( n < 25 ); in silk_stereo_encode_pred() 47 celt_assert( ix[ n ][ 0 ] < 3 ); in silk_stereo_encode_pred() 48 celt_assert( ix[ n ][ 1 ] < STEREO_QUANT_SUB_STEPS ); in silk_stereo_encode_pred()
|
D | resampler.c | 94 celt_assert( 0 ); in silk_resampler_init() 101 celt_assert( 0 ); in silk_resampler_init() 154 celt_assert( 0 ); in silk_resampler_init() 184 celt_assert( inLen >= S->Fs_in_kHz ); in silk_resampler() 186 celt_assert( S->inputDelay <= S->Fs_in_kHz ); in silk_resampler()
|
D | decode_frame.c | 58 celt_assert( L > 0 && L <= MAX_FRAME_LENGTH ); in silk_decode_frame() 94 celt_assert( psDec->prevSignalType >= 0 && psDec->prevSignalType <= 2 ); in silk_decode_frame() 107 celt_assert( psDec->ltp_mem_length >= psDec->frame_length ); in silk_decode_frame()
|
D | process_NLSFs.c | 51 …celt_assert( psEncC->useInterpolatedNLSFs == 1 || psEncC->indices.NLSFInterpCoef_Q2 == ( 1 << 2 ) … in silk_process_NLSFs() 63 celt_assert( NLSF_mu_Q20 > 0 ); in silk_process_NLSFs() 104 celt_assert( psEncC->predictLPCOrder <= MAX_LPC_ORDER ); in silk_process_NLSFs()
|
D | enc_API.c | 85 celt_assert( 0 ); in silk_InitEncoder() 94 celt_assert( 0 ); in silk_InitEncoder() 170 celt_assert( 0 ); in silk_Encode() 206 celt_assert( 0 ); in silk_Encode() 222 celt_assert( !ret ); in silk_Encode() 235 celt_assert( 0 ); in silk_Encode() 241 celt_assert( 0 ); in silk_Encode() 262 …celt_assert( encControl->nChannelsInternal == 1 || psEnc->state_Fxx[ 0 ].sCmn.fs_kHz == psEnc->sta… in silk_Encode() 320 celt_assert( encControl->nChannelsAPI == 1 && encControl->nChannelsInternal == 1 ); in silk_Encode() 336 … celt_assert( psEnc->state_Fxx[ 0 ].sCmn.inputBufIx == psEnc->state_Fxx[ 0 ].sCmn.frame_length ); in silk_Encode() [all …]
|
D | interpolate.c | 45 celt_assert( ifact_Q2 >= 0 ); in silk_interpolate() 46 celt_assert( ifact_Q2 <= 4 ); in silk_interpolate()
|
/external/libopus/silk/float/ |
D | pitch_analysis_core_FLP.c | 112 celt_assert( Fs_kHz == 8 || Fs_kHz == 12 || Fs_kHz == 16 ); in silk_pitch_analysis_core_FLP() 115 celt_assert( complexity >= SILK_PE_MIN_COMPLEX ); in silk_pitch_analysis_core_FLP() 116 celt_assert( complexity <= SILK_PE_MAX_COMPLEX ); in silk_pitch_analysis_core_FLP() 151 celt_assert( Fs_kHz == 8 ); in silk_pitch_analysis_core_FLP() 172 celt_assert( target_ptr >= frame_4kHz ); in silk_pitch_analysis_core_FLP() 173 celt_assert( target_ptr + sf_length_8kHz <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core_FLP() 178 celt_assert( basis_ptr >= frame_4kHz ); in silk_pitch_analysis_core_FLP() 179 celt_assert( basis_ptr + sf_length_8kHz <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core_FLP() 218 celt_assert( 3 * length_d_srch <= PE_D_SRCH_LENGTH ); in silk_pitch_analysis_core_FLP() 241 celt_assert( length_d_srch > 0 ); in silk_pitch_analysis_core_FLP() [all …]
|
D | sort_FLP.c | 50 celt_assert( K > 0 ); in silk_insertion_sort_decreasing_FLP() 51 celt_assert( L > 0 ); in silk_insertion_sort_decreasing_FLP() 52 celt_assert( L >= K ); in silk_insertion_sort_decreasing_FLP()
|
/external/libopus/silk/fixed/ |
D | pitch_analysis_core_FIX.c | 125 celt_assert( Fs_kHz == 8 || Fs_kHz == 12 || Fs_kHz == 16 ); in silk_pitch_analysis_core() 128 celt_assert( complexity >= SILK_PE_MIN_COMPLEX ); in silk_pitch_analysis_core() 129 celt_assert( complexity <= SILK_PE_MAX_COMPLEX ); in silk_pitch_analysis_core() 167 celt_assert( Fs_kHz == 8 ); in silk_pitch_analysis_core() 191 celt_assert( target_ptr >= frame_4kHz ); in silk_pitch_analysis_core() 192 celt_assert( target_ptr + SF_LENGTH_8KHZ <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core() 197 celt_assert( basis_ptr >= frame_4kHz ); in silk_pitch_analysis_core() 198 celt_assert( basis_ptr + SF_LENGTH_8KHZ <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core() 252 celt_assert( 3 * length_d_srch <= PE_D_SRCH_LENGTH ); in silk_pitch_analysis_core() 277 celt_assert( length_d_srch > 0 ); in silk_pitch_analysis_core() [all …]
|
D | apply_sine_window_FIX.c | 60 celt_assert( win_type == 1 || win_type == 2 ); in silk_apply_sine_window() 63 celt_assert( length >= 16 && length <= 120 ); in silk_apply_sine_window() 64 celt_assert( ( length & 3 ) == 0 ); in silk_apply_sine_window() 68 celt_assert( k >= 0 && k <= 26 ); in silk_apply_sine_window()
|
D | residual_energy16_FIX.c | 50 celt_assert( D >= 0 ); in silk_residual_energy16_covar_FIX() 51 celt_assert( D <= 16 ); in silk_residual_energy16_covar_FIX() 52 celt_assert( cQ > 0 ); in silk_residual_energy16_covar_FIX() 53 celt_assert( cQ < 16 ); in silk_residual_energy16_covar_FIX()
|
/external/libopus/celt/arm/ |
D | armcpu.c | 164 celt_assert(arch == OPUS_ARCH_ARM_V4); in opus_select_arch() 170 celt_assert(arch == OPUS_ARCH_ARM_EDSP); in opus_select_arch() 176 celt_assert(arch == OPUS_ARCH_ARM_MEDIA); in opus_select_arch() 181 celt_assert(arch == OPUS_ARCH_ARM_NEON); in opus_select_arch()
|
D | pitch_neon_intr.c | 69 celt_assert(celt_inner_prod_c(x, y, N) == xy); in celt_inner_prod_neon() 123 celt_assert(xy1_c == *xy1); in dual_inner_prod_neon() 124 celt_assert(xy2_c == *xy2); in dual_inner_prod_neon() 228 celt_assert(ABS32(celt_inner_prod_neon_float_c_simulation(x, y, N) - xy) <= VERY_SMALL); in celt_inner_prod_neon() 284 celt_assert(ABS32(xy1_c - *xy1) <= VERY_SMALL); in dual_inner_prod_neon() 285 celt_assert(ABS32(xy2_c - *xy2) <= VERY_SMALL); in dual_inner_prod_neon()
|
/external/libopus/src/ |
D | opus_decoder.c | 84 celt_assert(st->channels == 1 || st->channels == 2); in validate_opus_decoder() 85 …celt_assert(st->Fs == 48000 || st->Fs == 24000 || st->Fs == 16000 || st->Fs == 12000 || st->Fs == … in validate_opus_decoder() 86 celt_assert(st->DecControl.API_sampleRate == st->Fs); in validate_opus_decoder() 87 …celt_assert(st->DecControl.internalSampleRate == 0 || st->DecControl.internalSampleRate == 16000 |… in validate_opus_decoder() 88 celt_assert(st->DecControl.nChannelsAPI == st->channels); in validate_opus_decoder() 89 …celt_assert(st->DecControl.nChannelsInternal == 0 || st->DecControl.nChannelsInternal == 1 || st->… in validate_opus_decoder() 90 …celt_assert(st->DecControl.payloadSize_ms == 0 || st->DecControl.payloadSize_ms == 10 || st->DecCo… in validate_opus_decoder() 92 celt_assert(st->arch >= 0); in validate_opus_decoder() 93 celt_assert(st->arch <= OPUS_ARCHMASK); in validate_opus_decoder() 95 celt_assert(st->stream_channels == 1 || st->stream_channels == 2); in validate_opus_decoder() [all …]
|
D | mapping_matrix.c | 72 celt_assert(align(data_size) == align(rows * cols * sizeof(opus_int16))); in mapping_matrix_init() 98 celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows); in mapping_matrix_multiply_channel_in_float() 134 celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows); in mapping_matrix_multiply_channel_out_float() 169 celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows); in mapping_matrix_multiply_channel_in_short() 210 celt_assert(input_rows <= matrix->cols && output_rows <= matrix->rows); in mapping_matrix_multiply_channel_out_short()
|