mtk_jpeg_ctx
struct mtk_jpeg_ctx *ctx = priv;
struct mtk_jpeg_ctx *ctx = priv;
static void mtk_jpeg_set_default_params(struct mtk_jpeg_ctx *ctx)
struct mtk_jpeg_ctx *ctx;
static inline struct mtk_jpeg_ctx *ctrl_to_ctx(struct v4l2_ctrl *ctrl)
return container_of(ctrl->handler, struct mtk_jpeg_ctx, ctrl_hdl);
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
static inline struct mtk_jpeg_ctx *mtk_jpeg_file_to_ctx(struct file *filp)
struct mtk_jpeg_ctx *ctx;
return container_of(file_to_v4l2_fh(filp), struct mtk_jpeg_ctx, fh);
static int mtk_jpegenc_get_hw(struct mtk_jpeg_ctx *ctx)
struct mtk_jpeg_ctx *ctx = ctrl_to_ctx(ctrl);
static int mtk_jpegenc_set_hw_param(struct mtk_jpeg_ctx *ctx,
static int mtk_jpegdec_get_hw(struct mtk_jpeg_ctx *ctx)
static int mtk_jpegdec_set_hw_param(struct mtk_jpeg_ctx *ctx,
struct mtk_jpeg_ctx *ctx;
struct mtk_jpeg_ctx *ctx = container_of(work,
struct mtk_jpeg_ctx,
static int mtk_jpeg_enc_ctrls_setup(struct mtk_jpeg_ctx *ctx)
struct mtk_jpeg_ctx *ctx = container_of(work, struct mtk_jpeg_ctx,
struct mtk_jpeg_ctx *ctx;
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
static struct mtk_jpeg_q_data *mtk_jpeg_get_q_data(struct mtk_jpeg_ctx *ctx,
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
static int mtk_jpeg_s_fmt_mplane(struct mtk_jpeg_ctx *ctx,
static void mtk_jpeg_queue_src_chg_event(struct mtk_jpeg_ctx *ctx)
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
struct mtk_jpeg_ctx *ctx = mtk_jpeg_file_to_ctx(file);
struct mtk_jpeg_ctx *ctx = vb2_get_drv_priv(q);
struct mtk_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
static bool mtk_jpeg_check_resolution_change(struct mtk_jpeg_ctx *ctx,
static void mtk_jpeg_set_queue_data(struct mtk_jpeg_ctx *ctx,
struct mtk_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct mtk_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
static struct vb2_v4l2_buffer *mtk_jpeg_buf_remove(struct mtk_jpeg_ctx *ctx,
struct mtk_jpeg_ctx *ctx = vb2_get_drv_priv(q);
struct mtk_jpeg_ctx *ctx = vb2_get_drv_priv(q);
static void mtk_jpeg_set_dec_src(struct mtk_jpeg_ctx *ctx,
static int mtk_jpeg_set_dec_dst(struct mtk_jpeg_ctx *ctx,
struct mtk_jpeg_ctx *ctx = priv;
struct mtk_jpeg_ctx *ctx = priv;
struct mtk_jpeg_ctx *ctx = priv;
struct mtk_jpeg_ctx *ctx = priv;
struct mtk_jpeg_ctx *curr_ctx;
struct mtk_jpeg_ctx *curr_ctx;
struct mtk_jpeg_ctx *ctx;
struct mtk_jpeg_ctx *ctx;
void mtk_jpeg_set_enc_dst(struct mtk_jpeg_ctx *ctx, void __iomem *base,
void mtk_jpeg_set_enc_params(struct mtk_jpeg_ctx *ctx, void __iomem *base)
struct mtk_jpeg_ctx *ctx;
struct mtk_jpeg_ctx *ctx;
void mtk_jpeg_set_enc_src(struct mtk_jpeg_ctx *ctx, void __iomem *base,
void mtk_jpeg_set_enc_src(struct mtk_jpeg_ctx *ctx, void __iomem *base,
void mtk_jpeg_set_enc_dst(struct mtk_jpeg_ctx *ctx, void __iomem *base,
void mtk_jpeg_set_enc_params(struct mtk_jpeg_ctx *ctx, void __iomem *base);