/drivers/peripheral/codec/hal/idl_service/src/ |
D | component_node.cpp | 102 auto err = mgr_->CreateComponentInstance(name.c_str(), &callbacks_, this, &comp); in OpenHandle() local 118 auto err = mgr_->DeleteComponentInstance(reinterpret_cast<OMX_COMPONENTTYPE *>(comp_)); in CloseHandle() local 133 int32_t err = OMX_GetComponentVersion(comp_, name, &compVersion, &sepcVersion, &uuid); in GetComponentVersion() local 159 auto err = OMX_SendCommand(comp_, omxCmd, param, cmdData); in SendCommand() local 169 auto err = OMX_GetParameter(comp_, paramIndex, param); in GetParameter() local 179 auto err = OMX_SetParameter(comp_, paramIndex, const_cast<int8_t *>(param)); in SetParameter() local 189 auto err = OMX_GetConfig(comp_, index, config); in GetConfig() local 199 auto err = OMX_SetConfig(comp_, index, const_cast<int8_t *>(config)); in SetConfig() local 210 auto err = OMX_GetExtensionIndex(comp_, const_cast<char *>(parameterName), &indexType); in GetExtensionIndex() local 223 auto err = OMX_GetState(comp_, &status); in GetState() local [all …]
|
D | codec_omx_core.cpp | 91 uint32_t err = (*(componentNameEnum_))(tmpComponentName, OMX_MAX_STRINGNAME_SIZE, index); in ComponentNameEnum() local 104 uint32_t err = (*getRoles_)(const_cast<char *>(name.c_str()), &roleCount, nullptr); in GetRolesOfComponent() local
|
D | component_mgr.cpp | 36 int32_t err = HDF_ERR_INVALID_PARAM; in CreateComponentInstance() local 61 int32_t err = OMX_ErrorInvalidComponent; in DeleteComponentInstance() local
|
/drivers/peripheral/codec/test/demo/idl/src/ |
D | codec_hdi_decode.cpp | 156 int32_t err = GetComponentName(compName); in Init() local 192 auto err = client_->GetParameter(OMX_IndexParamPortDefinition, inVec, outVec); in ConfigPortDefine() local 250 auto err = client_->GetParameter(OMX_IndexParamVideoPortFormat, inVec, outVec); in Configure() local 288 auto err = GetParameterSupportBufferType(inVec, outVec); in CheckAndUseBufferHandle() local 329 auto err = client_->GetParameter(OMX_IndexParamSupportBufferType, inVec, outVec); in GetParameterSupportBufferType() local 354 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in UseBuffers() local 417 … auto err = client_->UseBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get(), outBuffer); in UseBufferOnPort() local 459 auto err = client_->GetParameter(OMX_IndexParamPortDefinition, inVec, outVec); in UseBufferOnPort() local 509 int32_t err = gralloc_->AllocMem(alloc, bufferHandle); in UseBufferHandle() local 562 int32_t err = client_->GetState(status); in FreeBuffers() local [all …]
|
D | codec_hdi_encode.cpp | 117 auto err = GetComponentName(compName); in Init() local 173 auto err = GetParameterSupportBufferType(inVec, outVec); in CheckAndUseBufferHandle() local 215 auto err = client_->GetParameter(OMX_IndexParamSupportBufferType, inVec, outVec); in GetParameterSupportBufferType() local 239 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in UseBuffers() local 296 auto err = client_->GetParameter(OMX_IndexParamPortDefinition, inVec, outVec); in UseBufferOnPort() local 365 … auto err = client_->UseBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get(), outBuffer); in UseBufferOnPort() local 410 auto err = client_->UseBuffer(static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), in UseDynaBuffer() local 447 int32_t err = client_->GetState(status); in FreeBuffers() local 475 auto err = client_->FillThisBuffer(*bufferInfo->omxBuffer.get()); in FillAllTheBuffer() local 501 auto err = omxMgr_->GetComponentNum(count); in GetComponentName() local [all …]
|
/drivers/peripheral/codec/test/demo/v2.0/src/ |
D | codec_hdi_decode.cpp | 120 int32_t err = GetComponent(); in Init() local 147 auto err = in ConfigPortDefine() local 201 …auto err = client_->GetParameter(client_, OMX_IndexParamVideoPortFormat, reinterpret_cast<int8_t *… in Configure() local 251 …auto err = client_->GetParameter(client_, OMX_IndexParamSupportBufferType, reinterpret_cast<int8_t… in CheckAndUseBufferHandle() local 291 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in UseBuffers() local 352 auto err = client_->UseBuffer(client_, static_cast<uint32_t>(portIndex), omxBuffer.get()); in UseBufferOnPort() local 385 auto err = in UseBufferOnPort() local 466 …auto err = client_->UseBuffer(client_, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), omxBuf… in UseBufferHandle() local 505 int32_t err = client_->GetState(client_, &status); in FreeBuffers() local 540 auto err = client_->FillThisBuffer(client_, buffer); in FillAllTheBuffer() local [all …]
|
D | codec_hdi_encode.cpp | 124 auto err = GetComponent(); in Init() local 173 …auto err = client_->GetParameter(client_, OMX_IndexParamSupportBufferType, reinterpret_cast<int8_t… in CheckAndUseBufferHandle() local 214 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); in UseBuffers() local 266 auto err = in UseBufferOnPort() local 335 auto err = client_->UseBuffer(client_, static_cast<uint32_t>(portIndex), omxBuffer.get()); in UseBufferOnPort() local 379 …auto err = client_->UseBuffer(client_, static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), omxBuff… in UseDynaBuffer() local 416 int32_t err = client_->GetState(client_, &status); in FreeBuffers() local 444 auto err = client_->FillThisBuffer(client_, bufferInfo->omxBuffer.get()); in FillAllTheBuffer() local 468 auto err = client_->SendCommand(client_, OMX_CommandStateSet, OMX_StateExecuting, NULL, 0); in Run() local 568 int32_t err = HDF_SUCCESS; in CreateBufferHandle() local [all …]
|
/drivers/peripheral/codec/test/unittest/hdi_omx/ |
D | codec_hdi_omx_test.cpp | 154 … auto err = component_->UseBuffer(component_, static_cast<uint32_t>(portIndex), omxBuffer.get()); in UseBufferOnPort() local 212 auto err = gralloc_->AllocMem(alloc, *bufferHandle); in InitBufferHandle() local 237 auto err = manager_->GetComponentCapabilityList(capList, count); in SetUpTestCase() local 677 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), o… variable 696 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), … variable 715 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), o… variable 734 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), … variable 746 …auto err = component_->GetParameter(component_, OMX_IndexParamPortDefinition, reinterpret_cast<int… variable 760 auto err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); variable 791 …auto err = component_->GetParameter(component_, OMX_IndexParamPortDefinition, reinterpret_cast<int… variable [all …]
|
D | codec_hdi_manager_test.cpp | 56 auto err = manager_->GetComponentCapabilityList(capList, count); variable 84 auto err = manager_->GetComponentCapabilityList(capList, count); variable
|
/drivers/peripheral/codec/utils/src/ |
D | codec_util.c | 21 int err = mallopt(M_FLUSH_THREAD_CACHE, 0); in ReleaseCodecCache() local
|
/drivers/peripheral/codec/test/unittest/idl_omx/ |
D | codec_hdi_omx_enc_test.cpp | 53 auto err = g_manager->GetComponentCapabilityList(capList, count); in SetUpTestCase() local 498 auto err = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); variable 515 auto err = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); variable 584 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable 600 auto err = func_->FillCodecBufferWithBufferHandle(omxBuffer); variable 622 … auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_OUTPUT, param.nBufferCountActual, variable 656 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable 676 … auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_OUTPUT, param.nBufferCountActual, variable 696 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable 737 …auto err = func_->InitBufferHandleParameter(g_component, param, inputIndex, CODEC_BUFFER_TYPE_DYNA… variable [all …]
|
D | codec_hdi_omx_dec_test.cpp | 54 auto err = g_manager->GetComponentCapabilityList(capList, count); in SetUpTestCase() local 115 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable
|
/drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
D | component_node.cpp | 100 int32_t err = in GetComponentVersion() local 209 auto err = OMX_UseEGLImage(comp_, &pBufferHdrType, portIndex, nullptr, eglImage); in UseEglImage() local 227 int32_t err = comType->ComponentRoleEnum(comp_, omxRole, index); in ComponentRoleEnum() local 322 int32_t err = OMX_ErrorBadParameter; in UseBuffer() local 361 …int32_t err = OMX_AllocateBuffer(static_cast<OMX_HANDLETYPE>(comp_), &bufferHdrType, portIndex, 0,… in AllocateBuffer() local 393 int32_t err = OMX_ErrorBadParameter; in FreeBuffer() local 444 int32_t err = OMX_ErrorBadParameter; in EmptyThisBuffer() local 467 int32_t err = OMX_ErrorBadParameter; in FillThisBuffer() local 576 auto err = ReleaseAllBuffer(); in ReleaseOMXResource() local
|
D | codec_omx_core.cpp | 91 uint32_t err = (*(componentNameEnum_))(tmpComponentName, OMX_MAX_STRINGNAME_SIZE, index); in ComponentNameEnum() local 105 int32_t err = (*getRoles_)(const_cast<char *>(name.c_str()), &roleCount, nullptr); in GetRolesOfComponent() local
|
D | component_mgr.cpp | 37 int32_t err = HDF_ERR_INVALID_PARAM; in CreateComponentInstance() local 61 int32_t err = OMX_ErrorInvalidComponent; in DeleteComponentInstance() local
|
/drivers/peripheral/usb/sample/host/src/ |
D | usbhost_ddk_test.c | 195 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestAsyncRead() local 257 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestSyncRead() local 311 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestCtrlClass() local 341 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestStdGetDes() local 376 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestStdGetDesAsync() local 413 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestStdGetStatus() local 523 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestGetBaudrate() local
|
/drivers/external_device_manager/services/native/driver_extension/src/ |
D | driver_extension_context.cpp | 30 ErrCode err = ERR_OK; in UpdateDriverState() local
|
/drivers/hdf_core/framework/model/storage/src/mmc/ |
D | mmc_protocol.c | 134 int32_t err; in MmcSendOpCond() local 173 int32_t err; in MmcAllSendCid() local 252 int32_t err; in MmcSendCsd() local 345 int32_t err; in MmcAppCmd() local 402 int32_t err; in MmcStopTransmission() local 1095 int err = HDF_FAILURE; in EmmcSelectHighSpeedBusWidth() local 1125 int err; in EmmcCheckSwitchStatus() local 1141 int err; in EmmcSwitchHighSpeed() local 1161 int err; in EmmcSelectHs400() local 1189 int err; in EmmcSelectHs400es() local [all …]
|
/drivers/peripheral/codec/test/unittest/hdi_adapter/ |
D | codec_hdi_adapter_test.cpp | 132 … auto err = g_component->UseBuffer(g_component, static_cast<uint32_t>(portIndex), omxBuffer.get()); in UseBufferOnPort() local 635 … auto err = g_component->UseBuffer(g_component, static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), variable 655 …auto err = g_component->UseBuffer(g_component, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), variable 675 … auto err = g_component->UseBuffer(g_component, static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), variable 695 …auto err = g_component->UseBuffer(g_component, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), variable 707 …auto err = g_component->GetParameter(g_component, OMX_IndexParamPortDefinition, (int8_t *)¶m, … variable 723 …auto err = g_component->GetParameter(g_component, OMX_IndexParamPortDefinition, (int8_t *)¶m, … variable 748 …auto err = g_component->UseBuffer(g_component, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), variable 763 …auto err = g_component->GetParameter(g_component, OMX_IndexParamPortDefinition, (int8_t *)¶m, … variable
|
/drivers/peripheral/codec/hal/src/ |
D | codec_component_manager_service.c | 87 int32_t err = GetComponentCapabilityList(capList, count); in OmxManagerGetComponentCapabilityList() local 104 int32_t err = HDF_SUCCESS; in OmxManagerDestroyComponent() local 157 int32_t err = OMXAdapterCreateComponent(&codecNode, compName, appData, callbacks); in OmxManagerCreateComponent() local
|
/drivers/peripheral/intelligent_voice/utils/ |
D | memory_guard.cpp | 39 int32_t err = mallopt(M_FLUSH_THREAD_CACHE, 0); in ~MemoryGuard() local
|
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/imagegetcapability_fuzzer/ |
D | imagegetcapability_fuzzer.cpp | 39 auto err = image->GetImageCapability(caps); in GetCapabilityList() local
|
/drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codecgetcomponentcapabilitylisthdi_fuzzer/ |
D | codecgetcomponentcapabilitylist_fuzzer.cpp | 38 auto err = omxMgr_->GetComponentNum(count); in CodecGetComponentCapabilityList() local
|
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/imagefreeinbuffer_fuzzer/ |
D | imagefreeinbuffer_fuzzer.cpp | 42 auto err = image->FreeInBuffer(inBuffer); in FreeInBuffer() local
|
/drivers/peripheral/codec/test/fuzztest/image_fuzzer/imageallocateinbuffer_fuzzer/ |
D | imageallocateinbuffer_fuzzer.cpp | 44 auto err = image->AllocateInBuffer(inBuffer, bufferSize); in AllocateInBuffer() local
|