Searched refs:front_left (Results 1 – 5 of 5) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_fmt_conv_ops.c | 349 size_t s16_stereo_to_quad(size_t front_left, size_t front_right, in s16_stereo_to_quad() argument 357 if (front_left != -1 && front_right != -1 && rear_left != -1 && in s16_stereo_to_quad() 360 out[4 * i + front_left] = in[2 * i]; in s16_stereo_to_quad() 382 size_t s16_quad_to_stereo(size_t front_left, size_t front_right, in s16_quad_to_stereo() argument 390 if (front_left == -1 || front_right == -1 || rear_left == -1 || in s16_quad_to_stereo() 392 front_left = 0; in s16_quad_to_stereo() 399 out[2 * i] = s16_add_and_clip(in[4 * i + front_left], in s16_quad_to_stereo()
|
D | cras_fmt_conv_ops.h | 68 size_t s16_stereo_to_quad(size_t front_left, size_t front_right, 75 size_t s16_quad_to_stereo(size_t front_left, size_t front_right,
|
D | cras_fmt_conv.c | 247 size_t front_left, front_right, rear_left, rear_right; in stereo_to_quad() local 249 front_left = conv->out_fmt.channel_layout[CRAS_CH_FL]; 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 263 front_left = conv->in_fmt.channel_layout[CRAS_CH_FL]; in quad_to_stereo() 268 return s16_quad_to_stereo(front_left, front_right, rear_left, in quad_to_stereo()
|
/external/webrtc/audio/utility/ |
D | channel_mixer_unittest.cc | 72 void SetFiveOneData(int16_t front_left, in SetFiveOneData() argument 83 frame_data[i] = front_left; in SetFiveOneData() 93 void SetSevenOneData(int16_t front_left, in SetSevenOneData() argument 106 frame_data[i] = front_left; in SetSevenOneData()
|
/external/adhd/cras/src/tests/ |
D | fmt_conv_ops_unittest.cc | 584 const size_t front_left = 2; in TEST() local 593 s16_stereo_to_quad(front_left, front_right, rear_left, rear_right, in TEST() 598 EXPECT_EQ(src[i * 2 + 0], dst[i * 4 + front_left]); in TEST() 610 const size_t front_left = -1; in TEST() local 619 s16_stereo_to_quad(front_left, front_right, rear_left, rear_right, in TEST() 636 const size_t front_left = 2; 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() 664 const size_t front_left = -1; in TEST() local 673 s16_quad_to_stereo(front_left, front_right, rear_left, rear_right, in TEST()
|