Searched refs:drv_handle (Results 1 – 15 of 15) sorted by relevance
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/ |
H A D | vdec_drv_if.c | 91 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 D | mtk_vcodec_dec_drv.h | 180 void *drv_handle; member
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/ |
H A D | venc_drv_if.c | 47 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 D | mtk_vcodec_enc_drv.h | 142 void *drv_handle; member
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/encoder/venc/ |
H A D | venc_vp8_if.c | 335 ctx->drv_handle = inst; in vp8_enc_init()
|
H A D | venc_h264_if.c | 610 ctx->drv_handle = inst; in h264_enc_init()
|
/openbmc/linux/drivers/media/platform/mediatek/vcodec/decoder/vdec/ |
H A D | vdec_h264_if.c | 295 ctx->drv_handle = inst; in vdec_h264_init()
|
H A D | vdec_vp8_req_if.c | 308 ctx->drv_handle = inst; in vdec_vp8_slice_init()
|
H A D | vdec_h264_req_multi_if.c | 434 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 D | vdec_h264_req_if.c | 307 ctx->drv_handle = inst; in vdec_h264_slice_init()
|
H A D | vdec_hevc_req_multi_if.c | 900 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 D | vdec_vp8_if.c | 417 ctx->drv_handle = inst; in vdec_vp8_init()
|
H A D | vdec_vp9_if.c | 800 ctx->drv_handle = inst; in vdec_vp9_init()
|
H A D | vdec_av1_req_lat_if.c | 1934 ctx->drv_handle = instance; in vdec_av1_slice_init() 2154 instance = ctx->drv_handle; in vdec_av1_slice_core_decode()
|
H A D | vdec_vp9_req_lat_if.c | 1897 ctx->drv_handle = instance; in vdec_vp9_slice_init() 2151 instance = ctx->drv_handle; in vdec_vp9_slice_core_decode()
|