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/
H A DRockchip_OSAL_RGA_Process.h35 OMX_S32 rga_dev_open(void **rga_ctx);
36 OMX_S32 rga_dev_close(void *rga_ctx);
37 void rga_nv12_copy(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Height, void *rga_ctx);
38 void rga_rgb_copy(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);
H A 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()
387 rga_nv12_crop_scale(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, OMX_VIDEO_PARAMS_EXTENDED *param_video, RK_U32 orgin_w, RK_U32 orgin_h, void* rga_ctx) rga_nv12_crop_scale() argument
435 rga_rgb2nv12(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Height, uint32_t dstWidth, uint32_t dstHeight, void* rga_ctx) rga_rgb2nv12() argument
476 rga_nv122rgb(RockchipVideoPlane *planes, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Height, int dst_format, void* rga_ctx) rga_nv122rgb() argument
519 rga_nv12_copy(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Height, void* rga_ctx) rga_nv12_copy() argument
548 rga_rgb_copy(RockchipVideoPlane *plane, VPUMemLinear_t *vpumem, uint32_t Width, uint32_t Height, void* rga_ctx) rga_rgb_copy() argument
[all...]
/device/soc/rockchip/rk3568/hardware/omx_il/component/video/dec/
H A DRkvpu_OMX_Vdec.h75 void *rga_ctx; member
H A 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/
H A DRkvpu_OMX_Venc.h98 void *rga_ctx; member
H A DRkvpu_OMX_Venc.c369 &pVideoEnc->params_extend, Width, Height, pVideoEnc->rga_ctx); in Rkvpu_N12_Process()
479 rga_rgb2nv12(&vplanes, pVideoEnc->enc_vpumem, Width, Height, new_width, new_height, pVideoEnc->rga_ctx); in Rkvpu_ProcessStoreMetaData()
494 rga_nv12_copy(&vplanes, pVideoEnc->enc_vpumem, Width, Height, pVideoEnc->rga_ctx); in Rkvpu_ProcessStoreMetaData()
508 rga_rgb_copy(&vplanes, pVideoEnc->enc_vpumem, Width, Height, pVideoEnc->rga_ctx); in Rkvpu_ProcessStoreMetaData()
1465 if (rga_dev_open(&pVideoEnc->rga_ctx) < 0) { in Rkvpu_Enc_ComponentInit()
1684 if (pVideoEnc->rga_ctx != NULL) { in Rkvpu_Enc_Terminate()
1686 rga_dev_close(pVideoEnc->rga_ctx); in Rkvpu_Enc_Terminate()
1688 pVideoEnc->rga_ctx = NULL; in Rkvpu_Enc_Terminate()

Completed in 11 milliseconds