• Home
  • Raw
  • Download

Lines Matching defs:ctx

88 static struct mtk_q_data *mtk_vdec_get_q_data(struct mtk_vcodec_ctx *ctx,  in mtk_vdec_get_q_data()
103 static struct vb2_buffer *get_display_buffer(struct mtk_vcodec_ctx *ctx) in get_display_buffer()
155 static struct vb2_buffer *get_free_buffer(struct mtk_vcodec_ctx *ctx) in get_free_buffer()
235 static void clean_display_buffer(struct mtk_vcodec_ctx *ctx) in clean_display_buffer()
244 static void clean_free_buffer(struct mtk_vcodec_ctx *ctx) in clean_free_buffer()
253 static void mtk_vdec_queue_res_chg_event(struct mtk_vcodec_ctx *ctx) in mtk_vdec_queue_res_chg_event()
265 static void mtk_vdec_flush_decoder(struct mtk_vcodec_ctx *ctx) in mtk_vdec_flush_decoder()
278 static void mtk_vdec_update_fmt(struct mtk_vcodec_ctx *ctx, in mtk_vdec_update_fmt()
299 static int mtk_vdec_pic_info_update(struct mtk_vcodec_ctx *ctx) in mtk_vdec_pic_info_update()
347 struct mtk_vcodec_ctx *ctx = container_of(work, struct mtk_vcodec_ctx, in mtk_vdec_worker() local
505 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_decoder_cmd() local
544 void mtk_vdec_unlock(struct mtk_vcodec_ctx *ctx) in mtk_vdec_unlock()
549 void mtk_vdec_lock(struct mtk_vcodec_ctx *ctx) in mtk_vdec_lock()
554 void mtk_vcodec_dec_release(struct mtk_vcodec_ctx *ctx) in mtk_vcodec_dec_release()
560 void mtk_vcodec_dec_set_default_params(struct mtk_vcodec_ctx *ctx) in mtk_vcodec_dec_set_default_params()
608 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_qbuf() local
622 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_dqbuf() local
758 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_selection() local
807 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_selection() local
829 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_s_fmt() local
907 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_enum_framesizes() local
982 struct mtk_vcodec_ctx *ctx = fh_to_ctx(priv); in vidioc_vdec_g_fmt() local
1073 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vq); in vb2ops_vdec_queue_setup() local
1109 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_prepare() local
1136 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_queue() local
1252 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue); in vb2ops_vdec_buf_finish() local
1292 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(q); in vb2ops_vdec_start_streaming() local
1303 struct mtk_vcodec_ctx *ctx = vb2_get_drv_priv(q); in vb2ops_vdec_stop_streaming() local
1352 struct mtk_vcodec_ctx *ctx = priv; in m2mops_vdec_device_run() local
1360 struct mtk_vcodec_ctx *ctx = m2m_priv; in m2mops_vdec_job_ready() local
1379 struct mtk_vcodec_ctx *ctx = priv; in m2mops_vdec_job_abort() local
1386 struct mtk_vcodec_ctx *ctx = ctrl_to_ctx(ctrl); in mtk_vdec_g_v_ctrl() local
1408 int mtk_vcodec_dec_ctrls_setup(struct mtk_vcodec_ctx *ctx) in mtk_vcodec_dec_ctrls_setup()
1490 struct mtk_vcodec_ctx *ctx = priv; in mtk_vcodec_dec_queue_init() local