Searched refs:window_function (Results 1 – 3 of 3) sorted by relevance
68 void CalculatePeriodicHann(int window_length, float* window_function) { in CalculatePeriodicHann() argument70 window_function[i] = 0.5f - 0.5f * std::cos((2 * kPi * i) / window_length); in CalculatePeriodicHann()95 float window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local96 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()104 (input[i] * window_function[i]) / static_cast<float>(1 << 15); in GenerateSimpleFeatures()
109 void CalculatePeriodicHann(int window_length, int16_t* window_function) { in CalculatePeriodicHann() argument115 window_function[i] = tmp; in CalculatePeriodicHann()141 int16_t window_function[kMaxAudioSampleSize]; in GenerateSimpleFeatures() local142 CalculatePeriodicHann(input_size, window_function); in GenerateSimpleFeatures()151 fixed_input[i] = Q1_15_FixedMultiply_Q2_30(input[i], window_function[i]); in GenerateSimpleFeatures()
1288 float *window_function = in get_half_cos_window() local1289 (float *)aom_malloc(block_size * block_size * sizeof(*window_function)); in get_half_cos_window()1294 window_function[y * block_size + x] = (float)(cos_yd * cos_xd); in get_half_cos_window()1297 return window_function; in get_half_cos_window()1387 float *window_function = c == 0 ? window_full : window_chroma; in aom_wiener_denoise_2d() local1417 pointwise_multiply(window_function, block, pixels_per_block); in aom_wiener_denoise_2d()1424 pointwise_multiply(window_function, plane, pixels_per_block); in aom_wiener_denoise_2d()1435 window_function[y * (block_size >> chroma_sub_w) + x]; in aom_wiener_denoise_2d()