Home
last modified time | relevance | path

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

/linux/drivers/media/platform/mediatek/vcodec/decoder/
H A Dvdec_drv_if.c91 if (!ctx->drv_handle) in vdec_if_decode()
96 ret = ctx->dec_if->decode(ctx->drv_handle, bs, fb, res_chg); in vdec_if_decode()
108 if (!ctx->drv_handle) in vdec_if_get_param()
112 ret = ctx->dec_if->get_param(ctx->drv_handle, type, out); in vdec_if_get_param()
120 if (!ctx->drv_handle) in vdec_if_deinit()
124 ctx->dec_if->deinit(ctx->drv_handle); in vdec_if_deinit()
127 ctx->drv_handle = NULL; in vdec_if_deinit()
H A Dmtk_vcodec_dec_drv.h190 void *drv_handle; member
/linux/drivers/media/platform/mediatek/vcodec/encoder/
H A Dvenc_drv_if.c47 ret = ctx->enc_if->set_param(ctx->drv_handle, type, in); in venc_if_set_param()
71 ret = ctx->enc_if->encode(ctx->drv_handle, opt, frm_buf, in venc_if_encode()
89 if (!ctx->drv_handle) in venc_if_deinit()
93 ret = ctx->enc_if->deinit(ctx->drv_handle); in venc_if_deinit()
96 ctx->drv_handle = NULL; in venc_if_deinit()
H A Dmtk_vcodec_enc_drv.h142 void *drv_handle; member
/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/
H A Dvenc_vp8_if.c335 ctx->drv_handle = inst; in vp8_enc_init()
H A Dvenc_h264_if.c610 ctx->drv_handle = inst; in h264_enc_init()
/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/
H A Dvdec_h264_req_multi_if.c434 ctx->drv_handle = inst; in vdec_h264_slice_init()
460 struct vdec_h264_slice_inst *inst = ctx->drv_handle; in vdec_h264_slice_core_decode()
H A Dvdec_h264_if.c295 ctx->drv_handle = inst; in vdec_h264_init()
H A Dvdec_vp8_req_if.c307 ctx->drv_handle = inst; in vdec_vp8_slice_init()
H A Dvdec_hevc_req_multi_if.c900 ctx->drv_handle = inst; in vdec_hevc_slice_init()
927 struct vdec_hevc_slice_inst *inst = ctx->drv_handle; in vdec_hevc_slice_core_decode()
H A Dvdec_h264_req_if.c307 ctx->drv_handle = inst; in vdec_h264_slice_init()
H A Dvdec_vp8_if.c417 ctx->drv_handle = inst; in vdec_vp8_init()
H A Dvdec_vp9_if.c801 ctx->drv_handle = inst; in vdec_vp9_init()
H A Dvdec_av1_req_lat_if.c1934 ctx->drv_handle = instance; in vdec_av1_slice_init()
2154 instance = ctx->drv_handle; in vdec_av1_slice_core_decode()
H A Dvdec_vp9_req_lat_if.c1891 ctx->drv_handle = instance; in vdec_vp9_slice_init()
2145 instance = ctx->drv_handle; in vdec_vp9_slice_core_decode()