Home
last modified time | relevance | path

Searched refs:nSamplesIn (Results 1 – 6 of 6) sorted by relevance

/external/libopus/silk/
Dresampler_down2_3.c46 opus_int32 nSamplesIn, counter, res_Q6; in silk_resampler_down2_3() local
58 nSamplesIn = silk_min( inLen, RESAMPLER_MAX_BATCH_SIZE_IN ); in silk_resampler_down2_3()
62 silk_Resampler_2_3_COEFS_LQ, nSamplesIn ); in silk_resampler_down2_3()
66 counter = nSamplesIn; in silk_resampler_down2_3()
89 in += nSamplesIn; in silk_resampler_down2_3()
90 inLen -= nSamplesIn; in silk_resampler_down2_3()
94 silk_memcpy( buf, &buf[ nSamplesIn ], ORDER_FIR * sizeof( opus_int32 ) ); in silk_resampler_down2_3()
101 silk_memcpy( S, &buf[ nSamplesIn ], ORDER_FIR * sizeof( opus_int32 ) ); in silk_resampler_down2_3()
Dresampler_private_IIR_FIR.c73 opus_int32 nSamplesIn; in silk_resampler_private_IIR_FIR() local
86 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_IIR_FIR()
89 silk_resampler_private_up2_HQ( S->sIIR, &buf[ RESAMPLER_ORDER_FIR_12 ], in, nSamplesIn ); in silk_resampler_private_IIR_FIR()
91 max_index_Q16 = silk_LSHIFT32( nSamplesIn, 16 + 1 ); /* + 1 because 2x upsampling */ in silk_resampler_private_IIR_FIR()
93 in += nSamplesIn; in silk_resampler_private_IIR_FIR()
94 inLen -= nSamplesIn; in silk_resampler_private_IIR_FIR()
98 … silk_memcpy( buf, &buf[ nSamplesIn << 1 ], RESAMPLER_ORDER_FIR_12 * sizeof( opus_int16 ) ); in silk_resampler_private_IIR_FIR()
105 …silk_memcpy( S->sFIR.i16, &buf[ nSamplesIn << 1 ], RESAMPLER_ORDER_FIR_12 * sizeof( opus_int16 ) ); in silk_resampler_private_IIR_FIR()
Dresampler_private_down_FIR.c153 opus_int32 nSamplesIn; in silk_resampler_private_down_FIR() local
169 nSamplesIn = silk_min( inLen, S->batchSize ); in silk_resampler_private_down_FIR()
172 silk_resampler_private_AR2( S->sIIR, &buf[ S->FIR_Order ], in, S->Coefs, nSamplesIn ); in silk_resampler_private_down_FIR()
174 max_index_Q16 = silk_LSHIFT32( nSamplesIn, 16 ); in silk_resampler_private_down_FIR()
180 in += nSamplesIn; in silk_resampler_private_down_FIR()
181 inLen -= nSamplesIn; in silk_resampler_private_down_FIR()
185 silk_memcpy( buf, &buf[ nSamplesIn ], S->FIR_Order * sizeof( opus_int32 ) ); in silk_resampler_private_down_FIR()
192 silk_memcpy( S->sFIR.i32, &buf[ nSamplesIn ], S->FIR_Order * sizeof( opus_int32 ) ); in silk_resampler_private_down_FIR()
Denc_API.c144 …opus_int nSamplesIn, /* I Number of samples in input vector … in silk_Encode() argument
198 nBlocksOf10ms = silk_DIV32( 100 * nSamplesIn, encControl->API_sampleRate ); in silk_Encode()
223 if( nBlocksOf10ms * encControl->API_sampleRate != 100 * nSamplesIn || nSamplesIn < 0 ) { in silk_Encode()
229 … if( 1000 * (opus_int32)nSamplesIn > encControl->payloadSize_ms * encControl->API_sampleRate ) { in silk_Encode()
318 nSamplesIn -= nSamplesFromInput; in silk_Encode()
536 if( nSamplesIn == 0 ) { in silk_Encode()
DAPI.h80 …opus_int nSamplesIn, /* I Number of samples in input vector …
/external/webrtc/webrtc/modules/audio_device/test/
Dfunc_test_manager.cc367 const size_t nSamplesIn = packet->nSamples; in NeedMorePlayData() local
391 2 * nSamplesIn, (int16_t*) audioSamples, in NeedMorePlayData()
397 2 * nSamplesIn, tmpBuf_96kHz, 2 * nSamples, in NeedMorePlayData()
430 (const int16_t*) packet->dataBuffer, nSamplesIn, in NeedMorePlayData()
435 (const int16_t*) packet->dataBuffer, nSamplesIn, in NeedMorePlayData()