Home
last modified time | relevance | path

Searched refs:scratch_size (Results 1 – 15 of 15) sorted by relevance

/external/tensorflow/tensorflow/lite/experimental/micro/examples/micro_speech/micro_features/
Dfft_util.cc38 size_t scratch_size = 0; in FftPopulateState() local
40 kiss_fftr_alloc(state->fft_size, 0, nullptr, &scratch_size); in FftPopulateState()
45 STATIC_ALLOC_ENSURE_ARRAY_SIZE(state->scratch, scratch_size); in FftPopulateState()
46 state->scratch_size = scratch_size; in FftPopulateState()
48 kfft_cfg = kiss_fftr_alloc(state->fft_size, 0, state->scratch, &scratch_size); in FftPopulateState()
Dfft.h38 size_t scratch_size; member
/external/tensorflow/tensorflow/lite/experimental/microfrontend/lib/
Dfft_util.c44 size_t scratch_size = 0; in FftPopulateState() local
46 kiss_fftr_alloc(state->fft_size, 0, NULL, &scratch_size); in FftPopulateState()
51 state->scratch = malloc(scratch_size); in FftPopulateState()
56 state->scratch_size = scratch_size; in FftPopulateState()
58 kfft_cfg = kiss_fftr_alloc(state->fft_size, 0, state->scratch, &scratch_size); in FftPopulateState()
Dfft_io.c21 fprintf(fp, "static char fft_scratch[%zu];\n", state->scratch_size); in FftWriteMemmapPreamble()
32 fprintf(fp, "%s->scratch_size = %zu;\n", variable, state->scratch_size); in FftWriteMemmap()
Dfft.h36 size_t scratch_size; member
/external/harfbuzz_ng/src/
Dhb-graphite2.cc258 unsigned int scratch_size; in _hb_graphite2_shape() local
259 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
296 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
298 DIV_CEIL (sizeof (hb_codepoint_t) * glyph_count, sizeof (*scratch))) > scratch_size) in _hb_graphite2_shape()
306 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_graphite2_shape()
313 assert (_consumed <= scratch_size); \ in _hb_graphite2_shape()
315 scratch_size -= _consumed; \ in _hb_graphite2_shape()
Dhb-coretext.cc606 unsigned int scratch_size; in _hb_coretext_shape() local
607 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
613 if (unlikely (_consumed > scratch_size)) \ in _hb_coretext_shape()
619 scratch_size -= _consumed; \ in _hb_coretext_shape()
683 scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_coretext_shape()
687 scratch_size -= old_scratch_used; in _hb_coretext_shape()
975 unsigned int scratch_size_saved = scratch_size; \ in _hb_coretext_shape()
979 scratch_size = scratch_size_saved; \ in _hb_coretext_shape()
Dhb-directwrite.cc526 unsigned int scratch_size; in _hb_directwrite_shape_full() local
527 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_directwrite_shape_full()
532 assert (_consumed <= scratch_size); \ in _hb_directwrite_shape_full()
534 scratch_size -= _consumed; \ in _hb_directwrite_shape_full()
656 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_directwrite_shape_full()
Dhb-uniscribe.cc723 unsigned int scratch_size; in _hb_uniscribe_shape()
724 hb_buffer_t::scratch_buffer_t *scratch = buffer->get_scratch_buffer (&scratch_size); in _hb_uniscribe_shape()
730 assert (_consumed <= scratch_size); \ in _hb_uniscribe_shape()
732 scratch_size -= _consumed; \ in _hb_uniscribe_shape()
773 unsigned int glyphs_size = (scratch_size * sizeof (int) - 2) in _hb_uniscribe_shape()
/external/mesa3d/src/gallium/drivers/radeonsi/
Dsi_cp_dma.c364 unsigned scratch_size = SI_CPDMA_ALIGNMENT * 2; in si_cp_dma_realign_engine() local
372 sctx->scratch_buffer->b.b.width0 < scratch_size) { in si_cp_dma_realign_engine()
378 scratch_size, 256); in si_cp_dma_realign_engine()
/external/mesa3d/src/amd/vulkan/
Dradv_device.c1496 uint32_t scratch_size, in radv_get_preamble_cs() argument
1533 if (scratch_size <= queue->scratch_size && in radv_get_preamble_cs()
1542 if (!scratch_size && !compute_scratch_size && !esgs_ring_size && !gsvs_ring_size) in radv_get_preamble_cs()
1547 if (scratch_size > queue->scratch_size) { in radv_get_preamble_cs()
1549 scratch_size, in radv_get_preamble_cs()
1818 queue->scratch_size = scratch_size; in radv_get_preamble_cs()
1864 if (!scratch_size && !compute_scratch_size && !esgs_ring_size && !gsvs_ring_size) in radv_get_preamble_cs()
2037 uint32_t scratch_size = 0; in radv_QueueSubmit() local
2053 scratch_size = MAX2(scratch_size, cmd_buffer->scratch_size_needed); in radv_QueueSubmit()
2063 result = radv_get_preamble_cs(queue, scratch_size, compute_scratch_size, in radv_QueueSubmit()
Dradv_private.h562 uint32_t scratch_size; member
/external/epid-sdk/epid/common/math/src/
Decgroup.c63 int scratch_size = 0; in NewEcGroup() local
134 ipp_status = ippsGFpECScratchBufferSize(1, state, &scratch_size); in NewEcGroup()
144 scratch_buffer = (OctStr)SAFE_ALLOC(scratch_size); in NewEcGroup()
/external/flatbuffers/include/flatbuffers/
Dflatbuffers.h780 uoffset_t scratch_size() const {
869 auto old_scratch_size = scratch_size();
/external/tensorflow/tensorflow/stream_executor/
Ddnn.h781 size_t scratch_size() const { return scratch_size_; }