Home
last modified time | relevance | path

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

/external/libopus/silk/fixed/
Dpitch_analysis_core_FIX.c98 VARDECL( opus_int16, frame_4kHz ); in silk_pitch_analysis_core()
155 ALLOC( frame_4kHz, frame_length_4kHz, opus_int16 ); in silk_pitch_analysis_core()
156 silk_resampler_down2( filt_state, frame_4kHz, frame_8kHz, frame_length_8kHz ); in silk_pitch_analysis_core()
160 frame_4kHz[ i ] = silk_ADD_SAT16( frame_4kHz[ i ], frame_4kHz[ i - 1 ] ); in silk_pitch_analysis_core()
169 silk_sum_sqr_shift( &energy, &shift, frame_4kHz, frame_length_4kHz ); in silk_pitch_analysis_core()
173 frame_4kHz[ i ] = silk_RSHIFT( frame_4kHz[ i ], shift ); in silk_pitch_analysis_core()
183 target_ptr = &frame_4kHz[ silk_LSHIFT( SF_LENGTH_4KHZ, 2 ) ]; in silk_pitch_analysis_core()
186 silk_assert( target_ptr >= frame_4kHz ); in silk_pitch_analysis_core()
187 silk_assert( target_ptr + SF_LENGTH_8KHZ <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core()
192 silk_assert( basis_ptr >= frame_4kHz ); in silk_pitch_analysis_core()
[all …]
/external/libopus/silk/float/
Dpitch_analysis_core_FLP.c84 silk_float frame_4kHz[ PE_MAX_FRAME_LENGTH_MS * 4 ]; in silk_pitch_analysis_core_FLP() local
158 silk_short2float_array( frame_4kHz, frame_4_FIX, frame_length_4kHz ); in silk_pitch_analysis_core_FLP()
162 frame_4kHz[ i ] += frame_4kHz[ i - 1 ]; in silk_pitch_analysis_core_FLP()
169 target_ptr = &frame_4kHz[ silk_LSHIFT( sf_length_4kHz, 2 ) ]; in silk_pitch_analysis_core_FLP()
172 silk_assert( target_ptr >= frame_4kHz ); in silk_pitch_analysis_core_FLP()
173 silk_assert( target_ptr + sf_length_8kHz <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core_FLP()
178 silk_assert( basis_ptr >= frame_4kHz ); in silk_pitch_analysis_core_FLP()
179 silk_assert( basis_ptr + sf_length_8kHz <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core_FLP()
196 silk_assert( basis_ptr >= frame_4kHz ); in silk_pitch_analysis_core_FLP()
197 silk_assert( basis_ptr + sf_length_8kHz <= frame_4kHz + frame_length_4kHz ); in silk_pitch_analysis_core_FLP()