Home
last modified time | relevance | path

Searched refs:pRockchipComponent (Results 1 – 13 of 13) sorted by relevance

/device/soc/rockchip/rk3568/hardware/omx_il/component/common/
DRockchip_OMX_Basecomponent.c80 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rockchip_OMX_GetComponentVersion() local
102 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in Rockchip_OMX_GetComponentVersion()
104 if (pRockchipComponent->currentState == OMX_StateInvalid) { in Rockchip_OMX_GetComponentVersion()
109 Rockchip_OSAL_Strcpy(pComponentName, pRockchipComponent->componentName); in Rockchip_OMX_GetComponentVersion()
110 …Rockchip_OSAL_Memcpy(pComponentVersion, &(pRockchipComponent->componentVersion), sizeof(OMX_VERSIO… in Rockchip_OMX_GetComponentVersion()
111 Rockchip_OSAL_Memcpy(pSpecVersion, &(pRockchipComponent->specVersion), sizeof(OMX_VERSIONTYPE)); in Rockchip_OMX_GetComponentVersion()
134 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rockchip_OMX_GetState() local
152 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in Rockchip_OMX_GetState()
154 *pState = pRockchipComponent->currentState; in Rockchip_OMX_GetState()
166 …ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pCom… in Rockchip_OMX_ComponentStateSet() local
[all …]
DRockchip_OMX_Baseport.c50 …ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pCom… in Rkvpu_OMX_InputBufferReturn() local
51 … ROCKCHIP_OMX_BASEPORT *pRockchipPort = &pRockchipComponent->pRockchipPort[INPUT_PORT_INDEX]; in Rkvpu_OMX_InputBufferReturn()
63 pRockchipComponent->componentName, in Rkvpu_OMX_InputBufferReturn()
69pRockchipComponent->pCallbacks->EmptyBufferDone(pOMXComponent, pRockchipComponent->callbackData, b… in Rkvpu_OMX_InputBufferReturn()
77 …ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pCom… in Rockchip_OMX_OutputBufferReturn() local
78 … ROCKCHIP_OMX_BASEPORT *pRockchipPort = &pRockchipComponent->pRockchipPort[OUTPUT_PORT_INDEX]; in Rockchip_OMX_OutputBufferReturn()
91 pRockchipComponent->componentName, in Rockchip_OMX_OutputBufferReturn()
97 pRockchipComponent->componentName, in Rockchip_OMX_OutputBufferReturn()
104pRockchipComponent->pCallbacks->FillBufferDone(pOMXComponent, pRockchipComponent->callbackData, bu… in Rockchip_OMX_OutputBufferReturn()
115 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rockchip_OMX_BufferFlushProcess() local
[all …]
DRockchip_OMX_Resourcemanager.c53 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in addElementList() local
55 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in addElementList()
70 pRockchipComponent->compPriority.nGroupPriority; in addElementList()
81 pTempComp->groupPriority = pRockchipComponent->compPriority.nGroupPriority; in addElementList()
172 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in removeComponent() local
174 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in removeComponent()
175 if (pRockchipComponent->currentState == OMX_StateIdle) { in removeComponent()
176 (*(pRockchipComponent->pCallbacks->EventHandler)) in removeComponent()
177 (pOMXComponent, pRockchipComponent->callbackData, in removeComponent()
184 } else if ((pRockchipComponent->currentState == OMX_StateExecuting) || in removeComponent()
[all …]
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/enc/
DRkvpu_OMX_VencControl.c169 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rkvpu_OMX_UseBuffer() local
189 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in Rkvpu_OMX_UseBuffer()
191 pRockchipPort = &pRockchipComponent->pRockchipPort[nPortIndex]; in Rkvpu_OMX_UseBuffer()
192 if (nPortIndex >= pRockchipComponent->portParam.nPorts) { in Rkvpu_OMX_UseBuffer()
256 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rkvpu_OMX_AllocateBuffer() local
281 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in Rkvpu_OMX_AllocateBuffer()
282 pVideoEnc = (RKVPU_OMX_VIDEOENC_COMPONENT *)pRockchipComponent->hComponentHandle; in Rkvpu_OMX_AllocateBuffer()
284 pRockchipPort = &pRockchipComponent->pRockchipPort[nPortIndex]; in Rkvpu_OMX_AllocateBuffer()
285 if (nPortIndex >= pRockchipComponent->portParam.nPorts) { in Rkvpu_OMX_AllocateBuffer()
352 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rkvpu_OMX_FreeBuffer() local
[all …]
DRkvpu_OMX_Venc.c140 …ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pCom… in UpdateFrameSize() local
141 …ROCKCHIP_OMX_BASEPORT *rockchipInputPort = &pRockchipComponent->pRockchipPort[INPUT_PORT_INDE… in UpdateFrameSize()
142 …ROCKCHIP_OMX_BASEPORT *rockchipOutputPort = &pRockchipComponent->pRockchipPort[OUTPUT_PORT_IN… in UpdateFrameSize()
171 OMX_BOOL Rkvpu_Check_BufferProcess_State(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, OMX_U32 nP… in Rkvpu_Check_BufferProcess_State() argument
175 if ((pRockchipComponent->currentState == OMX_StateExecuting) && in Rkvpu_Check_BufferProcess_State()
176 (pRockchipComponent->pRockchipPort[nPortIndex].portState == OMX_StateIdle) && in Rkvpu_Check_BufferProcess_State()
177 (pRockchipComponent->transientState != ROCKCHIP_OMX_TransStateExecutingToIdle) && in Rkvpu_Check_BufferProcess_State()
178 (pRockchipComponent->transientState != ROCKCHIP_OMX_TransStateIdleToExecuting)) { in Rkvpu_Check_BufferProcess_State()
227 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = in Rkvpu_ResetAllPortConfig() local
230 ROCKCHIP_OMX_BASEPORT *port = &pRockchipComponent->pRockchipPort[i]; in Rkvpu_ResetAllPortConfig()
[all …]
DRkvpu_OMX_VencControl.h112 OMX_ERRORTYPE Rkvpu_OutputBufferGetQueue(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent);
113 OMX_ERRORTYPE Rkvpu_InputBufferGetQueue(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent);
DRkvpu_OMX_Venc.h153 OMX_BOOL Rkvpu_Check_BufferProcess_State(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, OMX_U32 nP…
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/
DRkvpu_OMX_Vdec.c152 …ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pCom… in UpdateFrameSize() local
153 …ROCKCHIP_OMX_BASEPORT *rockchipInputPort = &pRockchipComponent->pRockchipPort[INPUT_PORT_INDE… in UpdateFrameSize()
154 …ROCKCHIP_OMX_BASEPORT *rockchipOutputPort = &pRockchipComponent->pRockchipPort[OUTPUT_PORT_IN… in UpdateFrameSize()
192 OMX_BOOL Rkvpu_Check_BufferProcess_State(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, OMX_U32 nP… in Rkvpu_Check_BufferProcess_State() argument
196 if ((pRockchipComponent->currentState == OMX_StateExecuting) && in Rkvpu_Check_BufferProcess_State()
197 (pRockchipComponent->pRockchipPort[nPortIndex].portState == OMX_StateIdle) && in Rkvpu_Check_BufferProcess_State()
198 (pRockchipComponent->transientState != ROCKCHIP_OMX_TransStateExecutingToIdle) && in Rkvpu_Check_BufferProcess_State()
199 (pRockchipComponent->transientState != ROCKCHIP_OMX_TransStateIdleToExecuting)) { in Rkvpu_Check_BufferProcess_State()
209 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent) in Rkvpu_OMX_CheckIsNeedFastmode() argument
212 …IDEODEC_COMPONENT *pVideoDec = (RKVPU_OMX_VIDEODEC_COMPONENT *)pRockchipComponent->hComponentH… in Rkvpu_OMX_CheckIsNeedFastmode()
[all …]
DRkvpu_OMX_VdecControl.c135 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rkvpu_OMX_UseBuffer() local
159 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in Rkvpu_OMX_UseBuffer()
161 pRockchipPort = &pRockchipComponent->pRockchipPort[nPortIndex]; in Rkvpu_OMX_UseBuffer()
162 if (nPortIndex >= pRockchipComponent->portParam.nPorts) { in Rkvpu_OMX_UseBuffer()
204 pRockchipComponent->componentName, in Rkvpu_OMX_UseBuffer()
236 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent = NULL; in Rkvpu_OMX_AllocateBuffer() local
261 pRockchipComponent = (ROCKCHIP_OMX_BASECOMPONENT *)pOMXComponent->pComponentPrivate; in Rkvpu_OMX_AllocateBuffer()
262 pVideoDec = (RKVPU_OMX_VIDEODEC_COMPONENT *)pRockchipComponent->hComponentHandle; in Rkvpu_OMX_AllocateBuffer()
263 pRockchipPort = &pRockchipComponent->pRockchipPort[nPortIndex]; in Rkvpu_OMX_AllocateBuffer()
264 if (nPortIndex >= pRockchipComponent->portParam.nPorts) { in Rkvpu_OMX_AllocateBuffer()
[all …]
DRkvpu_OMX_VdecControl.h114 OMX_ERRORTYPE Rkvpu_OutputBufferGetQueue(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent);
115 OMX_ERRORTYPE Rkvpu_InputBufferGetQueue(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent);
DRkvpu_OMX_Vdec.h129 OMX_BOOL Rkvpu_Check_BufferProcess_State(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, OMX_U32 nP…
/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_OHOS.cpp450 ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, in Get_Video_HorAlign() argument
453 …RKVPU_OMX_VIDEODEC_COMPONENT *pVideoDec = (RKVPU_OMX_VIDEODEC_COMPONENT *)pRockchipComponent->hCom… in Get_Video_HorAlign()
454 …ROCKCHIP_OMX_BASEPORT *pRockchipPort = &pRockchipComponent->pRockchipPort[OUTPUT_POR… in Get_Video_HorAlign()
468 OMX_ERRORTYPE Rockchip_OSAL_Fd2VpumemPool(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, in Get_Video_HorAlign() argument
472 …ROCKCHIP_OMX_BASEPORT *pRockchipPort = &pRockchipComponent->pRockchipPort[OUTPUT_POR… in Get_Video_HorAlign()
483 ret = Rockchip_OSAL_CommitBuffer(pRockchipComponent, i); in Get_Video_HorAlign()
497 OMX_ERRORTYPE Rockchip_OSAL_resetVpumemPool(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent) in Get_Video_HorAlign() argument
499 …RKVPU_OMX_VIDEODEC_COMPONENT *pVideoDec = (RKVPU_OMX_VIDEODEC_COMPONENT *)pRockchipComponent->hCom… in Get_Video_HorAlign()
538 OMX_ERRORTYPE Rockchip_OSAL_Openvpumempool(OMX_IN ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, … in Get_Video_HorAlign() argument
540 …RKVPU_OMX_VIDEODEC_COMPONENT *pVideoDec = (RKVPU_OMX_VIDEODEC_COMPONENT *)pRockchipComponent->hCom… in Get_Video_HorAlign()
[all …]
DRockchip_OSAL_OHOS.h86 OMX_ERRORTYPE Rockchip_OSAL_Fd2VpumemPool(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent,
89 OMX_ERRORTYPE Rockchip_OSAL_CommitBuffer(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent,
96 OMX_ERRORTYPE Rockchip_OSAL_Openvpumempool(OMX_IN ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent, …
98 OMX_ERRORTYPE Rockchip_OSAL_Closevpumempool(OMX_IN ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent);
100 OMX_ERRORTYPE Rockchip_OSAL_resetVpumemPool(OMX_IN ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent);
104 OMX_COLOR_FORMATTYPE Rockchip_OSAL_CheckFormat(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent,
109 OMX_ERRORTYPE Rockchip_OSAL_PowerControl(ROCKCHIP_OMX_BASECOMPONENT *pRockchipComponent,