Home
last modified time | relevance | path

Searched refs:out_fmt (Results 1 – 12 of 12) sorted by relevance

/external/adhd/cras/src/tests/
Daudio_format_unittest.cc19 out_fmt = cras_audio_format_create(SND_PCM_FORMAT_S16_LE, 44100, 6); in SetUp()
22 out_fmt->channel_layout[i] = -1; in SetUp()
28 cras_audio_format_destroy(out_fmt); in TearDown()
34 struct cras_audio_format* out_fmt; member in __anonbb5e2df60111::ChannelConvMtxTestSuite
46 out_fmt->channel_layout[0] = 0; in TEST_F()
47 out_fmt->channel_layout[1] = 1; in TEST_F()
48 out_fmt->channel_layout[2] = 2; in TEST_F()
49 out_fmt->channel_layout[3] = 3; in TEST_F()
50 out_fmt->channel_layout[4] = 4; in TEST_F()
51 out_fmt->channel_layout[5] = 5; in TEST_F()
[all …]
Dfmt_conv_unittest.cc56 struct cras_audio_format out_fmt; in TEST() local
64 in_fmt.format = out_fmt.format = SND_PCM_FORMAT_S16_LE; in TEST()
65 in_fmt.num_channels = out_fmt.num_channels = 1; in TEST()
67 out_fmt.frame_rate = 48000; in TEST()
73 c = cras_fmt_conv_create(&in_fmt, &out_fmt, 10, 1); in TEST()
75 EXPECT_EQ(out_fmt.frame_rate, linear_resampler_src_rate); in TEST()
76 EXPECT_EQ(out_fmt.frame_rate, linear_resampler_dst_rate); in TEST()
107 struct cras_audio_format out_fmt; in TEST() local
111 in_fmt.format = out_fmt.format = SND_PCM_FORMAT_S32_BE; in TEST()
112 in_fmt.num_channels = out_fmt.num_channels = 2; in TEST()
[all …]
Ddev_stream_unittest.cc92 static struct cras_audio_format out_fmt; variable
120 out_fmt.format = SND_PCM_FORMAT_S16_LE; in SetUp()
122 out_fmt.num_channels = 2; in SetUp()
225 out_fmt.frame_rate = out_rate; in SetUpFmtConv()
272 out_fmt.frame_rate, (kBufferFrames / 4), in_fmt.frame_rate); in TEST_F()
305 out_fmt.frame_rate, (kBufferFrames / 2), in_fmt.frame_rate); in TEST_F()
334 out_fmt.frame_rate = 48000; // Output from converter is device rate. in TEST_F()
342 cras_frames_at_rate(in_fmt.frame_rate, kBufferFrames, out_fmt.frame_rate); in TEST_F()
375 out_fmt.frame_rate = 44100; // Output from converter is stream rate. in TEST_F()
384 cras_frames_at_rate(out_fmt.frame_rate, kBufferFrames, in_fmt.frame_rate); in TEST_F()
[all …]
/external/flac/test/
Dtest_flac.sh389 out_fmt=$2
393 …[ "$out_fmt" = flac ] || [ "$out_fmt" = ogg ] || die "ERROR: internal error, bad 'out' format '$ou…
403 …if ( [ $in_fmt = flac ] || [ $in_fmt = ogg ] ) && ( [ $out_fmt = flac ] || [ $out_fmt = ogg ] ) ; …
409 if [ $out_fmt = ogg ] ; then
417 desc="($in_fmt<->$out_fmt)"
420 …run_flac $eopt --skip=10 -o z50c.skip10.$out_fmt 50c.$in_fmt || die "ERROR generating FLAC file $d…
421 …[ $in_fmt = $out_fmt ] || run_flac $dopt -o z50c.skip10.$in_fmt z50c.skip10.$out_fmt || die "ERROR…
423 rm -f z50c.skip10.$out_fmt z50c.skip10.$in_fmt
427 …run_flac $eopt --skip=0:01 -o z50c.skip0_01.$out_fmt 50c.$in_fmt || die "ERROR generating FLAC fil…
429 …[ $in_fmt = $out_fmt ] || run_flac $dopt -o z50c.skip0_01.$in_fmt z50c.skip0_01.$out_fmt || die "E…
[all …]
/external/adhd/cras/src/server/
Dcras_fmt_conv.c44 struct cras_audio_format out_fmt; member
200 left = conv->out_fmt.channel_layout[CRAS_CH_FL]; in mono_to_51()
201 right = conv->out_fmt.channel_layout[CRAS_CH_FR]; in mono_to_51()
202 center = conv->out_fmt.channel_layout[CRAS_CH_FC]; in mono_to_51()
212 left = conv->out_fmt.channel_layout[CRAS_CH_FL]; in stereo_to_51()
213 right = conv->out_fmt.channel_layout[CRAS_CH_FR]; in stereo_to_51()
214 center = conv->out_fmt.channel_layout[CRAS_CH_FC]; in stereo_to_51()
224 fl = conv->out_fmt.channel_layout[CRAS_CH_FL]; in quad_to_51()
225 fr = conv->out_fmt.channel_layout[CRAS_CH_FR]; in quad_to_51()
226 rl = conv->out_fmt.channel_layout[CRAS_CH_RL]; in quad_to_51()
[all …]
Dcras_fmt_conv_ops.h82 size_t s16_default_all_to_all(struct cras_audio_format *out_fmt,
91 size_t s16_some_to_some(const struct cras_audio_format *out_fmt,
Dcras_fmt_conv_ops.c413 size_t s16_default_all_to_all(struct cras_audio_format *out_fmt, in s16_default_all_to_all() argument
446 size_t s16_some_to_some(const struct cras_audio_format *out_fmt, in s16_some_to_some() argument
456 memset(out, 0, frame_count * cras_get_format_bytes(out_fmt)); in s16_some_to_some()
/external/jemalloc_new/include/jemalloc/internal/
Demitter.h119 emitter_gen_fmt(char *out_fmt, size_t out_size, const char *fmt_specifier, in emitter_gen_fmt() argument
123 written = malloc_snprintf(out_fmt, out_size, in emitter_gen_fmt()
126 written = malloc_snprintf(out_fmt, out_size, in emitter_gen_fmt()
129 written = malloc_snprintf(out_fmt, out_size, in emitter_gen_fmt()
/external/libaom/libaom/examples/
Dlightfield_decoder.c280 aom_img_fmt_t out_fmt = ref_fmt; in main() local
281 if (FORCE_HIGHBITDEPTH_DECODING) out_fmt |= AOM_IMG_FMT_HIGHBITDEPTH; in main()
282 if (!aom_img_alloc(&output, out_fmt, output_frame_width, in main()
/external/mesa3d/src/vulkan/wsi/
Dwsi_common_wayland.c626 vk_outarray_append(&out, out_fmt) { in wsi_wl_surface_get_formats()
627 out_fmt->format = *disp_fmt; in wsi_wl_surface_get_formats()
628 out_fmt->colorSpace = VK_COLORSPACE_SRGB_NONLINEAR_KHR; in wsi_wl_surface_get_formats()
656 vk_outarray_append(&out, out_fmt) { in wsi_wl_surface_get_formats2()
657 out_fmt->surfaceFormat.format = *disp_fmt; in wsi_wl_surface_get_formats2()
658 out_fmt->surfaceFormat.colorSpace = VK_COLORSPACE_SRGB_NONLINEAR_KHR; in wsi_wl_surface_get_formats2()
/external/kernel-headers/original/uapi/sound/
Dskl-tplg-interface.h235 struct skl_dfw_v4_module_fmt out_fmt[MAX_OUT_QUEUE]; member
/external/cpuinfo/test/dmesg/
Dxperia-c4-dual.log1253 …[DDP/WDMA]module wdma0 , src(w=1080,h=1920), clip(x=0,y=0,w=1080,h=1920),out_fmt=eRGB888,dst_addre…