mxc_jpeg_ctx
struct mxc_jpeg_ctx *ctx,
struct mxc_jpeg_ctx *ctx,
static void mxc_jpeg_enc_start_config_manually(struct mxc_jpeg_ctx *ctx)
static void mxc_jpeg_enc_finish_config_manually(struct mxc_jpeg_ctx *ctx)
static void mxc_jpeg_enc_configure_desc(struct mxc_jpeg_ctx *ctx)
static void mxc_jpeg_set_last_buffer(struct mxc_jpeg_ctx *ctx)
static bool mxc_jpeg_source_change(struct mxc_jpeg_ctx *ctx,
struct mxc_jpeg_ctx *ctx = priv;
struct mxc_jpeg_ctx *ctx = container_of(dwork, struct mxc_jpeg_ctx, task_timer);
struct mxc_jpeg_ctx *ctx = priv;
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(q);
struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(q);
struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(q);
static int mxc_jpeg_parse(struct mxc_jpeg_ctx *ctx, struct vb2_buffer *vb)
struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct mxc_jpeg_ctx *ctx = priv;
static void mxc_jpeg_set_default_params(struct mxc_jpeg_ctx *ctx)
struct mxc_jpeg_ctx *ctx =
container_of(ctrl->handler, struct mxc_jpeg_ctx, ctrl_handler);
static void mxc_jpeg_encode_ctrls(struct mxc_jpeg_ctx *ctx)
static int mxc_jpeg_ctrls_setup(struct mxc_jpeg_ctx *ctx)
struct mxc_jpeg_ctx *ctx;
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
static u32 mxc_jpeg_get_fmt_type(struct mxc_jpeg_ctx *ctx, u32 type)
static u32 mxc_jpeg_get_default_fourcc(struct mxc_jpeg_ctx *ctx, u32 type)
static u32 mxc_jpeg_try_fourcc(struct mxc_jpeg_ctx *ctx, u32 fourcc)
struct mxc_jpeg_ctx *ctx, struct mxc_jpeg_q_data *q_data)
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
static void mxc_jpeg_s_parsed_fmt(struct mxc_jpeg_ctx *ctx, struct v4l2_format *f)
static int mxc_jpeg_s_fmt(struct mxc_jpeg_ctx *ctx,
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
struct mxc_jpeg_ctx *ctx = mxc_jpeg_file_to_ctx(file);
static inline struct mxc_jpeg_ctx *mxc_jpeg_file_to_ctx(struct file *filp)
return container_of(file_to_v4l2_fh(filp), struct mxc_jpeg_ctx, fh);
static struct mxc_jpeg_q_data *mxc_jpeg_get_q_data(struct mxc_jpeg_ctx *ctx,
struct mxc_jpeg_ctx *ctx = vb2_get_drv_priv(raw_buf->vb2_queue);
static void notify_eos(struct mxc_jpeg_ctx *ctx)
static void notify_src_chg(struct mxc_jpeg_ctx *ctx)
static void mxc_jpeg_check_and_set_last_buffer(struct mxc_jpeg_ctx *ctx,
static void mxc_jpeg_job_finish(struct mxc_jpeg_ctx *ctx, enum vb2_buffer_state state, bool reset)
static bool mxc_dec_is_ongoing(struct mxc_jpeg_ctx *ctx)
struct mxc_jpeg_ctx *ctx;
void (*enter_config_mode)(struct mxc_jpeg_ctx *ctx);
void (*exit_config_mode)(struct mxc_jpeg_ctx *ctx);
void (*setup_desc)(struct mxc_jpeg_ctx *ctx);