Home
last modified time | relevance | path

Searched refs:cedrus_ctx (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/staging/media/sunxi/cedrus/
H A Dcedrus.h115 struct cedrus_ctx { struct
158 static inline struct cedrus_ctx *cedrus_file2ctx(struct file *file) in cedrus_file2ctx() argument
160 return container_of(file_to_v4l2_fh(file), struct cedrus_ctx, fh); in cedrus_file2ctx()
164 void (*irq_clear)(struct cedrus_ctx *ctx);
165 void (*irq_disable)(struct cedrus_ctx *ctx);
166 enum cedrus_irq_status (*irq_status)(struct cedrus_ctx *ctx);
167 int (*setup)(struct cedrus_ctx *ctx, struct cedrus_run *run);
168 int (*start)(struct cedrus_ctx *ctx);
169 void (*stop)(struct cedrus_ctx *ctx);
170 void (*trigger)(struct cedrus_ctx *ctx);
[all …]
H A Dcedrus_video.c86 static struct cedrus_format *cedrus_find_format(struct cedrus_ctx *ctx, in cedrus_find_format()
192 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_enum_fmt()
236 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_cap()
245 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_g_fmt_vid_out()
251 static int cedrus_try_fmt_vid_cap_p(struct cedrus_ctx *ctx, in cedrus_try_fmt_vid_cap_p()
279 static int cedrus_try_fmt_vid_out_p(struct cedrus_ctx *ctx, in cedrus_try_fmt_vid_out_p()
304 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_s_fmt_vid_cap()
321 void cedrus_reset_cap_format(struct cedrus_ctx *ctx) in cedrus_reset_cap_format()
327 static int cedrus_s_fmt_vid_out_p(struct cedrus_ctx *ctx, in cedrus_s_fmt_vid_out_p()
378 void cedrus_reset_out_format(struct cedrus_ctx *ctx) in cedrus_reset_out_format()
[all …]
H A Dcedrus_h264.c68 static void cedrus_fill_ref_pic(struct cedrus_ctx *ctx, in cedrus_fill_ref_pic()
86 static int cedrus_write_frame_list(struct cedrus_ctx *ctx, in cedrus_write_frame_list()
189 static void _cedrus_write_ref_list(struct cedrus_ctx *ctx, in _cedrus_write_ref_list()
234 static void cedrus_write_ref_list0(struct cedrus_ctx *ctx, in cedrus_write_ref_list0()
245 static void cedrus_write_ref_list1(struct cedrus_ctx *ctx, in cedrus_write_ref_list1()
256 static void cedrus_write_scaling_lists(struct cedrus_ctx *ctx, in cedrus_write_scaling_lists()
280 static void cedrus_write_pred_weight_table(struct cedrus_ctx *ctx, in cedrus_write_pred_weight_table()
341 static void cedrus_set_params(struct cedrus_ctx *ctx, in cedrus_set_params()
484 cedrus_h264_irq_status(struct cedrus_ctx *ctx) in cedrus_h264_irq_status()
499 static void cedrus_h264_irq_clear(struct cedrus_ctx *ctx) in cedrus_h264_irq_clear()
[all …]
H A Dcedrus_mpeg2.c16 static enum cedrus_irq_status cedrus_mpeg2_irq_status(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_status()
34 static void cedrus_mpeg2_irq_clear(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_clear()
41 static void cedrus_mpeg2_irq_disable(struct cedrus_ctx *ctx) in cedrus_mpeg2_irq_disable()
51 static int cedrus_mpeg2_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_mpeg2_setup()
180 static void cedrus_mpeg2_trigger(struct cedrus_ctx *ctx) in cedrus_mpeg2_trigger()
H A Dcedrus_video.h30 void cedrus_reset_cap_format(struct cedrus_ctx *ctx);
31 void cedrus_reset_out_format(struct cedrus_ctx *ctx);
H A Dcedrus.c47 struct cedrus_ctx *ctx = container_of(ctrl->handler, struct cedrus_ctx, hdl); in cedrus_try_ctrl()
248 void *cedrus_find_control_data(struct cedrus_ctx *ctx, u32 id) in cedrus_find_control_data()
259 u32 cedrus_get_num_of_controls(struct cedrus_ctx *ctx, u32 id) in cedrus_get_num_of_controls()
270 static int cedrus_init_ctrls(struct cedrus_dev *dev, struct cedrus_ctx *ctx) in cedrus_init_ctrls()
322 struct cedrus_ctx *ctx = NULL; in cedrus_request_validate()
356 struct cedrus_ctx *ctx = NULL; in cedrus_open()
403 struct cedrus_ctx *ctx = cedrus_file2ctx(file); in cedrus_release()
H A Dcedrus_h265.c57 static enum cedrus_irq_status cedrus_h265_irq_status(struct cedrus_ctx *ctx) in cedrus_h265_irq_status()
72 static void cedrus_h265_irq_clear(struct cedrus_ctx *ctx) in cedrus_h265_irq_clear()
79 static void cedrus_h265_irq_disable(struct cedrus_ctx *ctx) in cedrus_h265_irq_disable()
115 static void cedrus_h265_frame_info_write_single(struct cedrus_ctx *ctx, in cedrus_h265_frame_info_write_single()
148 static void cedrus_h265_frame_info_write_dpb(struct cedrus_ctx *ctx, in cedrus_h265_frame_info_write_dpb()
270 static void cedrus_h265_write_scaling_list(struct cedrus_ctx *ctx, in cedrus_h265_write_scaling_list()
358 static void cedrus_h265_write_tiles(struct cedrus_ctx *ctx, in cedrus_h265_write_tiles()
417 static int cedrus_h265_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_h265_setup()
834 static int cedrus_h265_start(struct cedrus_ctx *ctx) in cedrus_h265_start()
861 static void cedrus_h265_stop(struct cedrus_ctx *ctx) in cedrus_h265_stop()
[all …]
H A Dcedrus_vp8.c625 cedrus_vp8_irq_status(struct cedrus_ctx *ctx) in cedrus_vp8_irq_status()
640 static void cedrus_vp8_irq_clear(struct cedrus_ctx *ctx) in cedrus_vp8_irq_clear()
645 static void cedrus_vp8_irq_disable(struct cedrus_ctx *ctx) in cedrus_vp8_irq_disable()
654 static int cedrus_vp8_setup(struct cedrus_ctx *ctx, struct cedrus_run *run) in cedrus_vp8_setup()
834 static int cedrus_vp8_start(struct cedrus_ctx *ctx) in cedrus_vp8_start()
855 static void cedrus_vp8_stop(struct cedrus_ctx *ctx) in cedrus_vp8_stop()
866 static void cedrus_vp8_trigger(struct cedrus_ctx *ctx) in cedrus_vp8_trigger()
H A Dcedrus_hw.c34 int cedrus_engine_enable(struct cedrus_ctx *ctx) in cedrus_engine_enable()
134 struct cedrus_ctx *ctx; in cedrus_irq()
173 struct cedrus_ctx *ctx; in cedrus_watchdog()
H A Dcedrus_hw.h19 int cedrus_engine_enable(struct cedrus_ctx *ctx);
H A Dcedrus_dec.c27 struct cedrus_ctx *ctx = priv; in cedrus_device_run()