Searched refs:rear_left (Results 1 – 4 of 4) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_fmt_conv_ops.c | 232 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()
|
D | cras_fmt_conv_ops.h | 51 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,
|
D | cras_fmt_conv.c | 247 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/ |
D | fmt_conv_ops_unittest.cc | 586 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()
|