Home
last modified time | relevance | path

Searched refs:drv_handle (Results 1 – 3 of 3) sorted by relevance

/Linux-v4.19/drivers/media/platform/mtk-vcodec/
Dvdec_drv_if.c50 ret = ctx->dec_if->init(ctx, &ctx->drv_handle); in vdec_if_init()
77 if (ctx->drv_handle == 0) in vdec_if_decode()
85 ret = ctx->dec_if->decode(ctx->drv_handle, bs, fb, res_chg); in vdec_if_decode()
100 if (ctx->drv_handle == 0) in vdec_if_get_param()
104 ret = ctx->dec_if->get_param(ctx->drv_handle, type, out); in vdec_if_get_param()
112 if (ctx->drv_handle == 0) in vdec_if_deinit()
117 ctx->dec_if->deinit(ctx->drv_handle); in vdec_if_deinit()
121 ctx->drv_handle = 0; in vdec_if_deinit()
Dvenc_drv_if.c49 ret = ctx->enc_if->init(ctx, (unsigned long *)&ctx->drv_handle); in venc_if_init()
63 ret = ctx->enc_if->set_param(ctx->drv_handle, type, in); in venc_if_set_param()
85 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, in venc_if_encode()
101 if (ctx->drv_handle == 0) in venc_if_deinit()
106 ret = ctx->enc_if->deinit(ctx->drv_handle); in venc_if_deinit()
110 ctx->drv_handle = 0; in venc_if_deinit()
Dmtk_vcodec_drv.h281 unsigned long drv_handle; member