Home
last modified time | relevance | path

Searched refs:format_bytes (Results 1 – 25 of 29) sorted by relevance

12

/external/adhd/cras/src/server/
Dlinear_resampler.c22 unsigned int format_bytes; member
31 unsigned int format_bytes, in linear_resampler_create() argument
40 lr->format_bytes = format_bytes; in linear_resampler_create()
142 in = (int16_t *)(src + src_idx * lr->format_bytes); in linear_resampler_resample()
143 out = (int16_t *)(dst + dst_idx * lr->format_bytes); in linear_resampler_resample()
Dcras_a2dp_iodev.c232 size_t format_bytes = cras_get_format_bytes(a2dpio->base.format); in encode_a2dp_packet() local
237 buf_readable(a2dpio->pcm_buf), format_bytes, in encode_a2dp_packet()
403 size_t format_bytes; in encode_and_flush() local
414 format_bytes = cras_get_format_bytes(iodev->format); in encode_and_flush()
509 queued_frames = buf_queued(a2dpio->pcm_buf) / format_bytes; in encode_and_flush()
533 size_t format_bytes; in get_buffer() local
538 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer()
543 *frames = MIN(*frames, buf_writable(a2dpio->pcm_buf) / format_bytes); in get_buffer()
554 size_t format_bytes; in put_buffer() local
557 format_bytes = cras_get_format_bytes(iodev->format); in put_buffer()
[all …]
Dcras_a2dp_info.c151 int format_bytes, size_t link_mtu) in a2dp_encode() argument
174 a2dp->samples += processed / format_bytes; in a2dp_encode()
175 a2dp->nsamples += processed / format_bytes; in a2dp_encode()
Ddev_stream.c354 unsigned int format_bytes, fr_to_capture; in dev_stream_capture() local
359 format_bytes = cras_get_format_bytes( in dev_stream_capture()
363 area->channels[0].buf + area_offset * format_bytes, in dev_stream_capture()
437 unsigned int format_bytes; in dev_stream_capture_avail() local
451 format_bytes = cras_get_format_bytes( in dev_stream_capture_avail()
456 conv_buf_level = buf_queued(dev_stream->conv_buffer) / format_bytes; in dev_stream_capture_avail()
464 buf_available(dev_stream->conv_buffer) / format_bytes); in dev_stream_capture_avail()
Dcras_hfp_info.c176 size_t format_bytes; in hfp_buf_acquire() local
181 format_bytes = info->output_format_bytes; in hfp_buf_acquire()
184 format_bytes = info->input_format_bytes; in hfp_buf_acquire()
190 if (*count * format_bytes > buf_avail) in hfp_buf_acquire()
191 *count = buf_avail / format_bytes; in hfp_buf_acquire()
Dlinear_resampler.h19 unsigned int format_bytes,
Dcras_a2dp_info.h78 int format_bytes, size_t link_mtu);
Dcras_alsa_helpers.h200 int cras_alsa_mmap_begin(snd_pcm_t *handle, unsigned int format_bytes,
Dcras_alsa_helpers.c733 int cras_alsa_mmap_begin(snd_pcm_t *handle, unsigned int format_bytes, in cras_alsa_mmap_begin() argument
767 *dst = (uint8_t *)my_areas[0].addr + (*offset) * format_bytes; in cras_alsa_mmap_begin()
Dcras_alsa_io.c561 size_t format_bytes; in get_buffer() local
565 format_bytes = cras_get_format_bytes(iodev->format); in get_buffer()
567 rc = cras_alsa_mmap_begin(aio->handle, format_bytes, &dst, in get_buffer()
1796 size_t format_bytes; in fill_whole_buffer_with_zeros() local
1807 format_bytes = cras_get_format_bytes(iodev->format); in fill_whole_buffer_with_zeros()
1808 memset(dst, 0, iodev->buffer_size * format_bytes); in fill_whole_buffer_with_zeros()
/external/swiftshader/third_party/subzero/bloat/
Dbloat.py27 def format_bytes(bytes): function
281 'name': key + ' ' + format_bytes(size),
295 'name': name + ' ' + format_bytes(total),
337 'name': section + ' ' + format_bytes(size),
345 'name': name + ' ' + format_bytes(total),
357 'name': 'top ' + format_bytes(size),
427 print '%6s %s (%s) %s' % (format_bytes(size), sym,
430 print '%6s %s' % (format_bytes(total), 'total'),
/external/adhd/cras/src/tests/
Dcras_client_unittest.cc173 size_t format_bytes; in StreamConnected() local
184 format_bytes = cras_get_format_bytes(&server_format); in StreamConnected()
186 header->config.frame_bytes = format_bytes; in StreamConnected()
187 header->config.used_size = shm_writable_frames_ * format_bytes; in StreamConnected()
212 size_t format_bytes; in StreamConnectedFail() local
229 format_bytes = cras_get_format_bytes(&server_format); in StreamConnectedFail()
231 header.config.frame_bytes = format_bytes; in StreamConnectedFail()
232 header.config.used_size = shm_writable_frames_ * format_bytes; in StreamConnectedFail()
Da2dp_iodev_unittest.cc868 int format_bytes, in a2dp_encode() argument
880 a2dp->samples += processed / format_bytes; in a2dp_encode()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DScopedPrinter.cpp42 OS << " (" << format_bytes(Data, None, Data.size(), 1, 0, true) << ")\n"; in printBinaryImpl()
/external/llvm-project/llvm/lib/Support/
DScopedPrinter.cpp42 OS << " (" << format_bytes(Data, None, Data.size(), 1, 0, true) << ")\n"; in printBinaryImpl()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_rast_priv.h174 pixel_offset = px * task->scene->cbufs[buf].format_bytes + in lp_rast_get_color_block_pointer()
208 pixel_offset = px * task->scene->zsbuf.format_bytes + in lp_rast_get_depth_block_pointer()
Dlp_scene.c190 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization()
202 scene->cbufs[i].format_bytes = util_format_get_blocksize(cbuf->format); in lp_scene_begin_rasterization()
216 scene->zsbuf.format_bytes = util_format_get_blocksize(zsbuf->format); in lp_scene_begin_rasterization()
Dlp_scene.h147 unsigned format_bytes; member
Dlp_rast.c120 scene->cbufs[i].format_bytes * task->x; in lp_rast_tile_begin()
126 scene->zsbuf.format_bytes * task->x; in lp_rast_tile_begin()
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DFormat.h230 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None,
/external/llvm-project/llvm/include/llvm/Support/
DFormat.h239 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DFormat.h239 format_bytes(ArrayRef<uint8_t> Bytes, Optional<uint64_t> FirstByteOffset = None,
/external/llvm-project/llvm/tools/llvm-readobj/
DXCOFFDumper.cpp371 W.startLine() << format_bytes( in printSymbol()
401 W.startLine() << format_bytes( in printSymbol()
/external/llvm-project/llvm/unittests/Support/
Draw_ostream_test.cpp209 Str << format_bytes(Bytes, Offset, NumPerLine, ByteGroupSize); in formatted_bytes_str()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/DWARF/
DDWARFFormValue.cpp438 OS << format_bytes(ArrayRef<uint8_t>(Value.data, 16), None, 16, 16); in dump()

12