Home
last modified time | relevance | path

Searched refs:vpumem (Results 1 – 10 of 10) sorted by relevance

/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_RGA_Process.c103 OMX_S32 rga_copy(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, in rga_copy() argument
127 Rga_Request.dst.yrgb_addr = vpumem->phy_addr; in rga_copy()
129 Rga_Request.line_draw_info.color |= (vpumem->phy_addr & 0xffff) << 16; // 16:byte alignment in rga_copy()
130 Rga_Request.dst.uv_addr = vpumem->vir_addr; in rga_copy()
135 Rga_Request.dst.uv_addr = vpumem->phy_addr; in rga_copy()
137 Rga_Request.dst.yrgb_addr = vpumem->phy_addr; in rga_copy()
138 Rga_Request.dst.uv_addr = (unsigned long)vpumem->vir_addr; in rga_copy()
187 VPUMemLinear_t *vpumem, OMX_VIDEO_PARAMS_EXTENDED *param_video, in rga_crop_scale() argument
230 Rga_Request.dst.yrgb_addr = vpumem->phy_addr; in rga_crop_scale()
231 Rga_Request.dst.uv_addr = vpumem->phy_addr + plane->stride * orgin_h; in rga_crop_scale()
[all …]
DRockchip_OSAL_RGA_Process.h37 void rga_nv12_copy(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Heig…
38 void rga_rgb_copy(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Heigh…
39 void rga_rgb2nv12(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Heig…
41 void rga_nv12_crop_scale(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, OMX_VIDEO_PARAMS_EXTEND…
43 void rga_nv122rgb(RockchipVideoPlane *planes, VPUMemLinear_t *vpumem, uint32_t mWidth,
DRockchip_OSAL_OHOS.cpp509 VPUMemLink(&pframe->vpumem); in Get_Video_HorAlign()
510 VPUFreeLinear(&pframe->vpumem); in Get_Video_HorAlign()
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/
DRkvpu_OMX_Vdec.c634 if (pframe->vpumem.phy_addr > 0) { in Rkvpu_Post_OutputFrame()
635 VPUMemLink(&pframe->vpumem); in Rkvpu_Post_OutputFrame()
636 VPUFreeLinear(&pframe->vpumem); in Rkvpu_Post_OutputFrame()
703 if (pframe->vpumem.phy_addr > 0) { in Rkvpu_Post_OutputFrame()
704 VPUMemLink(&pframe->vpumem); in Rkvpu_Post_OutputFrame()
705 VPUFreeLinear(&pframe->vpumem); in Rkvpu_Post_OutputFrame()
721 if (pframe->vpumem.phy_addr > 0) { in Rkvpu_Post_OutputFrame()
722 VPUMemLink(&pframe->vpumem); in Rkvpu_Post_OutputFrame()
723 VPUFreeLinear(&pframe->vpumem); in Rkvpu_Post_OutputFrame()
728 …bufferHeader = Rockchip_OSAL_Fd2OmxBufferHeader(pOutputPort, VPUMemGetFD(&pframe->vpumem), pframe); in Rkvpu_Post_OutputFrame()
[all …]
DRkvpu_OMX_VdecControl.c814 VPUMemLink(&pframe->vpumem); in Rkvpu_Frame2Outbuf()
815 VPUMemInvalidate(&pframe->vpumem); in Rkvpu_Frame2Outbuf()
821 src.fd = pframe->vpumem.phy_addr; in Rkvpu_Frame2Outbuf()
846 VPUFreeLinear(&pframe->vpumem); in Rkvpu_Frame2Outbuf()
879 VPUMemLink(&pframe->vpumem); in Rkvpu_Frame2Outbuf()
880 … rga_nv122rgb(&vplanes, &pframe->vpumem, mWidth, mHeight, pixel_format, pVideoDec->rga_ctx); in Rkvpu_Frame2Outbuf()
881 VPUFreeLinear(&pframe->vpumem); in Rkvpu_Frame2Outbuf()
905 VPUMemLink(&pframe->vpumem); in Rkvpu_Frame2Outbuf()
906 VPUMemInvalidate(&pframe->vpumem); in Rkvpu_Frame2Outbuf()
908 OMX_U8 *buff_vir = (OMX_U8 *)pframe->vpumem.vir_addr; in Rkvpu_Frame2Outbuf()
[all …]
/device/soc/rockchip/common/hardware/mpp/include/
Dvpu_api.h154 VPUMemLinear_t vpumem; member
/device/soc/rockchip/rk3568/hardware/mpp/include/
Dvpu_api.h155 VPUMemLinear_t vpumem; member
/device/soc/rockchip/rk3588/hardware/mpp/include/
Dvpu_api.h154 VPUMemLinear_t vpumem; member
/device/soc/rockchip/rk3399/hardware/mpp/include/
Dvpu_api.h152 VPUMemLinear_t vpumem; member
/device/soc/rockchip/rk3568/hardware/mpp/mpp/legacy/
Dvpu_api_legacy.cpp622 vframe->vpumem.vir_addr = (RK_U32*)ptr; in setup_VPU_FRAME_from_mpp_frame()
623 vframe->vpumem.phy_addr = fd; in setup_VPU_FRAME_from_mpp_frame()
625 … vframe->vpumem.size = vframe->FrameWidth * vframe->FrameHeight * 3 / 2; // FrameHeight * 3 / 2 in setup_VPU_FRAME_from_mpp_frame()
626 vframe->vpumem.offset = (RK_U32*)buf; in setup_VPU_FRAME_from_mpp_frame()