| /drivers/peripheral/codec/test/demo/idl/src/ |
| D | codec_hdi_encode.cpp | 115 auto err = GetComponentName(compName); in Init() local 178 auto err = client_->GetParameter(OMX_IndexParamSupportBufferType, inVec, outVec); in CheckSupportBufferType() local 197 auto err = CheckSupportBufferType(PortIndex::PORT_INDEX_OUTPUT, CODEC_BUFFER_TYPE_DMA_MEM_FD); in CheckAndUseDMABuffer() local 218 auto err = client_->GetParameter(OMX_IndexParamSupportBufferType, inVec, outVec); in CheckAndUseBufferHandle() local 268 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in UseBuffers() local 325 auto err = client_->GetParameter(OMX_IndexParamPortDefinition, inVec, outVec); in UseBufferOnPort() local 388 … auto err = client_->AllocateBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get(), outBuffer); in UseDMABuffer() local 440 … auto err = client_->UseBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get(), outBuffer); in UseBufferOnPort() local 485 auto err = client_->UseBuffer(static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), in UseDynaBuffer() local 520 auto err = client_->GetState(status); in FreeBuffers() local [all …]
|
| D | codec_hdi_decode.cpp | 154 int32_t err = GetComponentName(compName); in Init() local 189 auto err = client_->GetParameter(OMX_IndexParamPortDefinition, inVec, outVec); in ConfigPortDefine() local 247 auto err = client_->GetParameter(OMX_IndexParamVideoPortFormat, inVec, outVec); in Configure() local 295 auto err = client_->GetParameter(OMX_IndexParamSupportBufferType, inVec, outVec); in CheckSupportBufferType() local 329 auto err = client_->GetParameter(OMX_IndexParamSupportBufferType, inVec, outVec); in CheckAndUseBufferHandle() local 380 auto err = client_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); in UseBuffers() local 443 … auto err = client_->UseBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get(), outBuffer); in UseBufferOnPort() local 485 auto err = client_->GetParameter(OMX_IndexParamPortDefinition, inVec, outVec); in UseBufferOnPort() local 542 … auto err = client_->AllocateBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get(), outBuffer); in UseDMABuffer() local 584 int32_t err = gralloc_->AllocMem(alloc, bufferHandle); in UseBufferHandle() local [all …]
|
| /drivers/peripheral/codec/hal/idl_service/src/ |
| D | component_node.cpp | 113 auto err = mgr_->CreateComponentInstance(name.c_str(), &callbacks_, this, &comp); in OpenHandle() local 130 auto err = mgr_->DeleteComponentInstance(reinterpret_cast<OMX_COMPONENTTYPE *>(comp_)); in CloseHandle() local 145 int32_t err = OMX_GetComponentVersion(comp_, name, &compVersion, &sepcVersion, &uuid); in GetComponentVersion() local 171 auto err = OMX_SendCommand(comp_, omxCmd, param, cmdData); in SendCommand() local 181 auto err = OMX_GetParameter(comp_, paramIndex, param); in GetParameter() local 191 auto err = OMX_SetParameter(comp_, paramIndex, const_cast<int8_t *>(param)); in SetParameter() local 231 auto err = OMX_SetParameter(comp_, static_cast<OMX_INDEXTYPE>(OMX_IndexParamOverlayBuffer), in SetParameterWithBuffer() local 245 auto err = OMX_GetConfig(comp_, index, config); in GetConfig() local 255 auto err = OMX_SetConfig(comp_, index, const_cast<int8_t *>(config)); in SetConfig() local 266 auto err = OMX_GetExtensionIndex(comp_, const_cast<char *>(parameterName), &indexType); in GetExtensionIndex() local [all …]
|
| D | codec_omx_core.cpp | 95 uint32_t err = (*(componentNameEnum_))(tmpComponentName, OMX_MAX_STRINGNAME_SIZE, index); in ComponentNameEnum() local 112 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 65 int32_t err = OMX_ErrorInvalidComponent; in DeleteComponentInstance() local
|
| /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 238 auto err = manager_->GetComponentCapabilityList(capList, count); in SetUpTestCase() local 679 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), o… variable 698 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), … variable 717 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_INPUT), o… variable 736 …auto err = component_->UseBuffer(component_, static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT), … variable 748 …auto err = component_->GetParameter(component_, OMX_IndexParamPortDefinition, reinterpret_cast<int… variable 762 auto err = component_->SendCommand(component_, OMX_CommandStateSet, OMX_StateIdle, NULL, 0); variable 793 …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/test/unittest/idl_omx/ |
| D | codec_hdi_omx_dec_test.cpp | 57 auto err = g_manager->GetComponentCapabilityList(capList, count); in SetUpTestCase() local 121 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable 160 auto err = g_manager->GetComponentCapabilityList(capList, count); variable
|
| D | codec_hdi_omx_enc_test.cpp | 55 auto err = g_manager->GetComponentCapabilityList(capList, count); in SetUpTestCase() local 518 auto err = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); variable 535 auto err = g_component->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, cmdData); variable 604 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable 620 auto err = func_->FillCodecBufferWithBufferHandle(omxBuffer); variable 642 … auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_OUTPUT, param.nBufferCountActual, variable 676 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable 696 … auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_OUTPUT, param.nBufferCountActual, variable 716 auto err = func_->UseBufferOnPort(g_component, PortIndex::INDEX_INPUT, param.nBufferCountActual, variable 757 …auto err = func_->InitBufferHandleParameter(g_component, param, inputIndex, CODEC_BUFFER_TYPE_DYNA… variable [all …]
|
| /drivers/peripheral/codec/utils/src/ |
| D | codec_util.c | 21 int err = mallopt(M_FLUSH_THREAD_CACHE, 0); in ReleaseCodecCache() local
|
| /drivers/peripheral/codec/hal/v2.0/hdi_impl/src/ |
| D | component_node.cpp | 99 int32_t err = in GetComponentVersion() local 212 auto err = OMX_UseEGLImage(comp_, &pBufferHdrType, portIndex, nullptr, eglImage); in UseEglImage() local 234 int32_t err = comType->ComponentRoleEnum(comp_, omxRole, index); in ComponentRoleEnum() local 329 int32_t err = OMX_ErrorBadParameter; in UseBuffer() local 368 …int32_t err = OMX_AllocateBuffer(static_cast<OMX_HANDLETYPE>(comp_), &bufferHdrType, portIndex, 0,… in AllocateBuffer() local 400 int32_t err = OMX_ErrorBadParameter; in FreeBuffer() local 451 int32_t err = OMX_ErrorBadParameter; in EmptyThisBuffer() local 474 int32_t err = OMX_ErrorBadParameter; in FillThisBuffer() local 587 auto err = ReleaseAllBuffer(); in ReleaseOMXResource() local
|
| D | codec_omx_core.cpp | 95 uint32_t err = (*(componentNameEnum_))(tmpComponentName, OMX_MAX_STRINGNAME_SIZE, index); in ComponentNameEnum() local 113 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 66 int32_t err = OMX_ErrorInvalidComponent; in DeleteComponentInstance() local
|
| /drivers/peripheral/usb/sample/host/src/ |
| D | usbhost_ddk_test.c | 196 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestAsyncRead() local 260 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestSyncRead() local 316 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestCtrlClass() local 347 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestStdGetDes() local 383 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestStdGetDesAsync() local 421 errno_t err = memcpy_s(readSbuf, DATA_MAX_LEN, tmp, strlen(tmp)); in UsbHostDdkTestStdGetStatus() local 535 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/hal/src/ |
| D | codec_component_manager_service.c | 91 int32_t err = GetComponentCapabilityList(capList, count); in OmxManagerGetComponentCapabilityList() local 108 int32_t err = HDF_SUCCESS; in OmxManagerDestroyComponent() local 161 int32_t err = OMXAdapterCreateComponent(&codecNode, compName, appData, callbacks); in OmxManagerCreateComponent() local
|
| D | codec_component_type_service.c | 64 … int32_t err = OmxAdapterGetParameter(service->codecNode, paramIndex, paramStruct, paramStructLen); in CodecComponentTypeGetParameter() local 82 int32_t err = OmxAdapterSetParameter(service->codecNode, index, paramStruct, paramStructLen); in CodecComponentTypeSetParameter() local 99 int32_t err = OmxAdapterGetConfig(service->codecNode, index, cfgStruct, cfgStructLen); in CodecComponentTypeGetConfig() local 116 int32_t err = OmxAdapterSetConfig(service->codecNode, index, cfgStruct, cfgStructLen); in CodecComponentTypeSetConfig() 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/hdi_fuzzer/codecgetcomponentcapabilitylisthdi_fuzzer/ |
| D | codecgetcomponentcapabilitylist_fuzzer.cpp | 38 auto err = omxMgr_->GetComponentNum(count); in CodecGetComponentCapabilityList() local
|
| /drivers/peripheral/codec/test/fuzztest/image_fuzzer/imagegetcapability_fuzzer/ |
| D | imagegetcapability_fuzzer.cpp | 45 auto err = image->GetImageCapability(caps); in GetCapabilityList() local
|
| /drivers/peripheral/codec/test/fuzztest/image_fuzzer/imagefreeinbuffer_fuzzer/ |
| D | imagefreeinbuffer_fuzzer.cpp | 51 auto err = image->FreeInBuffer(inBuffer); in FreeInBuffer() local
|
| /drivers/peripheral/codec/test/fuzztest/hdi_fuzzer/codeccreatecomponenthdi_fuzzer/ |
| D | codeccreatecomponent_fuzzer.cpp | 41 auto err = omxMgr_->GetComponentNum(count); in CodecCreateComponent() local
|