Home
last modified time | relevance | path

Searched refs:rga_ctx (Results 1 – 6 of 6) sorted by relevance

/device/soc/rockchip/rk3568/hardware/omx_il/osal/
DRockchip_OSAL_RGA_Process.h35 OMX_S32 rga_dev_open(void **rga_ctx);
36 OMX_S32 rga_dev_close(void *rga_ctx);
37 …RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Height, void *rga_ctx);
38 …RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Height, void *rga_ctx);
40 uint32_t dstWidth, uint32_t dstHeight, void *rga_ctx);
42 RK_U32 orgin_w, RK_U32 orgin_h, void *rga_ctx);
44 uint32_t mHeight, int dst_format, void *rga_ctx);
DRockchip_OSAL_RGA_Process.c59 OMX_S32 rga_dev_open(void **rga_ctx) in rga_dev_open() argument
71 *rga_ctx = ctx; in rga_dev_open()
74 RgaInit(rga_ctx); in rga_dev_open()
75 if (*rga_ctx == NULL) { in rga_dev_open()
82 OMX_S32 rga_dev_close(void *rga_ctx) in rga_dev_close() argument
85 rga_ctx_t *ctx = (rga_ctx_t *)rga_ctx; in rga_dev_close()
93 Rockchip_OSAL_Free(rga_ctx); in rga_dev_close()
94 rga_ctx = NULL; in rga_dev_close()
97 RgaDeInit(rga_ctx); in rga_dev_close()
389 RK_U32 orgin_w, RK_U32 orgin_h, void* rga_ctx) in rga_nv12_crop_scale() argument
[all …]
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/
DRkvpu_OMX_Vdec.h75 void *rga_ctx; member
DRkvpu_OMX_VdecControl.c877 if (pVideoDec->rga_ctx != NULL) { in Rkvpu_Frame2Outbuf()
880 … rga_nv122rgb(&vplanes, &pframe->vpumem, mWidth, mHeight, pixel_format, pVideoDec->rga_ctx); in Rkvpu_Frame2Outbuf()
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/enc/
DRkvpu_OMX_Venc.h98 void *rga_ctx; member
DRkvpu_OMX_Venc.c363 &pVideoEnc->params_extend, Width, Height, pVideoEnc->rga_ctx); in Rkvpu_N12_Process()
473 …gb2nv12(&vplanes, pVideoEnc->enc_vpumem, Width, Height, new_width, new_height, pVideoEnc->rga_ctx); in Rkvpu_ProcessStoreMetaData()
488 rga_nv12_copy(&vplanes, pVideoEnc->enc_vpumem, Width, Height, pVideoEnc->rga_ctx); in Rkvpu_ProcessStoreMetaData()
502 rga_rgb_copy(&vplanes, pVideoEnc->enc_vpumem, Width, Height, pVideoEnc->rga_ctx); in Rkvpu_ProcessStoreMetaData()
1459 if (rga_dev_open(&pVideoEnc->rga_ctx) < 0) { in Rkvpu_Enc_ComponentInit()
1678 if (pVideoEnc->rga_ctx != NULL) { in Rkvpu_Enc_Terminate()
1680 rga_dev_close(pVideoEnc->rga_ctx); in Rkvpu_Enc_Terminate()
1682 pVideoEnc->rga_ctx = NULL; in Rkvpu_Enc_Terminate()