/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | neural_network_runtime_compat.cpp | 46 uint32_t inputIndex, const OH_NN_Tensor *tensor, const void *dataBuffer, size_t length) in OH_NNExecutor_SetInput() argument 66 return executorImpl->SetInput(inputIndex, *tensor, dataBuffer, length); in OH_NNExecutor_SetInput() 100 …ory *OH_NNExecutor_AllocateInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, size_t length) in OH_NNExecutor_AllocateInputMemory() argument 113 OH_NN_ReturnCode ret = executorImpl->CreateInputMemory(inputIndex, length, &nnMemory); in OH_NNExecutor_AllocateInputMemory() 144 NNRT_API void OH_NNExecutor_DestroyInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, OH_NN_… in OH_NNExecutor_DestroyInputMemory() argument 160 OH_NN_ReturnCode ret = executorImpl->DestroyInputMemory(inputIndex, memory); in OH_NNExecutor_DestroyInputMemory() 195 uint32_t inputIndex, const OH_NN_Tensor *tensor, const OH_NN_Memory *memory) in OH_NNExecutor_SetInputWithMemory() argument 211 return executorImpl->SetInputFromMemory(inputIndex, *tensor, *memory); in OH_NNExecutor_SetInputWithMemory()
|
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v1_0/hdi_cpu_service/src/ |
H A D | nnrt_device_service.cpp | 257 if (model.inputIndex.empty()) { in ValidateModel() 268 …auto inputIt = std::find_if(model.inputIndex.begin(), model.inputIndex.end(), [tensorSize](size_t … in ValidateModel() argument 269 return inputIndex > tensorSize; in ValidateModel() 271 if (inputIt != model.inputIndex.end()) { in ValidateModel() 302 metaGraph->inputIndex = model.inputIndex; in TransModelToGraph() 374 cnode->inputIndex = node.inputIndex; in TransNode()
|
/ohos5.0/drivers/peripheral/codec/test/unittest/idl_omx/ |
H A D | codec_hdi_omx_enc_test.cpp | 139 pixFormat.portIndex = inputIndex; 165 param.nPortIndex = inputIndex; 181 param.nPortIndex = inputIndex; 196 param.nPortIndex = inputIndex; 210 param.nPortIndex = inputIndex; 224 param.nPortIndex = inputIndex; 237 param.nPortIndex = inputIndex; 257 param.nPortIndex = inputIndex; 269 param.nPortIndex = inputIndex; 334 param.nPortIndex = inputIndex; [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/interfaces/kits/c/neural_network_runtime/ |
H A D | neural_network_runtime.h | 424 uint32_t inputIndex, 502 OH_NN_Memory *OH_NNExecutor_AllocateInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, size_… 550 void OH_NNExecutor_DestroyInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, OH_NN_Memory **… 604 uint32_t inputIndex,
|
/ohos5.0/foundation/ai/neural_network_runtime/example/deep_learning_framework/tflite/nnrt/ |
H A D | nnrt_implementation.h | 63 OH_NN_ReturnCode (*OH_NNExecutor_SetInput)(OH_NNExecutor* executor, uint32_t inputIndex, 70 …OH_NN_Memory* (*OH_NNExecutor_AllocateInputMemory)(OH_NNExecutor* executor, uint32_t inputIndex, s… 73 …void (*OH_NNExecutor_DestroyInputMemory)(OH_NNExecutor* executor, uint32_t inputIndex, OH_NN_Memor… 74 … OH_NN_ReturnCode (*OH_NNExecutor_SetInputWithMemory)(OH_NNExecutor* executor, uint32_t inputIndex,
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/nnrt/ |
H A D | _model_v10.md | 23 | unsigned int[] [inputIndex](#inputindex) | 模型的输入张量在allTensors数组中的下标。 | 43 ### inputIndex subsection 46 unsigned int [] Model::inputIndex
|
H A D | _model_v20.md | 23 | unsigned int[] [inputIndex](#inputindex) | 模型的输入张量在allTensors数组中的下标。 | 43 ### inputIndex subsection 46 unsigned int [] Model::inputIndex
|
H A D | _node_v10.md | 49 | unsigned int[] [inputIndex](#inputindex) | 算子节点的输入节点下标。 | 57 ### inputIndex subsection 60 unsigned int [] Node::inputIndex
|
H A D | _node_v20.md | 49 | unsigned int[] [inputIndex](#inputindex) | 算子节点的输入节点下标。 | 57 ### inputIndex subsection 60 unsigned int [] Node::inputIndex
|
/ohos5.0/foundation/ai/neural_network_runtime/example/drivers/nnrt/v2_0/hdi_cpu_service/src/ |
H A D | nnrt_device_service.cpp | 292 if (model.inputIndex.empty()) { in ValidateModel() 303 …auto inputIt = std::find_if(model.inputIndex.begin(), model.inputIndex.end(), [tensorSize](size_t … in ValidateModel() argument 304 return inputIndex > tensorSize; in ValidateModel() 306 if (inputIt != model.inputIndex.end()) { in ValidateModel() 338 metaGraph->inputIndex = model.inputIndex; in TransModelToGraph() 420 cnode->inputIndex = node.inputIndex; in TransNode()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/audio/ |
H A D | audio_codec_worker.cpp | 281 uint32_t inputIndex; in HandInputBuffer() local 284 inputIndex = inBufIndexQue_.front(); in HandInputBuffer() 287 AVCODEC_LOGD_LIMIT(LOGD_FREQUENCY, "handle input buffer. index:%{public}u", inputIndex); in HandInputBuffer() 288 auto inputBuffer = GetInputBufferInfo(inputIndex); in HandInputBuffer() 291 inputBuffer_->ReleaseBuffer(inputIndex); in HandInputBuffer() 294 inBufAvaIndexQue_.push(inputIndex); in HandInputBuffer()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 1132 uint32_t inputIndex = 0; variable 1150 uint32_t inputIndex = 0; variable 1173 uint32_t inputIndex = 0; variable 1193 uint32_t inputIndex = 0; variable 1216 uint32_t inputIndex = 0; variable 1608 uint32_t inputIndex = 0; variable 1631 uint32_t inputIndex = 0; variable 1651 uint32_t inputIndex = 0; variable 1672 uint32_t inputIndex = 6; variable 1695 uint32_t inputIndex = 0; variable [all …]
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/ |
H A D | neural_network_runtime_test.cpp | 1185 uint32_t inputIndex = 0; variable 1203 uint32_t inputIndex = 0; variable 1226 uint32_t inputIndex = 0; variable 1246 uint32_t inputIndex = 0; variable 1269 uint32_t inputIndex = 0; variable 1299 uint32_t inputIndex = 0; variable 1331 uint32_t inputIndex = 0; variable 1361 uint32_t inputIndex = 0; variable 1391 uint32_t inputIndex = 0; variable 2092 uint32_t inputIndex = 0; variable [all …]
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 44 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, const [OH_NN_Te… 47 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, size_t length) … 49 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, [OH_NN_Memory](… 51 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, const [OH_NN_Te…
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/cpp_target/nnrt/v1_0/ |
H A D | model_types.cpp.txt | 166 if (!WritePodArray(data, dataBlock.inputIndex)) { 167 HDF_LOGE("%{public}s: failed to write dataBlock.inputIndex", __func__); 206 if (!ReadPodArray(data, dataBlock.inputIndex)) { 207 HDF_LOGE("%{public}s: failed to read dataBlock.inputIndex", __func__); 284 if (!WritePodArray(data, dataBlock.inputIndex)) { 285 HDF_LOGE("%{public}s: failed to write dataBlock.inputIndex", __func__); 338 if (!ReadPodArray(data, dataBlock.inputIndex)) { 339 HDF_LOGE("%{public}s: failed to read dataBlock.inputIndex", __func__);
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/cpp_target/nnrt/v2_0/ |
H A D | model_types.cpp.txt | 166 if (!WritePodArray(data, dataBlock.inputIndex)) { 167 HDF_LOGE("%{public}s: failed to write dataBlock.inputIndex", __func__); 206 if (!ReadPodArray(data, dataBlock.inputIndex)) { 207 HDF_LOGE("%{public}s: failed to read dataBlock.inputIndex", __func__); 284 if (!WritePodArray(data, dataBlock.inputIndex)) { 285 HDF_LOGE("%{public}s: failed to write dataBlock.inputIndex", __func__); 338 if (!ReadPodArray(data, dataBlock.inputIndex)) { 339 HDF_LOGE("%{public}s: failed to read dataBlock.inputIndex", __func__);
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/ |
H A D | heif_hw_decoder.cpp | 445 …fHardwareDecoder::PrepareInputCodecBuffer(const vector<vector<uint8_t>>& inputs, size_t inputIndex, in PrepareInputCodecBuffer() argument 450 if (inputIndex >= inputs.size()) { in PrepareInputCodecBuffer() 454 const vector<uint8_t>& one = inputs[inputIndex]; in PrepareInputCodecBuffer() 456 LOGW("inputs[%{public}zu] is empty", inputIndex); in PrepareInputCodecBuffer() 464 uint32_t flag = inputIndex == 0 ? OMX_BUFFERFLAG_CODECCONFIG : 0; in PrepareInputCodecBuffer() 488 size_t inputIndex = 0; in SendInputBufferLoop() local 507 int32_t size = PrepareInputCodecBuffer(inputs, inputIndex, buffer); in SendInputBufferLoop() 514 ++inputIndex; in SendInputBufferLoop()
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_decoder/NativeAPI/ |
H A D | NativeFuzzTest.cpp | 77 int32_t inputIndex = decoderDemo->NativeGetInputIndex(); in inputFunc() local 86 cout << "index is: " << inputIndex << endl; in inputFunc() 88 OH_AVErrCode ret = decoderDemo->NativePushInputData(handle, inputIndex, info); in inputFunc() 356 int32_t inputIndex = decoderDemo->NativeGetInputIndex(); variable 363 ret = decoderDemo->NativePushInputData(handle, inputIndex, info);
|
/ohos5.0/drivers/interface/nnrt/v1_0/ |
H A D | ModelTypes.idl | 33 unsigned int[] inputIndex; 47 unsigned int[] inputIndex;
|
/ohos5.0/drivers/interface/nnrt/v2_0/ |
H A D | ModelTypes.idl | 33 unsigned int[] inputIndex; 47 unsigned int[] inputIndex;
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v1_0/foo/nnrt/v1_0/ |
H A D | ModelTypes.idl | 33 unsigned int[] inputIndex; 47 unsigned int[] inputIndex;
|
/ohos5.0/foundation/ability/idl_tool/test/hdi_unittest/nnrt_v2_0/foo/nnrt/v2_0/ |
H A D | ModelTypes.idl | 33 unsigned int[] inputIndex; 47 unsigned int[] inputIndex;
|
/ohos5.0/foundation/multimedia/av_codec/test/moduletest/audio_encoder/NativeAPI/ |
H A D | NativeFuzzTest.cpp | 78 int32_t inputIndex = encoderDemo->NativeGetInputIndex(); in inputFunc() local 88 cout << "index is: " << inputIndex << endl; in inputFunc() 90 OH_AVErrCode ret = encoderDemo->NativePushInputData(handle, inputIndex, info); in inputFunc() 370 int32_t inputIndex = encoderDemo->NativeGetInputIndex(); variable 377 ret = encoderDemo->NativePushInputData(handle, inputIndex, info);
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/heif_impl/ |
H A D | HeifDecoderImpl.cpp | 657 size_t inputIndex = 0; in PreparePackedInput() local 664 … parser_->GetItemData(tileImage->GetItemId(), &packedInput[inputIndex], heif_only_header); in PreparePackedInput() 665 ProcessChunkHead(packedInput[inputIndex].data(), packedInput[inputIndex].size()); in PreparePackedInput() 666 ++inputIndex; in PreparePackedInput() 668 if (packedInput[inputIndex].size() + gridLength >= MAX_INPUT_BUFFER_SIZE) { in PreparePackedInput() 669 ProcessChunkHead(packedInput[inputIndex].data(), packedInput[inputIndex].size()); in PreparePackedInput() 670 ++inputIndex; in PreparePackedInput() 673 parser_->GetItemData(tileImage->GetItemId(), &packedInput[inputIndex], heif_no_header); in PreparePackedInput() 680 ProcessChunkHead(packedInput[inputIndex].data(), packedInput[inputIndex].size()); in PreparePackedInput()
|
/ohos5.0/docs/en/application-dev/reference/apis-neural-network-runtime-kit/ |
H A D | neural__network__runtime_8h.md | 44 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, const [OH_NN_Te… 47 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, size_t length) … 49 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, [OH_NN_Memory](… 51 …ecutor](_neural_network_runtime.md#oh_nnexecutor) \*executor, uint32_t inputIndex, const [OH_NN_Te…
|