Searched refs:cras_fmt_conv (Results 1 – 17 of 17) sorted by relevance
/external/adhd/cras/src/server/ |
D | cras_fmt_conv.h | 19 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 …]
|
D | cras_fmt_conv.c | 31 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 …]
|
D | dev_io.h | 51 struct cras_fmt_conv *output_converter); 55 struct cras_fmt_conv *output_converter); 72 struct cras_fmt_conv *output_converter);
|
D | audio_thread.h | 17 struct cras_fmt_conv; 45 struct cras_fmt_conv *remix_converter;
|
D | dev_stream.h | 19 struct cras_fmt_conv; 40 struct cras_fmt_conv *conv;
|
D | cras_iodev.h | 25 struct cras_fmt_conv; 583 struct cras_fmt_conv *remix_converter);
|
D | dev_io.c | 770 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()
|
D | audio_thread.c | 70 struct cras_fmt_conv *fmt_conv; 1168 cras_fmt_conv_destroy((struct cras_fmt_conv **)&rsp); in audio_thread_config_global_remix()
|
D | cras_iodev.c | 1079 struct cras_fmt_conv *remix_converter) in cras_iodev_put_output_buffer()
|
/external/adhd/cras/src/tests/ |
D | dev_stream_unittest.cc | 65 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 …]
|
D | fmt_conv_unittest.cc | 57 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 …]
|
D | iodev_stub.cc | 141 struct cras_fmt_conv* output_converter) { in cras_iodev_put_output_buffer()
|
D | audio_thread_unittest.cc | 1124 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()
|
D | iodev_list_unittest.cc | 2279 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()
|
D | audio_thread_unittest_obsolete.cc | 2176 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()
|
D | iodev_unittest.cc | 2438 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/ |
D | Makefile.am | 846 fmt_conv_unittest_SOURCES = tests/fmt_conv_unittest.cc server/cras_fmt_conv.c \ 1033 server/cras_fmt_conv.c \
|