Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/media/platform/mtk-vcodec/
Dvdec_drv_if.c65 if (!ctx->drv_handle) in vdec_if_decode()
73 ret = ctx->dec_if->decode(ctx->drv_handle, bs, fb, res_chg); in vdec_if_decode()
88 if (!ctx->drv_handle) in vdec_if_get_param()
92 ret = ctx->dec_if->get_param(ctx->drv_handle, type, out); in vdec_if_get_param()
100 if (!ctx->drv_handle) in vdec_if_deinit()
105 ctx->dec_if->deinit(ctx->drv_handle); in vdec_if_deinit()
109 ctx->drv_handle = NULL; in vdec_if_deinit()
Dvenc_drv_if.c51 ret = ctx->enc_if->set_param(ctx->drv_handle, type, in); in venc_if_set_param()
73 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, in venc_if_encode()
89 if (!ctx->drv_handle) in venc_if_deinit()
94 ret = ctx->enc_if->deinit(ctx->drv_handle); in venc_if_deinit()
98 ctx->drv_handle = NULL; in venc_if_deinit()
Dmtk_vcodec_drv.h277 void *drv_handle; member
/Linux-v5.4/drivers/media/platform/mtk-vcodec/venc/
Dvenc_vp8_if.c352 ctx->drv_handle = inst; in vp8_enc_init()
Dvenc_h264_if.c487 ctx->drv_handle = inst; in h264_enc_init()
/Linux-v5.4/drivers/media/platform/mtk-vcodec/vdec/
Dvdec_h264_if.c301 ctx->drv_handle = inst; in vdec_h264_init()
Dvdec_vp8_if.c422 ctx->drv_handle = inst; in vdec_vp8_init()
Dvdec_vp9_if.c806 ctx->drv_handle = inst; in vdec_vp9_init()