/ohos5.0/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/common/ |
H A D | hdi_codec.cpp | 33 compNode_(nullptr), in HdiCodec() 52 int32_t ret = compMgr_->CreateComponent(compNode_, componentId_, componentName_, 0, compCb_); in InitComponent() 53 if (ret != HDF_SUCCESS || compNode_ == nullptr) { in InitComponent() 123 int32_t ret = compNode_->GetParameter(index, inParamVec, outParamVec); in GetParameter() 142 int32_t ret = compNode_->SetParameter(index, paramVec); in SetParameter() 189 … int32_t ret = compNode_->UseBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get(), outBuffer); in InitBuffersByPort() 213 int32_t ret = compNode_->SendCommand(cmd, param, {}); in SendCommand() 243 int32_t ret = compNode_->EmptyThisBuffer(*omxInBufferInfo_->omxBuffer.get()); in EmptyThisBuffer() 256 int32_t ret = compNode_->FillThisBuffer(*omxOutBufferInfo_->omxBuffer.get()); in FillThisBuffer() 286 int32_t ret = compNode_->FreeBuffer(static_cast<uint32_t>(portIndex), *omxBuffer.get()); in FreeBuffer() [all …]
|
H A D | hdi_codec.h | 122 sptr<ICodecComponent> compNode_; variable
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/src/hardware/imagecodec/ |
H A D | image_codec.cpp | 419 ret = compNode_->AllocateBuffer(portIndex, *omxBuffer, *outBuffer); in AllocateHardwareBuffers() 473 int32_t hdiRet = compNode_->UseBuffer(portIndex, *omxBuffer, *outBuffer); in AllocateSurfaceBuffers() 608 int32_t ret = compNode_->EmptyThisBuffer(*(info.omxBuffer)); in NotifyOmxToEmptyThisInBuffer() 620 int32_t ret = compNode_->FillThisBuffer(*(info.omxBuffer)); in NotifyOmxToFillThisOutBuffer() 789 if (compNode_ && info.omxBuffer) { in FreeOmxBuffer() 790 int32_t omxRet = compNode_->FreeBuffer(portIndex, *(info.omxBuffer)); in FreeOmxBuffer() 820 int32_t ret = compNode_->SendCommand(CODEC_COMMAND_STATE_SET, targetState, {}); in ChangeOmxToTargetState() 834 ret = compNode_->GetState(state); in ChangeOmxToTargetState() 844 int32_t ret = compNode_->GetState(state); in RollOmxBackToLoaded() 872 if (compNode_ == nullptr) { in CleanUpOmxNode() [all …]
|
H A D | codec_state.cpp | 182 int32_t ret = codec_->compMgr_->CreateComponent(codec_->compNode_, codec_->componentId_, name, in OnAllocateComponent() 184 if (ret != HDF_SUCCESS || codec_->compNode_ == nullptr) { in OnAllocateComponent() 318 int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in OnStart() 408 … int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_EXECUTING, {}); in OnCodecEvent() 488 int32_t ret = codec_->compNode_->SendCommand( in OnCodecEvent() 517 int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in OnShutDown() 618 int32_t err = codec_->compNode_->SendCommand(CODEC_COMMAND_PORT_ENABLE, OMX_DirOutput, {}); in HandleOutputPortDisabled() 714 … int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, {}); in ChangeOmxNodeToLoadedState()
|
/ohos5.0/foundation/multimedia/av_codec/services/engine/codec/video/hcodec/ |
H A D | hcodec.cpp | 652 int32_t ret = compNode_->UseBuffer(portIndex, *omxBuffer, *outBuffer); in AllocateAvSharedBuffers() 696 int32_t hdiRet = compNode_->UseBuffer(portIndex, *omxBuffer, *outBuffer); in AllocateAvSurfaceBuffers() 963 int32_t ret = compNode_->EmptyThisBuffer(*(info.omxBuffer)); in NotifyOmxToEmptyThisInBuffer() 976 int32_t ret = compNode_->FillThisBuffer(*(info.omxBuffer)); in NotifyOmxToFillThisOutBuffer() 1162 if (compNode_ && info.omxBuffer) { in FreeOmxBuffer() 1163 int32_t omxRet = compNode_->FreeBuffer(portIndex, *(info.omxBuffer)); in FreeOmxBuffer() 1286 ret = compNode_->GetState(state); in ChangeOmxToTargetState() 1296 int32_t ret = compNode_->GetState(state); in RollOmxBackToLoaded() 1324 if (compNode_ == nullptr) { in CleanUpOmxNode() 1348 if (ret != HDF_SUCCESS || compNode_ == nullptr) { in OnAllocateComponent() [all …]
|
H A D | hcodec_state.cpp | 308 int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in OnStart() 407 … int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_EXECUTING, {}); in OnCodecEvent() 525 int32_t ret = codec_->compNode_->SendCommand( in OnCodecEvent() 555 int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_IDLE, {}); in OnShutDown() 569 int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_FLUSH, OMX_ALL, {}); in OnFlush() 710 int32_t err = codec_->compNode_->SendCommand(CODEC_COMMAND_PORT_ENABLE, OMX_DirOutput, {}); in HandleOutputPortDisabled() 944 … int32_t ret = codec_->compNode_->SendCommand(CODEC_COMMAND_STATE_SET, CODEC_STATE_LOADED, {}); in ChangeOmxNodeToLoadedState()
|
H A D | hcodec.h | 278 int32_t ret = isCfg ? compNode_->GetConfig(index, inVec, outVec) : 279 compNode_->GetParameter(index, inVec, outVec); 298 int32_t ret = isCfg ? compNode_->SetConfig(index, inVec) : 299 compNode_->SetParameter(index, inVec); 330 sptr<CodecHDI::ICodecComponent> compNode_ = nullptr; variable
|
H A D | hdecoder.cpp | 704 ret = compNode_->UseBuffer(OMX_DirOutput, *omxBuffer, *outBuffer); in AllocOutDynamicSurfaceBuf() 746 int32_t hdfRet = compNode_->UseBuffer(OMX_DirOutput, *omxBuffer, *outBuffer); in AllocateOutputBuffersFromSurface()
|
H A D | hencoder.cpp | 290 …int32_t ret = compNode_->SetParameterWithBuffer(CodecHDI::Codec_IndexParamOverlayBuffer, inVec, om… in OnConfigureBuffer() 1063 int32_t ret = compNode_->UseBuffer(OMX_DirInput, *omxBuffer, *outBuffer); in AllocInBufsForDynamicSurfaceBuf()
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libextplugin/include/hardware/imagecodec/ |
H A D | image_codec.h | 219 int32_t ret = isCfg ? compNode_->GetConfig(index, inVec, outVec) : 220 compNode_->GetParameter(index, inVec, outVec); 239 int32_t ret = isCfg ? compNode_->SetConfig(index, inVec) : 240 compNode_->SetParameter(index, inVec); 258 sptr<HdiCodecNamespace::ICodecComponent> compNode_ = nullptr; variable
|