Home
last modified time | relevance | path

Searched refs:cras_fmt_conv (Results 1 – 17 of 17) sorted by relevance

/external/adhd/cras/src/server/
Dcras_fmt_conv.h19 struct cras_fmt_conv;
22 struct cras_fmt_conv *cras_fmt_conv_create(const struct cras_audio_format *in,
26 void cras_fmt_conv_destroy(struct cras_fmt_conv **conv);
35 struct cras_fmt_conv *cras_channel_remix_conv_create(unsigned int num_channels,
45 void cras_channel_remix_convert(struct cras_fmt_conv *conv,
51 cras_fmt_conv_in_format(const struct cras_fmt_conv *conv);
55 cras_fmt_conv_out_format(const struct cras_fmt_conv *conv);
58 size_t cras_fmt_conv_in_frames_to_out(struct cras_fmt_conv *conv,
61 size_t cras_fmt_conv_out_frames_to_in(struct cras_fmt_conv *conv,
64 void cras_fmt_conv_set_linear_resample_rates(struct cras_fmt_conv *conv,
[all …]
Dcras_fmt_conv.c31 typedef size_t (*channel_converter_t)(struct cras_fmt_conv *conv,
36 struct cras_fmt_conv { struct
183 static size_t mono_to_stereo(struct cras_fmt_conv *conv, const uint8_t *in, in mono_to_stereo()
189 static size_t stereo_to_mono(struct cras_fmt_conv *conv, const uint8_t *in, in stereo_to_mono()
195 static size_t mono_to_51(struct cras_fmt_conv *conv, const uint8_t *in, in mono_to_51()
207 static size_t stereo_to_51(struct cras_fmt_conv *conv, const uint8_t *in, in stereo_to_51()
219 static size_t quad_to_51(struct cras_fmt_conv *conv, const uint8_t *in, in quad_to_51()
232 static size_t _51_to_stereo(struct cras_fmt_conv *conv, const uint8_t *in, in _51_to_stereo()
238 static size_t _51_to_quad(struct cras_fmt_conv *conv, const uint8_t *in, in _51_to_quad()
244 static size_t stereo_to_quad(struct cras_fmt_conv *conv, const uint8_t *in, in stereo_to_quad()
[all …]
Ddev_io.h51 struct cras_fmt_conv *output_converter);
55 struct cras_fmt_conv *output_converter);
72 struct cras_fmt_conv *output_converter);
Daudio_thread.h17 struct cras_fmt_conv;
45 struct cras_fmt_conv *remix_converter;
Ddev_stream.h19 struct cras_fmt_conv;
40 struct cras_fmt_conv *conv;
Dcras_iodev.h25 struct cras_fmt_conv;
583 struct cras_fmt_conv *remix_converter);
Ddev_io.c770 struct cras_fmt_conv *output_converter) in write_output_samples()
1077 struct cras_fmt_conv *output_converter) in dev_io_playback_write()
1176 struct cras_fmt_conv *output_converter) in dev_io_run()
Daudio_thread.c70 struct cras_fmt_conv *fmt_conv;
1168 cras_fmt_conv_destroy((struct cras_fmt_conv **)&rsp); in audio_thread_config_global_remix()
Dcras_iodev.c1079 struct cras_fmt_conv *remix_converter) in cras_iodev_put_output_buffer()
/external/adhd/cras/src/tests/
Ddev_stream_unittest.cc65 struct cras_fmt_conv* conv;
90 static struct cras_fmt_conv* config_format_converter_conv;
228 devstr.conv = (struct cras_fmt_conv*)0xdead; in SetUpFmtConv()
275 EXPECT_EQ((struct cras_fmt_conv*)0xdead, conv_frames_call.conv); in TEST_F()
308 EXPECT_EQ((struct cras_fmt_conv*)0xdead, conv_frames_call.conv); in TEST_F()
335 config_format_converter_conv = reinterpret_cast<struct cras_fmt_conv*>(0x33); in TEST_F()
376 config_format_converter_conv = reinterpret_cast<struct cras_fmt_conv*>(0x33); in TEST_F()
398 config_format_converter_conv = reinterpret_cast<struct cras_fmt_conv*>(0x33); in TEST_F()
416 config_format_converter_conv = reinterpret_cast<struct cras_fmt_conv*>(0x33); in TEST_F()
433 config_format_converter_conv = reinterpret_cast<struct cras_fmt_conv*>(0x33); in TEST_F()
[all …]
Dfmt_conv_unittest.cc57 struct cras_fmt_conv* c; in TEST()
108 struct cras_fmt_conv* c; in TEST()
119 struct cras_fmt_conv* c; in TEST()
165 struct cras_fmt_conv* c; in TEST()
213 struct cras_fmt_conv* c; in TEST()
261 struct cras_fmt_conv* c; in TEST()
309 struct cras_fmt_conv* c; in TEST()
366 struct cras_fmt_conv* c; in TEST()
465 struct cras_fmt_conv* c; in TEST()
540 struct cras_fmt_conv* c; in TEST()
[all …]
Diodev_stub.cc141 struct cras_fmt_conv* output_converter) { in cras_iodev_put_output_buffer()
Daudio_thread_unittest.cc1124 struct cras_fmt_conv* output_converter) { in cras_iodev_put_output_buffer()
1146 void cras_fmt_conv_destroy(struct cras_fmt_conv** conv) {} in cras_fmt_conv_destroy()
1148 struct cras_fmt_conv* cras_channel_remix_conv_create(unsigned int num_channels, in cras_channel_remix_conv_create()
Diodev_list_unittest.cc2279 void cras_fmt_conv_destroy(struct cras_fmt_conv* conv) {} in cras_fmt_conv_destroy()
2281 struct cras_fmt_conv* cras_channel_remix_conv_create(unsigned int num_channels, in cras_channel_remix_conv_create()
2286 void cras_channel_remix_convert(struct cras_fmt_conv* conv, in cras_channel_remix_convert()
Daudio_thread_unittest_obsolete.cc2176 size_t cras_fmt_conv_in_frames_to_out(struct cras_fmt_conv* conv, in cras_fmt_conv_in_frames_to_out()
2181 size_t cras_fmt_conv_out_frames_to_in(struct cras_fmt_conv* conv, in cras_fmt_conv_out_frames_to_in()
Diodev_unittest.cc2438 void cras_channel_remix_convert(struct cras_fmt_conv* conv, in cras_channel_remix_convert()
2442 size_t cras_fmt_conv_in_frames_to_out(struct cras_fmt_conv* conv, in cras_fmt_conv_in_frames_to_out()
/external/adhd/cras/src/
DMakefile.am846 fmt_conv_unittest_SOURCES = tests/fmt_conv_unittest.cc server/cras_fmt_conv.c \
1033 server/cras_fmt_conv.c \