Home
last modified time | relevance | path

Searched refs:in_fmt (Results 1 – 6 of 6) sorted by relevance

/external/adhd/cras/src/tests/
Dfmt_conv_unittest.cc48 struct cras_audio_format in_fmt; in TEST() local
57 in_fmt.format = out_fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
58 in_fmt.num_channels = out_fmt.num_channels = 1; in TEST()
59 in_fmt.frame_rate = 16000; in TEST()
66 c = cras_fmt_conv_create(&in_fmt, &out_fmt, 10, 1); in TEST()
101 struct cras_audio_format in_fmt; in TEST() local
106 in_fmt.format = out_fmt.format = SND_PCM_FORMAT_S32_BE; in TEST()
107 in_fmt.num_channels = out_fmt.num_channels = 2; in TEST()
108 c = cras_fmt_conv_create(&in_fmt, &out_fmt, 4096, 0); in TEST()
115 struct cras_audio_format in_fmt; in TEST() local
[all …]
Daudio_format_unittest.cc18 in_fmt = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, 44100, 6); in SetUp()
21 in_fmt->channel_layout[i] = -1; in SetUp()
27 cras_audio_format_destroy(in_fmt); in TearDown()
33 struct cras_audio_format *in_fmt; member in __anon2cb4e9980111::ChannelConvMtxTestSuite
39 in_fmt->channel_layout[0] = 5; in TEST_F()
40 in_fmt->channel_layout[1] = 4; in TEST_F()
41 in_fmt->channel_layout[2] = 3; in TEST_F()
42 in_fmt->channel_layout[3] = 2; in TEST_F()
43 in_fmt->channel_layout[4] = 1; in TEST_F()
44 in_fmt->channel_layout[5] = 0; in TEST_F()
[all …]
Ddev_stream_unittest.cc89 static struct cras_audio_format in_fmt; variable
114 in_fmt.format = SND_PCM_FORMAT_S16_LE; in SetUp()
116 in_fmt.num_channels = 2; in SetUp()
199 in_fmt.frame_rate = in_rate; in SetUpFmtConv()
250 in_fmt.frame_rate); in TEST_F()
285 in_fmt.frame_rate); in TEST_F()
313 in_fmt.frame_rate = 44100; // Input to converter is stream rate. in TEST_F()
322 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, in TEST_F()
337 in_fmt.frame_rate = 48000; // Input to converter is device rate. in TEST_F()
348 in_fmt.frame_rate); in TEST_F()
[all …]
/external/adhd/cras/src/server/
Dcras_fmt_conv.c41 struct cras_audio_format in_fmt; member
338 conv->in_fmt.channel_layout[CRAS_CH_FL]; in s16_quad_to_stereo()
340 conv->in_fmt.channel_layout[CRAS_CH_FR]; in s16_quad_to_stereo()
342 conv->in_fmt.channel_layout[CRAS_CH_RL]; in s16_quad_to_stereo()
344 conv->in_fmt.channel_layout[CRAS_CH_RR]; in s16_quad_to_stereo()
372 unsigned int num_in_ch = conv->in_fmt.num_channels; in s16_default_all_to_all()
441 conv->in_fmt.num_channels); in convert_channels()
442 in_idx += conv->in_fmt.num_channels; in convert_channels()
504 conv->in_fmt = *in; in cras_fmt_conv_create()
601 conv->in_fmt.channel_layout); in cras_fmt_conv_create()
[all …]
/external/u-boot/drivers/video/
Dipu_disp.c420 int in_fmt, out_fmt; in ipu_dp_init() local
438 in_fmt = format_to_colorspace(in_pixel_fmt); in ipu_dp_init()
442 if (in_fmt == RGB) { in ipu_dp_init()
454 if (in_fmt == RGB) { in ipu_dp_init()
/external/kernel-headers/original/uapi/sound/
Dskl-tplg-interface.h232 struct skl_dfw_v4_module_fmt in_fmt[MAX_IN_QUEUE]; member