mtk_mdp_ctx
struct mtk_mdp_ctx *ctx;
static void mtk_mdp_set_default_params(struct mtk_mdp_ctx *ctx)
struct mtk_mdp_ctx *ctx = NULL;
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
static const struct mtk_mdp_fmt *mtk_mdp_try_fmt_mplane(struct mtk_mdp_ctx *ctx,
static struct mtk_mdp_frame *mtk_mdp_ctx_get_frame(struct mtk_mdp_ctx *ctx,
static int mtk_mdp_try_crop(struct mtk_mdp_ctx *ctx, u32 type,
static inline struct mtk_mdp_ctx *file_to_ctx(struct file *filp)
return container_of(file_to_v4l2_fh(filp), struct mtk_mdp_ctx, fh);
static inline struct mtk_mdp_ctx *ctrl_to_ctx(struct v4l2_ctrl *ctrl)
return container_of(ctrl->handler, struct mtk_mdp_ctx, ctrl_handler);
void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state)
static bool mtk_mdp_ctx_state_is_set(struct mtk_mdp_ctx *ctx, u32 mask)
struct mtk_mdp_ctx *ctx = q->drv_priv;
static void *mtk_mdp_m2m_buf_remove(struct mtk_mdp_ctx *ctx,
struct mtk_mdp_ctx *ctx = q->drv_priv;
static void mtk_mdp_prepare_addr(struct mtk_mdp_ctx *ctx,
static void mtk_mdp_m2m_get_bufs(struct mtk_mdp_ctx *ctx)
struct mtk_mdp_ctx *ctx;
struct mtk_mdp_ctx *ctx =
container_of(work, struct mtk_mdp_ctx, work);
struct mtk_mdp_ctx *ctx = priv;
struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vq);
struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct mtk_mdp_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = file_to_ctx(file);
struct mtk_mdp_ctx *ctx = priv;
struct mtk_mdp_ctx *ctx = ctrl_to_ctx(ctrl);
static int mtk_mdp_ctrls_create(struct mtk_mdp_ctx *ctx)
void mtk_mdp_ctx_state_lock_set(struct mtk_mdp_ctx *ctx, u32 state);
void mtk_mdp_hw_set_out_size(struct mtk_mdp_ctx *ctx)
void mtk_mdp_hw_set_out_image_format(struct mtk_mdp_ctx *ctx)
void mtk_mdp_hw_set_rotation(struct mtk_mdp_ctx *ctx)
void mtk_mdp_hw_set_global_alpha(struct mtk_mdp_ctx *ctx)
void mtk_mdp_hw_set_input_addr(struct mtk_mdp_ctx *ctx,
void mtk_mdp_hw_set_output_addr(struct mtk_mdp_ctx *ctx,
void mtk_mdp_hw_set_in_size(struct mtk_mdp_ctx *ctx)
void mtk_mdp_hw_set_in_image_format(struct mtk_mdp_ctx *ctx)
void mtk_mdp_hw_set_input_addr(struct mtk_mdp_ctx *ctx,
void mtk_mdp_hw_set_output_addr(struct mtk_mdp_ctx *ctx,
void mtk_mdp_hw_set_in_size(struct mtk_mdp_ctx *ctx);
void mtk_mdp_hw_set_in_image_format(struct mtk_mdp_ctx *ctx);
void mtk_mdp_hw_set_out_size(struct mtk_mdp_ctx *ctx);
void mtk_mdp_hw_set_out_image_format(struct mtk_mdp_ctx *ctx);
void mtk_mdp_hw_set_rotation(struct mtk_mdp_ctx *ctx);
void mtk_mdp_hw_set_global_alpha(struct mtk_mdp_ctx *ctx);
struct mtk_mdp_ctx *ctx = vpu_to_ctx(vpu);
static inline struct mtk_mdp_ctx *vpu_to_ctx(struct mtk_mdp_vpu *vpu)
return container_of(vpu, struct mtk_mdp_ctx, vpu);
struct mtk_mdp_ctx *ctx;
struct mtk_mdp_ctx *ctx = vpu_to_ctx(vpu);