Home
last modified time | relevance | path

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

/Linux-v5.15/drivers/media/platform/mtk-vcodec/
Dvdec_drv_if.c64 if (!ctx->drv_handle) in vdec_if_decode()
72 ret = ctx->dec_if->decode(ctx->drv_handle, bs, fb, res_chg); in vdec_if_decode()
87 if (!ctx->drv_handle) in vdec_if_get_param()
91 ret = ctx->dec_if->get_param(ctx->drv_handle, type, out); in vdec_if_get_param()
99 if (!ctx->drv_handle) in vdec_if_deinit()
104 ctx->dec_if->deinit(ctx->drv_handle); in vdec_if_deinit()
108 ctx->drv_handle = NULL; in vdec_if_deinit()
Dvenc_drv_if.c50 ret = ctx->enc_if->set_param(ctx->drv_handle, type, in); in venc_if_set_param()
72 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, in venc_if_encode()
88 if (!ctx->drv_handle) in venc_if_deinit()
93 ret = ctx->enc_if->deinit(ctx->drv_handle); in venc_if_deinit()
97 ctx->drv_handle = NULL; in venc_if_deinit()
Dmtk_vcodec_drv.h277 void *drv_handle; member
/Linux-v5.15/drivers/media/platform/mtk-vcodec/venc/
Dvenc_vp8_if.c353 ctx->drv_handle = inst; in vp8_enc_init()
Dvenc_h264_if.c530 ctx->drv_handle = inst; in h264_enc_init()
/Linux-v5.15/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c299 ctx->drv_handle = inst; in vdec_h264_init()
Dvdec_vp8_if.c420 ctx->drv_handle = inst; in vdec_vp8_init()
Dvdec_vp9_if.c811 ctx->drv_handle = inst; in vdec_vp9_init()