Lines Matching refs:mtk_vcodec_dec_ctx
98 void (*init_vdec_params)(struct mtk_vcodec_dec_ctx *ctx);
99 int (*ctrls_setup)(struct mtk_vcodec_dec_ctx *ctx);
101 int (*flush_decoder)(struct mtk_vcodec_dec_ctx *ctx);
102 struct vdec_fb *(*get_cap_buffer)(struct mtk_vcodec_dec_ctx *ctx);
103 void (*cap_to_disp)(struct mtk_vcodec_dec_ctx *ctx, int error,
168 struct mtk_vcodec_dec_ctx { struct
262 struct mtk_vcodec_dec_ctx *curr_ctx;
296 static inline struct mtk_vcodec_dec_ctx *fh_to_dec_ctx(struct v4l2_fh *fh) in fh_to_dec_ctx()
298 return container_of(fh, struct mtk_vcodec_dec_ctx, fh); in fh_to_dec_ctx()
301 static inline struct mtk_vcodec_dec_ctx *ctrl_to_dec_ctx(struct v4l2_ctrl *ctrl) in ctrl_to_dec_ctx()
303 return container_of(ctrl->handler, struct mtk_vcodec_dec_ctx, ctrl_hdl); in ctrl_to_dec_ctx()
308 wake_up_dec_ctx(struct mtk_vcodec_dec_ctx *ctx, unsigned int reason, unsigned int hw_id) in wake_up_dec_ctx()