Home
last modified time | relevance | path

Searched refs:s5p_mfc_ctx (Results 1 – 16 of 16) sorted by relevance

/linux-6.3-rc2/drivers/media/platform/samsung/s5p-mfc/
A Ds5p_mfc_opr.h283 int (*alloc_dec_temp_buffers)(struct s5p_mfc_ctx *ctx);
284 void (*release_dec_desc_buffer)(struct s5p_mfc_ctx *ctx);
285 int (*alloc_codec_buffers)(struct s5p_mfc_ctx *ctx);
286 void (*release_codec_buffers)(struct s5p_mfc_ctx *ctx);
287 int (*alloc_instance_buffer)(struct s5p_mfc_ctx *ctx);
291 void (*dec_calc_dpb_size)(struct s5p_mfc_ctx *ctx);
292 void (*enc_calc_src_size)(struct s5p_mfc_ctx *ctx);
293 int (*set_enc_stream_buffer)(struct s5p_mfc_ctx *ctx,
295 void (*set_enc_frame_buffer)(struct s5p_mfc_ctx *ctx,
297 void (*get_enc_frame_buffer)(struct s5p_mfc_ctx *ctx,
[all …]
A Ds5p_mfc_common.h172 struct s5p_mfc_ctx;
330 struct s5p_mfc_ctx *ctx[MFC_NUM_CONTEXTS];
533 int (*pre_seq_start) (struct s5p_mfc_ctx *ctx);
534 int (*post_seq_start) (struct s5p_mfc_ctx *ctx);
536 int (*pre_frame_start) (struct s5p_mfc_ctx *ctx);
537 int (*post_frame_start) (struct s5p_mfc_ctx *ctx);
625 struct s5p_mfc_ctx { struct
764 void clear_work_bit(struct s5p_mfc_ctx *ctx);
765 void set_work_bit(struct s5p_mfc_ctx *ctx);
766 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx);
[all …]
A Ds5p_mfc_opr_v5.c34 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5()
61 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5()
355 static void s5p_mfc_set_shared_buffer(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_shared_buffer()
674 static int s5p_mfc_set_enc_params(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_enc_params()
1043 static int s5p_mfc_init_decode_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_init_decode_v5()
1108 static int s5p_mfc_init_encode_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_init_encode_v5()
1151 static void s5p_mfc_run_res_change(struct s5p_mfc_ctx *ctx) in s5p_mfc_run_res_change()
1194 static int s5p_mfc_run_enc_frame(struct s5p_mfc_ctx *ctx) in s5p_mfc_run_enc_frame()
1248 static void s5p_mfc_run_init_dec(struct s5p_mfc_ctx *ctx) in s5p_mfc_run_init_dec()
1266 static void s5p_mfc_run_init_enc(struct s5p_mfc_ctx *ctx) in s5p_mfc_run_init_enc()
[all …]
A Ds5p_mfc_dec.h16 int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx);
17 void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx);
18 void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx);
A Ds5p_mfc_enc.h16 int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx);
17 void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx);
18 void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);
A Ds5p_mfc_dec.c334 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
426 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
582 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
603 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
631 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
650 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
679 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
692 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
708 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
785 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_selection()
[all …]
A Ds5p_mfc_opr_v6.c46 static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v6()
60 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v6()
436 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6()
728 static int s5p_mfc_set_slice_mode(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_slice_mode()
749 static int s5p_mfc_set_enc_params(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_enc_params()
914 static int s5p_mfc_set_enc_params_h264(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_enc_params_h264()
1277 static int s5p_mfc_set_enc_params_h263(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_enc_params_h263()
1347 static int s5p_mfc_set_enc_params_vp8(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_enc_params_vp8()
1597 static int s5p_mfc_init_decode_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_init_decode_v6()
1702 static int s5p_mfc_init_encode_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_init_encode_v6()
[all …]
A Ds5p_mfc_intr.h17 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx,
20 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
A Ds5p_mfc_cmd.h26 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx);
27 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
A Ds5p_mfc_ctrl.h26 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
27 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
A Ds5p_mfc_enc.c1360 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt()
1436 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt()
1489 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs()
1568 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf()
1602 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf()
1626 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf()
1651 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf()
1664 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamon()
1677 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_streamoff()
2250 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_parm()
[all …]
A Ds5p_mfc.c49 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit()
59 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit()
69 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave()
80 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave()
169 struct s5p_mfc_ctx *ctx; in s5p_mfc_watchdog_worker()
371 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame()
648 struct s5p_mfc_ctx *ctx; in s5p_mfc_irq()
770 struct s5p_mfc_ctx *ctx = NULL; in s5p_mfc_open()
952 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_release()
1009 struct s5p_mfc_ctx *ctx = fh_to_ctx(file->private_data); in s5p_mfc_poll()
[all …]
A Ds5p_mfc_intr.c51 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, in s5p_mfc_wait_for_done_ctx()
82 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx) in s5p_mfc_clean_ctx_int_flags()
A Ds5p_mfc_cmd_v6.c67 static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v6()
137 static int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_close_inst_cmd_v6()
A Ds5p_mfc_cmd_v5.c71 static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v5()
124 static int s5p_mfc_close_inst_cmd_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_close_inst_cmd_v5()
A Ds5p_mfc_ctrl.c423 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_open_mfc_inst()
464 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_close_mfc_inst()

Completed in 42 milliseconds