Home
last modified time | relevance | path

Searched refs:API_sampleRate (Results 1 – 7 of 7) sorted by relevance

/external/libopus/silk/
Dcheck_control_input.c43 if( ( ( encControl->API_sampleRate != 8000 ) && in check_control_input()
44 ( encControl->API_sampleRate != 12000 ) && in check_control_input()
45 ( encControl->API_sampleRate != 16000 ) && in check_control_input()
46 ( encControl->API_sampleRate != 24000 ) && in check_control_input()
47 ( encControl->API_sampleRate != 32000 ) && in check_control_input()
48 ( encControl->API_sampleRate != 44100 ) && in check_control_input()
49 ( encControl->API_sampleRate != 48000 ) ) || in check_control_input()
Dcontrol.h54 opus_int32 API_sampleRate; member
134 opus_int32 API_sampleRate; member
Ddec_API.c156 … ret += silk_decoder_set_fs( &channel_state[ n ], fs_kHz_dec, decControl->API_sampleRate ); in silk_Decode()
168 …if( decControl->API_sampleRate > (opus_int32)MAX_API_FS_KHZ * 1000 || decControl->API_sampleRate <… in silk_Decode()
262 < decControl->API_sampleRate*decControl->nChannelsAPI; in silk_Decode()
317 …*nSamplesOut = silk_DIV32( nSamplesOutDec * decControl->API_sampleRate, silk_SMULBB( channel_state… in silk_Decode()
Denc_API.c116 encStatus->API_sampleRate = state_Fxx[ 0 ].sCmn.API_fs_Hz; in silk_QueryEncoder()
199 nBlocksOf10ms = silk_DIV32( 100 * nSamplesIn, encControl->API_sampleRate ); in silk_Encode()
234 if( nBlocksOf10ms * encControl->API_sampleRate != 100 * nSamplesIn || nSamplesIn < 0 ) { in silk_Encode()
240 … if( 1000 * (opus_int32)nSamplesIn > encControl->payloadSize_ms * encControl->API_sampleRate ) { in silk_Encode()
Dcontrol_codec.c77 psEnc->sCmn.API_fs_Hz = encControl->API_sampleRate; in silk_control_encoder()
/external/libopus/src/
Dopus_decoder.c86 celt_assert(st->DecControl.API_sampleRate == st->Fs); in validate_opus_decoder()
140 st->DecControl.API_sampleRate = st->Fs; in opus_decoder_init()
Dopus_encoder.c217 st->silk_mode.API_sampleRate = st->Fs; in opus_encoder_init()