Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_fmt_conv_ops.c282 int16_t half_center; in s16_51_to_stereo() local
288 half_center = in s16_51_to_stereo()
291 in[6 * i + left_idx] * normalized_factor + half_center; in s16_51_to_stereo()
293 in[6 * i + right_idx] * normalized_factor + half_center; in s16_51_to_stereo()
326 int16_t half_center; in s16_51_to_quad() local
329 half_center = in[6 * i + center_51] * 0.707 * normalized_factor; in s16_51_to_quad()
332 half_center + lfe; in s16_51_to_quad()
334 half_center + lfe; in s16_51_to_quad()
/external/adhd/cras/src/tests/
Dfmt_conv_ops_unittest.cc530 int16_t half_center = src[i * 6 + center] * 0.707 * normalized_factor; in TEST() local
531 int16_t l = normalized_factor * src[i * 6 + left] + half_center; in TEST()
532 int16_t r = normalized_factor * src[i * 6 + right] + half_center; in TEST()
566 int16_t half_center = src[i * 6 + center_51] * 0.707 * normalized_factor; in TEST() local
568 int16_t fl = normalized_factor * src[6 * i + fl_51] + half_center + lfe; in TEST()
569 int16_t fr = normalized_factor * src[6 * i + fr_51] + half_center + lfe; in TEST()