Home
last modified time | relevance | path

Searched refs:cras_get_format_bytes (Results 1 – 19 of 19) sorted by relevance

/external/adhd/cras/src/tests/
Dfmt_conv_unittest.cc146 in_buff = (int16_t*)ralloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()
147 out_buff = (int16_t*)ralloc(buf_size * 2 * cras_get_format_bytes(&out_fmt)); in TEST()
193 in_buff = (int16_t*)malloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()
194 out_buff = (int16_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()
241 in_buff = (int16_t*)malloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()
242 out_buff = (int16_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()
289 in_buff = (int16_t*)malloc(buf_size * 2 * cras_get_format_bytes(&in_fmt)); in TEST()
290 out_buff = (int16_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()
344 in_buff = (int32_t*)malloc(buf_size * cras_get_format_bytes(&in_fmt)); in TEST()
345 out_buff = (int32_t*)malloc(buf_size * cras_get_format_bytes(&out_fmt)); in TEST()
[all …]
Dcras_client_unittest.cc184 format_bytes = cras_get_format_bytes(&server_format); in StreamConnected()
229 format_bytes = cras_get_format_bytes(&server_format); in StreamConnectedFail()
Ddev_stream_unittest.cc1269 copy_area_call.dst_format_bytes = cras_get_format_bytes(dst_fmt); in cras_audio_area_copy()
Daudio_thread_unittest_obsolete.cc2055 area->channels[i].step_bytes = cras_get_format_bytes(fmt); in cras_audio_area_config_buf_pointers()
/external/adhd/cras/src/server/
Dcras_a2dp_iodev.c114 cras_get_format_bytes(iodev->format); in bt_local_queued_frames()
232 size_t format_bytes = cras_get_format_bytes(a2dpio->base.format); in encode_a2dp_packet()
297 cras_get_format_bytes(iodev->format); in configure_dev()
308 cras_get_format_bytes(iodev->format); in configure_dev()
414 format_bytes = cras_get_format_bytes(iodev->format); in encode_and_flush()
538 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer()
557 format_bytes = cras_get_format_bytes(iodev->format); in put_buffer()
Ddev_stream.c122 buf_bytes = out->conv_buffer_size_frames * cras_get_format_bytes(ofmt); in dev_stream_create()
225 target += dev_frames * cras_get_format_bytes(fmt); in dev_stream_mix()
251 source_frame_bytes = cras_get_format_bytes(source_format); in capture_with_fmt_conv()
253 dst_frame_bytes = cras_get_format_bytes(dst_format); in capture_with_fmt_conv()
298 frame_bytes = cras_get_format_bytes(fmt); in capture_copy_converted_to_stream()
359 format_bytes = cras_get_format_bytes( in dev_stream_capture()
451 format_bytes = cras_get_format_bytes( in dev_stream_capture_avail()
Dcras_loopback_iodev.c73 unsigned int frame_bytes = cras_get_format_bytes(fmt); in sample_hook()
143 unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in frames_queued()
219 unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in get_record_buffer()
237 unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in put_record_buffer()
Dcras_apm_list.c323 cras_get_format_bytes(&apm->fmt)); in cras_apm_list_add_apm()
664 nread * cras_get_format_bytes(&apm->fmt)); in cras_apm_list_process()
676 apm->area->frames /= cras_get_format_bytes(&apm->fmt); in cras_apm_list_get_processed()
684 frames * cras_get_format_bytes(&apm->fmt)); in cras_apm_list_put_processed()
Dcras_audio_area.c102 area->channels[i].step_bytes = cras_get_format_bytes(fmt); in cras_audio_area_config_buf_pointers()
Dcras_iodev.c1095 const size_t bytes = nframes * cras_get_format_bytes(fmt); in cras_iodev_put_output_buffer()
1135 const unsigned int frame_bytes = cras_get_format_bytes(fmt); in cras_iodev_put_output_buffer()
1181 const unsigned int frame_bytes = cras_get_format_bytes(iodev->format); in cras_iodev_get_input_buffer()
1338 frame_bytes = cras_get_format_bytes(odev->format); in cras_iodev_fill_odev_zeros()
Dtest_iodev.c77 testio->fmt_bytes = cras_get_format_bytes(iodev->format); in configure_dev()
Dcras_hfp_info.c134 info->output_format_bytes = cras_get_format_bytes(format); in hfp_info_add_iodev()
140 info->input_format_bytes = cras_get_format_bytes(format); in hfp_info_add_iodev()
Dcras_hfp_iodev.c228 cras_get_format_bytes(iodev->format); in get_buffer()
Dcras_fmt_conv_ops.c456 memset(out, 0, frame_count * cras_get_format_bytes(out_fmt)); in s16_some_to_some()
Dcras_fmt_conv.c506 cras_get_format_bytes(out), in cras_fmt_conv_create()
Dcras_alsa_io.c565 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer()
1807 format_bytes = cras_get_format_bytes(iodev->format); in fill_whole_buffer_with_zeros()
Ddev_io.c654 unsigned int frame_bytes = cras_get_format_bytes(odev->format); in write_streams()
/external/adhd/cras/src/common/
Dcras_audio_format.h124 static inline size_t cras_get_format_bytes(const struct cras_audio_format *fmt) in cras_get_format_bytes() function
/external/adhd/cras/src/libcras/
Dcras_client.c3161 return cras_get_format_bytes(fmt); in cras_client_format_bytes_per_frame()