Home
last modified time | relevance | path

Searched refs:in_frames (Results 1 – 7 of 7) sorted by relevance

/external/adhd/cras/src/server/
Dcras_fmt_conv.c30 size_t in_frames,
170 const int16_t *in, size_t in_frames, in s16_mono_to_stereo() argument
175 for (i = 0; i < in_frames; i++) { in s16_mono_to_stereo()
179 return in_frames; in s16_mono_to_stereo()
185 const int16_t *in, size_t in_frames, in s16_stereo_to_mono() argument
190 for (i = 0; i < in_frames; i++) in s16_stereo_to_mono()
192 return in_frames; in s16_stereo_to_mono()
200 const int16_t *in, size_t in_frames, in s16_mono_to_51() argument
205 memset(out, 0, sizeof(*out) * 6 * in_frames); in s16_mono_to_51()
211 for (i = 0; i < in_frames; i++) in s16_mono_to_51()
[all …]
Dlinear_resampler.c80 float in_frames; in linear_resampler_out_frames_to_in() local
84 in_frames = (float)(lr->dst_offset + frames) / lr->f; in linear_resampler_out_frames_to_in()
85 if ((in_frames > lr->src_offset)) in linear_resampler_out_frames_to_in()
86 return 1 + (unsigned int)(in_frames - lr->src_offset); in linear_resampler_out_frames_to_in()
Dcras_fmt_conv.h61 size_t in_frames);
83 unsigned int *in_frames,
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc66 size_t in_frames; member
257 EXPECT_EQ(conv_buf_avail_at_input_rate, conv_frames_call.in_frames); in TEST_F()
294 EXPECT_EQ(stream_avail_at_input_rate, conv_frames_call.in_frames); in TEST_F()
1175 unsigned int *in_frames, in cras_fmt_conv_convert_frames() argument
1181 conv_frames_call.in_frames = *in_frames; in cras_fmt_conv_convert_frames()
1183 *in_frames, in cras_fmt_conv_convert_frames()
1188 *in_frames = cras_frames_at_rate( in cras_fmt_conv_convert_frames()
1240 size_t in_frames) in cras_fmt_conv_in_frames_to_out() argument
1243 in_frames, in cras_fmt_conv_in_frames_to_out()
Dfmt_conv_unittest.cc53 unsigned int in_frames = 1; in TEST() local
80 &in_frames, in TEST()
83 EXPECT_EQ(0, in_frames); in TEST()
85 in_frames = 1; in TEST()
89 &in_frames, in TEST()
92 EXPECT_EQ(1, in_frames); in TEST()
Daudio_thread_unittest_obsolete.cc2218 size_t in_frames) in cras_fmt_conv_in_frames_to_out() argument
2220 return in_frames; in cras_fmt_conv_in_frames_to_out()
Diodev_unittest.cc2198 size_t in_frames) in cras_fmt_conv_in_frames_to_out() argument
2200 return in_frames; in cras_fmt_conv_in_frames_to_out()