cedrus_ctx
void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id)
u32 cedrus_get_num_of_controls(struct cedrus_ctx *ctx, u32 id)
static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx)
struct cedrus_ctx *ctx = NULL;
struct cedrus_ctx *ctx = NULL;
struct cedrus_ctx *ctx = cedrus_file2ctx(file);
struct cedrus_ctx *ctx = container_of(ctrl->handler, struct cedrus_ctx, hdl);
static inline struct cedrus_ctx *cedrus_file2ctx(struct file *file)
return container_of(file_to_v4l2_fh(file), struct cedrus_ctx, fh);
void (*irq_clear)(struct cedrus_ctx *ctx);
void (*irq_disable)(struct cedrus_ctx *ctx);
enum cedrus_irq_status (*irq_status)(struct cedrus_ctx *ctx);
int (*setup)(struct cedrus_ctx *ctx, struct cedrus_run *run);
int (*start)(struct cedrus_ctx *ctx);
void (*stop)(struct cedrus_ctx *ctx);
void (*trigger)(struct cedrus_ctx *ctx);
unsigned int (*extra_cap_size)(struct cedrus_ctx *ctx,
static inline dma_addr_t cedrus_dst_buf_addr(struct cedrus_ctx *ctx,
static inline void cedrus_write_ref_buf_addr(struct cedrus_ctx *ctx,
cedrus_is_capable(struct cedrus_ctx *ctx, unsigned int capabilities)
void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id);
u32 cedrus_get_num_of_controls(struct cedrus_ctx *ctx, u32 id);
struct cedrus_ctx *ctx = priv;
static void _cedrus_write_ref_list(struct cedrus_ctx *ctx,
static void cedrus_write_ref_list0(struct cedrus_ctx *ctx,
static void cedrus_write_ref_list1(struct cedrus_ctx *ctx,
static void cedrus_write_scaling_lists(struct cedrus_ctx *ctx,
static void cedrus_write_pred_weight_table(struct cedrus_ctx *ctx,
static void cedrus_set_params(struct cedrus_ctx *ctx,
cedrus_h264_irq_status(struct cedrus_ctx *ctx)
static void cedrus_h264_irq_clear(struct cedrus_ctx *ctx)
static void cedrus_h264_irq_disable(struct cedrus_ctx *ctx)
static int cedrus_h264_setup(struct cedrus_ctx *ctx, struct cedrus_run *run)
static int cedrus_h264_start(struct cedrus_ctx *ctx)
static void cedrus_h264_stop(struct cedrus_ctx *ctx)
static void cedrus_fill_ref_pic(struct cedrus_ctx *ctx,
static void cedrus_h264_trigger(struct cedrus_ctx *ctx)
static int cedrus_write_frame_list(struct cedrus_ctx *ctx,
static void cedrus_h265_frame_info_write_single(struct cedrus_ctx *ctx,
static void cedrus_h265_frame_info_write_dpb(struct cedrus_ctx *ctx,
static void cedrus_h265_write_scaling_list(struct cedrus_ctx *ctx,
static void cedrus_h265_write_tiles(struct cedrus_ctx *ctx,
static int cedrus_h265_setup(struct cedrus_ctx *ctx, struct cedrus_run *run)
static enum cedrus_irq_status cedrus_h265_irq_status(struct cedrus_ctx *ctx)
static void cedrus_h265_irq_clear(struct cedrus_ctx *ctx)
static void cedrus_h265_irq_disable(struct cedrus_ctx *ctx)
static int cedrus_h265_start(struct cedrus_ctx *ctx)
static void cedrus_h265_stop(struct cedrus_ctx *ctx)
static void cedrus_h265_trigger(struct cedrus_ctx *ctx)
static unsigned int cedrus_h265_extra_cap_size(struct cedrus_ctx *ctx,
struct cedrus_ctx *ctx;
struct cedrus_ctx *ctx;
int cedrus_engine_enable(struct cedrus_ctx *ctx)
int cedrus_engine_enable(struct cedrus_ctx *ctx);
static enum cedrus_irq_status cedrus_mpeg2_irq_status(struct cedrus_ctx *ctx)
static void cedrus_mpeg2_trigger(struct cedrus_ctx *ctx)
static void cedrus_mpeg2_irq_clear(struct cedrus_ctx *ctx)
static void cedrus_mpeg2_irq_disable(struct cedrus_ctx *ctx)
static int cedrus_mpeg2_setup(struct cedrus_ctx *ctx, struct cedrus_run *run)
struct cedrus_ctx *ctx = cedrus_file2ctx(file);
struct cedrus_ctx *ctx = cedrus_file2ctx(file);
struct cedrus_ctx *ctx = cedrus_file2ctx(file);
static int cedrus_try_fmt_vid_cap_p(struct cedrus_ctx *ctx,
static int cedrus_try_fmt_vid_out_p(struct cedrus_ctx *ctx,
struct cedrus_ctx *ctx = cedrus_file2ctx(file);
void cedrus_reset_cap_format(struct cedrus_ctx *ctx)
static int cedrus_s_fmt_vid_out_p(struct cedrus_ctx *ctx,
void cedrus_reset_out_format(struct cedrus_ctx *ctx)
struct cedrus_ctx *ctx = cedrus_file2ctx(file);
struct cedrus_ctx *ctx = vb2_get_drv_priv(vq);
struct cedrus_ctx *ctx = vb2_get_drv_priv(vq);
struct cedrus_ctx *ctx = vb2_get_drv_priv(vq);
struct cedrus_ctx *ctx = vb2_get_drv_priv(vq);
struct cedrus_ctx *ctx = vb2_get_drv_priv(vq);
struct cedrus_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct cedrus_ctx *ctx = vb2_get_drv_priv(vb->vb2_queue);
struct cedrus_ctx *ctx = priv;
static struct cedrus_format *cedrus_find_format(struct cedrus_ctx *ctx,
void cedrus_reset_cap_format(struct cedrus_ctx *ctx);
void cedrus_reset_out_format(struct cedrus_ctx *ctx);
cedrus_vp8_irq_status(struct cedrus_ctx *ctx)
static void cedrus_vp8_irq_clear(struct cedrus_ctx *ctx)
static void cedrus_vp8_irq_disable(struct cedrus_ctx *ctx)
static int cedrus_vp8_setup(struct cedrus_ctx *ctx, struct cedrus_run *run)
static int cedrus_vp8_start(struct cedrus_ctx *ctx)
static void cedrus_vp8_stop(struct cedrus_ctx *ctx)
static void cedrus_vp8_trigger(struct cedrus_ctx *ctx)