Home
last modified time | relevance | path

Searched refs:half_length (Results 1 – 4 of 4) sorted by relevance

/external/mesa3d/src/gallium/auxiliary/draw/
Ddraw_pipe_aaline.c401 float half_length; in aaline_line() local
405 half_length = 0.5f * sqrtf(dx * dx + dy * dy); in aaline_line()
407 if (half_length < 0.5f) { in aaline_line()
425 half_length = 2.0f * half_length; in aaline_line()
427 half_length = half_length + 0.5f; in aaline_line()
477 ASSIGN_4V(tex, -half_width, half_width, -half_length, half_length); in aaline_line()
480 ASSIGN_4V(tex, half_width, half_width, -half_length, half_length); in aaline_line()
483 ASSIGN_4V(tex, -half_width, half_width, half_length, half_length); in aaline_line()
486 ASSIGN_4V(tex, half_width, half_width, half_length, half_length); in aaline_line()
/external/webrtc/modules/audio_processing/transient/
Ddyadic_decimator.h51 size_t half_length = GetOutLengthToDyadicDecimate(in_length, odd_sequence); in DyadicDecimate() local
53 if (!in || !out || in_length <= 0 || out_length < half_length) { in DyadicDecimate()
59 for (output_samples = 0; output_samples < half_length; ++output_samples) { in DyadicDecimate()
/external/webrtc/common_audio/vad/
Dvad_filterbank.c122 size_t half_length = data_length >> 1; // Downsampling by 2. in SplitFilter() local
126 AllPassFilter(&data_in[0], half_length, kAllPassCoefsQ15[0], upper_state, in SplitFilter()
130 AllPassFilter(&data_in[1], half_length, kAllPassCoefsQ15[1], lower_state, in SplitFilter()
134 for (i = 0; i < half_length; i++) { in SplitFilter()
Dvad_sp.c34 size_t half_length = (in_length >> 1); in WebRtcVad_Downsampling() local
37 for (n = 0; n < half_length; n++) { in WebRtcVad_Downsampling()