Home
last modified time | relevance | path

Searched refs:pools (Results 1 – 11 of 11) sorted by relevance

/hardware/interfaces/neuralnetworks/1.0/vts/functional/
DGeneratedTestHarness.cpp128 std::vector<hidl_memory> pools = {nn::allocateSharedMemory(inputSize), in EvaluatePreparedModel() local
130 ASSERT_NE(0ull, pools[INPUT].size()); in EvaluatePreparedModel()
131 ASSERT_NE(0ull, pools[OUTPUT].size()); in EvaluatePreparedModel()
134 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in EvaluatePreparedModel()
135 sp<IMemory> outputMemory = mapMemory(pools[OUTPUT]); in EvaluatePreparedModel()
160 {.inputs = inputs_info, .outputs = outputs_info, .pools = pools}, executionCallback); in EvaluatePreparedModel()
DValidateRequest.cpp208 std::vector<hidl_memory> pools = {nn::allocateSharedMemory(inputSize), in createRequests() local
210 if (pools[INPUT].size() == 0 || pools[OUTPUT].size() == 0) { in createRequests()
215 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in createRequests()
234 requests.push_back({.inputs = inputs_info, .outputs = outputs_info, .pools = pools}); in createRequests()
/hardware/interfaces/neuralnetworks/1.1/vts/functional/
DValidateRequest.cpp209 std::vector<hidl_memory> pools = {nn::allocateSharedMemory(inputSize), in createRequests() local
211 if (pools[INPUT].size() == 0 || pools[OUTPUT].size() == 0) { in createRequests()
216 sp<IMemory> inputMemory = mapMemory(pools[INPUT]); in createRequests()
235 requests.push_back({.inputs = inputs_info, .outputs = outputs_info, .pools = pools}); in createRequests()
/hardware/qcom/neuralnetworks/hvxservice/1.0/
DHexagonUtils.cpp118 std::vector<RunTimePoolInfo> mapPools(const hidl_vec<hidl_memory>& pools) { in mapPools() argument
120 poolInfos.reserve(pools.size()); in mapPools()
122 for (const auto& pool : pools) { in mapPools()
153 const std::vector<RunTimePoolInfo>& pools) { in getData() argument
164 return getDataFromPool(pools[operand.location.poolIndex], operand.location.offset, in getData()
DHexagonModel.cpp32 const std::vector<RunTimePoolInfo>& pools) { in getOperandsInfo() argument
42 .buffer = const_cast<uint8_t*>(getData(operand, model.operandValues, pools)), in getOperandsInfo()
50 mPools = mapPools(model.pools); in Model()
645 const std::vector<RunTimePoolInfo>& pools, in getUpdatedOperand() argument
649 const RunTimePoolInfo& pool = pools[inputOutput.location.poolIndex]; in getUpdatedOperand()
663 std::vector<RunTimePoolInfo> pools = mapPools(request.pools); in execute() local
669 OperandInfo newInfo = getUpdatedOperand(request.inputs[i], pools, oldInfo); in execute()
677 OperandInfo newInfo = getUpdatedOperand(request.outputs[i], pools, oldInfo); in execute()
685 std::for_each(pools.begin(), pools.end(), [](RunTimePoolInfo& pool) { pool.update(); }); in execute()
DHexagonUtils.h74 std::vector<RunTimePoolInfo> mapPools(const hidl_vec<hidl_memory>& pools);
79 const std::vector<RunTimePoolInfo>& pools);
/hardware/google/av/media/sfplugin/
DCCodecBufferChannel.cpp1687 Mutexed<BlockPools>::Locked pools(mBlockPools); in start() local
1690 pools->inputAllocatorId = (graphic) ? C2PlatformAllocatorStore::GRALLOC in start()
1711 pools->inputAllocatorId = allocator->getId(); in start()
1720 if ((poolMask >> pools->inputAllocatorId) & 1) { in start()
1721 err = CreateCodec2BlockPool(pools->inputAllocatorId, nullptr, &pool); in start()
1723 pools->inputAllocatorId, in start()
1741 pools->inputPool = pool; in start()
1796 Mutexed<BlockPools>::Locked pools(mBlockPools); in start() local
1799 pools->outputAllocatorId = (graphic) ? C2PlatformAllocatorStore::GRALLOC in start()
1820 pools->outputAllocatorId = allocator->getId(); in start()
[all …]
/hardware/google/av/media/codecs/cmds/
Dcodec2.cpp221 std::unique_ptr<C2PortBlockPoolsTuning::output> pools = in play() local
224 (void)component->intf()->config_vb({pools.get()}, C2_DONT_BLOCK, &result); in play()
/hardware/interfaces/media/bufferpool/1.0/
DREADME.md51 A manager of buffer pool clients and clients' connections to buffer pools. It
/hardware/interfaces/neuralnetworks/1.1/
Dtypes.hal407 * A collection of shared memory pools containing operand data that were
413 vec<memory> pools;
/hardware/interfaces/neuralnetworks/1.0/
Dtypes.hal1671 * A collection of shared memory pools containing operand data that were
1677 vec<memory> pools;
1693 * The location within one of the memory pools passed in the Request.
1745 * A collection of shared memory pools containing operand data for both the
1748 vec<memory> pools;