Home
last modified time | relevance | path

Searched refs:frame_length_8kHz (Results 1 – 2 of 2) sorted by relevance

/external/libopus/silk/fixed/
Dpitch_analysis_core_FIX.c112 opus_int frame_length, frame_length_8kHz, frame_length_4kHz; in silk_pitch_analysis_core() local
134 frame_length_8kHz = ( PE_LTP_MEM_LENGTH_MS + nb_subfr * PE_SUBFR_LENGTH_MS ) * 8; in silk_pitch_analysis_core()
140 ALLOC( frame_8kHz, frame_length_8kHz, opus_int16 ); in silk_pitch_analysis_core()
149 silk_memcpy( frame_8kHz, frame, frame_length_8kHz * sizeof(opus_int16) ); in silk_pitch_analysis_core()
155 silk_resampler_down2( filt_state, frame_4kHz, frame_8kHz, frame_length_8kHz ); in silk_pitch_analysis_core()
317 silk_sum_sqr_shift( &energy, &shift, frame_8kHz, frame_length_8kHz ); in silk_pitch_analysis_core()
320 for( i = 0; i < frame_length_8kHz; i++ ) { in silk_pitch_analysis_core()
335 silk_assert( target_ptr + SF_LENGTH_8KHZ <= frame_8kHz + frame_length_8kHz ); in silk_pitch_analysis_core()
344 silk_assert( basis_ptr + SF_LENGTH_8KHZ <= frame_8kHz + frame_length_8kHz ); in silk_pitch_analysis_core()
/external/libopus/silk/float/
Dpitch_analysis_core_FLP.c104 opus_int frame_length, frame_length_8kHz, frame_length_4kHz; in silk_pitch_analysis_core_FLP() local
124 frame_length_8kHz = ( PE_LTP_MEM_LENGTH_MS + nb_subfr * PE_SUBFR_LENGTH_MS ) * 8; in silk_pitch_analysis_core_FLP()
142 silk_short2float_array( frame_8kHz, frame_8_FIX, frame_length_8kHz ); in silk_pitch_analysis_core_FLP()
149 silk_short2float_array( frame_8kHz, frame_8_FIX, frame_length_8kHz ); in silk_pitch_analysis_core_FLP()
152 silk_float2short_array( frame_8_FIX, frame, frame_length_8kHz ); in silk_pitch_analysis_core_FLP()
157 silk_resampler_down2( filt_state, frame_4_FIX, frame_8_FIX, frame_length_8kHz ); in silk_pitch_analysis_core_FLP()