Home
last modified time | relevance | path

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

/external/adhd/cras/src/server/
Dcras_fmt_conv_ops.c232 size_t s16_quad_to_51(size_t font_left, size_t front_right, size_t rear_left, in s16_quad_to_51() argument
242 if (font_left != -1 && front_right != -1 && rear_left != -1 && in s16_quad_to_51()
247 out[6 * i + rear_left] = in[4 * i + 2]; in s16_quad_to_51()
350 size_t rear_left, size_t rear_right, in s16_stereo_to_quad() argument
357 if (front_left != -1 && front_right != -1 && rear_left != -1 && in s16_stereo_to_quad()
362 out[4 * i + rear_left] = in[2 * i]; in s16_stereo_to_quad()
383 size_t rear_left, size_t rear_right, in s16_quad_to_stereo() argument
390 if (front_left == -1 || front_right == -1 || rear_left == -1 || in s16_quad_to_stereo()
394 rear_left = 2; in s16_quad_to_stereo()
400 in[4 * i + rear_left] / 4); in s16_quad_to_stereo()
Dcras_fmt_conv_ops.h51 size_t s16_quad_to_51(size_t font_left, size_t front_right, size_t rear_left,
69 size_t rear_left, size_t rear_right,
76 size_t rear_left, size_t rear_right,
Dcras_fmt_conv.c247 size_t front_left, front_right, rear_left, rear_right; in stereo_to_quad() local
251 rear_left = conv->out_fmt.channel_layout[CRAS_CH_RL]; in stereo_to_quad()
254 return s16_stereo_to_quad(front_left, front_right, rear_left, in stereo_to_quad()
261 size_t front_left, front_right, rear_left, rear_right; in quad_to_stereo() local
265 rear_left = conv->in_fmt.channel_layout[CRAS_CH_RL]; in quad_to_stereo()
268 return s16_quad_to_stereo(front_left, front_right, rear_left, in quad_to_stereo()
/external/adhd/cras/src/tests/
Dfmt_conv_ops_unittest.cc586 const size_t rear_left = 0; in TEST() local
593 s16_stereo_to_quad(front_left, front_right, rear_left, rear_right, in TEST()
599 EXPECT_EQ(src[i * 2 + 0], dst[i * 4 + rear_left]); in TEST()
612 const size_t rear_left = -1; in TEST() local
619 s16_stereo_to_quad(front_left, front_right, rear_left, rear_right, in TEST()
638 const size_t rear_left = 0; in TEST() local
645 s16_quad_to_stereo(front_left, front_right, rear_left, rear_right, in TEST()
651 S16AddAndClip(src[i * 4 + front_left], src[i * 4 + rear_left] / 4); in TEST()
666 const size_t rear_left = -1; in TEST() local
673 s16_quad_to_stereo(front_left, front_right, rear_left, rear_right, in TEST()