Home
last modified time | relevance | path

Searched refs:hdiRet (Results 1 - 4 of 4) sorted by relevance

/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dregister_hdi_device_v1_0.cpp39 auto hdiRet = iDevice->GetDeviceName(deviceName); in HDIDeviceV1_0Creator() local
40 if (hdiRet != HDF_SUCCESS) { in HDIDeviceV1_0Creator()
41 LOGW("Get device name failed. ErrorCode=%d", hdiRet); in HDIDeviceV1_0Creator()
45 hdiRet = iDevice->GetVendorName(vendorName); in HDIDeviceV1_0Creator()
46 if (hdiRet != HDF_SUCCESS) { in HDIDeviceV1_0Creator()
47 LOGW("Get vendor name failed. ErrorCode=%d", hdiRet); in HDIDeviceV1_0Creator()
52 hdiRet = iDevice->GetVersion(hdiVersion.first, hdiVersion.second); in HDIDeviceV1_0Creator()
53 if (hdiRet != HDF_SUCCESS) { in HDIDeviceV1_0Creator()
54 LOGW("Get version failed. ErrorCode=%d", hdiRet); in HDIDeviceV1_0Creator()
H A Dhdi_device_v1_0.cpp159 int32_t hdiRet {0}; in GetSupportedOperation()
161 hdiRet = m_iDevice->AllocateBuffer(tensorSize, tensorBuffer); in GetSupportedOperation()
162 if (hdiRet != HDF_SUCCESS || tensorBuffer.fd == INVALID_FD) { in GetSupportedOperation()
163 LOGE("Allocate tensor buffer error when get supported operation. ErrorCode: %d", hdiRet); in GetSupportedOperation()
175 hdiRet = m_iDevice->GetSupportedOperation(*iModel, ops); in GetSupportedOperation()
183 if (hdiRet != HDF_SUCCESS) { in GetSupportedOperation()
184 LOGE("Get supported operation failed. ErrorCode=%d", hdiRet); in GetSupportedOperation()
250 int32_t hdiRet {0}; in PrepareModel()
252 hdiRet = m_iDevice->AllocateBuffer(tensorSize, tensorBuffer); in PrepareModel()
253 if (hdiRet ! in PrepareModel()
324 auto hdiRet = m_iDevice->PrepareModelFromModelCache(iBuffers, iModelConfig, iPreparedModel); PrepareModelFromModelCache() local
[all...]
/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/
H A Dimage_codec.cpp473 int32_t hdiRet = compNode_->UseBuffer(portIndex, *omxBuffer, *outBuffer); in AllocateSurfaceBuffers() local
474 if (hdiRet != HDF_SUCCESS) { in AllocateSurfaceBuffers()
/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/
H A Dhcodec.cpp696 int32_t hdiRet = compNode_->UseBuffer(portIndex, *omxBuffer, *outBuffer); in AllocateAvSurfaceBuffers() local
697 if (hdiRet != HDF_SUCCESS) { in AllocateAvSurfaceBuffers()

Completed in 7 milliseconds