Home
last modified time | relevance | path

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

/linux/drivers/media/platform/samsung/s5p-mfc/
H 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);
288 void (*release_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,
[all …]
H 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()
55 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5()
61 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5()
193 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5()
200 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5()
242 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5()
260 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5()
267 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5()
274 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5()
316 static void s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v5()
[all …]
H A Ds5p_mfc_common.h173 struct s5p_mfc_ctx;
332 struct s5p_mfc_ctx *ctx[MFC_NUM_CONTEXTS];
535 int (*pre_seq_start) (struct s5p_mfc_ctx *ctx);
536 int (*post_seq_start) (struct s5p_mfc_ctx *ctx);
538 int (*pre_frame_start) (struct s5p_mfc_ctx *ctx);
539 int (*post_frame_start) (struct s5p_mfc_ctx *ctx);
630 struct s5p_mfc_ctx { struct
769 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh)
771 container_of((__ctrl)->handler, struct s5p_mfc_ctx, ctrl_handler)
773 void clear_work_bit(struct s5p_mfc_ctx *ctx);
[all …]
H A Ds5p_mfc_enc.h15 int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx);
16 void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx);
17 void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);
H A Ds5p_mfc_dec.h15 int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx);
16 void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx);
17 void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx);
H 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()
54 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v6()
60 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v6()
377 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6()
383 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6()
438 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6()
486 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6()
539 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6()
584 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6()
606 static int s5p_mfc_set_dec_frame_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_dec_frame_buffer_v6()
[all …]
H 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);
H A Ds5p_mfc_cmd.h26 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx);
27 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
H 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);
H 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()
H 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()
H 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()
H A Ds5p_mfc_ctrl.c429 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_open_mfc_inst()
470 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_close_mfc_inst()