Home
last modified time | relevance | path

Searched refs:CRAS_CH_FL (Results 1 – 13 of 13) sorted by relevance

/external/adhd/cras/src/server/
Dcras_fmt_conv.c105 if (layout[CRAS_CH_FL] != -1 && layout[CRAS_CH_FR] != -1) { in surround51_to_stereo_downmix_mtx()
106 mtx[STEREO_L][layout[CRAS_CH_FL]] = 1.0; in surround51_to_stereo_downmix_mtx()
138 if (layout[CRAS_CH_FL] != -1 && layout[CRAS_CH_FR] != -1) { in surround51_to_quad_downmix_mtx()
139 mtx[CRAS_CH_FL][layout[CRAS_CH_FL]] = 1.0; in surround51_to_quad_downmix_mtx()
152 mtx[CRAS_CH_FL][layout[CRAS_CH_FC]] = 0.707; in surround51_to_quad_downmix_mtx()
157 mtx[CRAS_CH_FL][layout[CRAS_CH_LFE]] = 0.5; in surround51_to_quad_downmix_mtx()
163 normalize(mtx, 4, 6, normalize_factor(mtx[CRAS_CH_FL], 6)); in surround51_to_quad_downmix_mtx()
200 left = conv->out_fmt.channel_layout[CRAS_CH_FL]; in mono_to_51()
212 left = conv->out_fmt.channel_layout[CRAS_CH_FL]; in stereo_to_51()
224 fl = conv->out_fmt.channel_layout[CRAS_CH_FL]; in quad_to_51()
[all …]
Dcras_audio_area.c78 (fmt->channel_layout[CRAS_CH_FL] == 0))) { in cras_audio_area_config_channels()
79 channel_area_set_channel(area->channels, CRAS_CH_FL); in cras_audio_area_config_channels()
Dcras_apm_list.c256 if (apm_fmt->channel_layout[CRAS_CH_FL] != -1) in get_best_channels()
257 layout[CRAS_CH_FL] = apm_fmt->num_channels++; in get_best_channels()
/external/adhd/cras/src/common/
Dcras_audio_format.h55 CRAS_CH_FL, enumerator
/external/adhd/cras/src/tests/
Dewma_power_unittest.cc113 layout[CRAS_CH_FL] = 1; in TEST()
Dfmt_conv_unittest.cc420 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_FR); in TEST()
448 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FC, CRAS_CH_FL); in TEST()
505 in_buff[i * 6 + CRAS_CH_FL] = in_fl; in TEST()
528 EXPECT_EQ(fl, out_buff[i * 4 + CRAS_CH_FL]); in TEST()
596 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_FR); in TEST()
612 swap_channel_layout(in_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_RL); in TEST()
1134 left = surround_channel_left_right_layout[CRAS_CH_FL]; in TEST()
1261 swap_channel_layout(out_fmt.channel_layout, CRAS_CH_FL, CRAS_CH_RR); in TEST()
Daudio_thread_unittest_obsolete.cc101 channel_area_set_channel(&mock_audio_area1->channels[0], CRAS_CH_FL); in SetUp()
107 channel_area_set_channel(&mock_audio_area2->channels[0], CRAS_CH_FL); in SetUp()
170 channel_area_set_channel(&area_->channels[0], CRAS_CH_FL); in get_buffer()
589 channel_area_set_channel(&area_->channels[0], CRAS_CH_FL); in get_buffer()
1140 channel_area_set_channel(&area_->channels[0], CRAS_CH_FL); in get_buffer()
1450 channel_area_set_channel(&mock_audio_area1->channels[0], CRAS_CH_FL); in SetUp()
1456 channel_area_set_channel(&mock_audio_area2->channels[0], CRAS_CH_FL); in SetUp()
1548 channel_area_set_channel(&area_->channels[0], CRAS_CH_FL); in get_buffer()
Dapm_list_unittest.cc232 fmt.channel_layout[CRAS_CH_FL] = 0; in TEST()
Ddev_stream_unittest.cc165 channel_area_set_channel(&area->channels[0], CRAS_CH_FL); in SetUp()
Daudio_thread_unittest.cc218 channel_area_set_channel(&area_->channels[0], CRAS_CH_FL); in get_buffer()
Diodev_unittest.cc499 channel_area_set_channel(&audio_area->channels[0], CRAS_CH_FL); in get_buffer()
/external/adhd/cras/client/cras-sys/src/
Dlib.rs144 CRAS_CH_FL,
477 0 => Ok(CRAS_CH_FL), in try_from()
Dgen.rs473 CRAS_CH_FL = 0, enumerator