Searched refs:s5p_mfc_ctx (Results 1 – 16 of 16) sorted by relevance
/drivers/media/platform/s5p-mfc/ |
D | s5p_mfc_opr.h | 274 int (*alloc_dec_temp_buffers)(struct s5p_mfc_ctx *ctx); 275 void (*release_dec_desc_buffer)(struct s5p_mfc_ctx *ctx); 276 int (*alloc_codec_buffers)(struct s5p_mfc_ctx *ctx); 277 void (*release_codec_buffers)(struct s5p_mfc_ctx *ctx); 278 int (*alloc_instance_buffer)(struct s5p_mfc_ctx *ctx); 279 void (*release_instance_buffer)(struct s5p_mfc_ctx *ctx); 282 void (*dec_calc_dpb_size)(struct s5p_mfc_ctx *ctx); 283 void (*enc_calc_src_size)(struct s5p_mfc_ctx *ctx); 284 int (*set_dec_stream_buffer)(struct s5p_mfc_ctx *ctx, 287 int (*set_dec_frame_buffer)(struct s5p_mfc_ctx *ctx); [all …]
|
D | s5p_mfc_common.h | 176 struct s5p_mfc_ctx; 327 struct s5p_mfc_ctx *ctx[MFC_NUM_CONTEXTS]; 479 int (*pre_seq_start) (struct s5p_mfc_ctx *ctx); 480 int (*post_seq_start) (struct s5p_mfc_ctx *ctx); 482 int (*pre_frame_start) (struct s5p_mfc_ctx *ctx); 483 int (*post_frame_start) (struct s5p_mfc_ctx *ctx); 565 struct s5p_mfc_ctx { struct 707 #define fh_to_ctx(__fh) container_of(__fh, struct s5p_mfc_ctx, fh) 709 container_of((__ctrl)->handler, struct s5p_mfc_ctx, ctrl_handler) 711 void clear_work_bit(struct s5p_mfc_ctx *ctx); [all …]
|
D | s5p_mfc_opr_v5.c | 37 static int s5p_mfc_alloc_dec_temp_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v5() 58 static void s5p_mfc_release_dec_desc_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v5() 64 static int s5p_mfc_alloc_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v5() 196 static void s5p_mfc_release_codec_buffers_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v5() 203 static int s5p_mfc_alloc_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v5() 245 static void s5p_mfc_release_instance_buffer_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v5() 263 static void s5p_mfc_write_info_v5(struct s5p_mfc_ctx *ctx, unsigned int data, in s5p_mfc_write_info_v5() 270 static unsigned int s5p_mfc_read_info_v5(struct s5p_mfc_ctx *ctx, in s5p_mfc_read_info_v5() 277 static void s5p_mfc_dec_calc_dpb_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v5() 319 static void s5p_mfc_enc_calc_src_size_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v5() [all …]
|
D | s5p_mfc_dec.c | 225 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 327 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 420 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 469 static int reqbufs_output(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_output() 518 static int reqbufs_capture(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx, in reqbufs_capture() 577 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 598 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() 626 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_qbuf() 645 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_dqbuf() 669 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_expbuf() [all …]
|
D | s5p_mfc_enc.h | 20 int s5p_mfc_enc_ctrls_setup(struct s5p_mfc_ctx *ctx); 21 void s5p_mfc_enc_ctrls_delete(struct s5p_mfc_ctx *ctx); 22 void s5p_mfc_enc_init(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_dec.h | 20 int s5p_mfc_dec_ctrls_setup(struct s5p_mfc_ctx *ctx); 21 void s5p_mfc_dec_ctrls_delete(struct s5p_mfc_ctx *ctx); 22 void s5p_mfc_dec_init(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_opr_v6.c | 49 static int s5p_mfc_alloc_dec_temp_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_dec_temp_buffers_v6() 57 static void s5p_mfc_release_dec_desc_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_dec_desc_buffer_v6() 63 static int s5p_mfc_alloc_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_codec_buffers_v6() 253 static void s5p_mfc_release_codec_buffers_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_codec_buffers_v6() 259 static int s5p_mfc_alloc_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_alloc_instance_buffer_v6() 309 static void s5p_mfc_release_instance_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_release_instance_buffer_v6() 357 static void s5p_mfc_dec_calc_dpb_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_dec_calc_dpb_size_v6() 383 static void s5p_mfc_enc_calc_src_size_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_enc_calc_src_size_v6() 402 static int s5p_mfc_set_dec_stream_buffer_v6(struct s5p_mfc_ctx *ctx, in s5p_mfc_set_dec_stream_buffer_v6() 424 static int s5p_mfc_set_dec_frame_buffer_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_set_dec_frame_buffer_v6() [all …]
|
D | s5p_mfc_enc.c | 719 static int s5p_mfc_ctx_ready(struct s5p_mfc_ctx *ctx) in s5p_mfc_ctx_ready() 739 static void cleanup_ref_queue(struct s5p_mfc_ctx *ctx) in cleanup_ref_queue() 758 static int enc_pre_seq_start(struct s5p_mfc_ctx *ctx) in enc_pre_seq_start() 776 static int enc_post_seq_start(struct s5p_mfc_ctx *ctx) in enc_post_seq_start() 815 static int enc_pre_frame_start(struct s5p_mfc_ctx *ctx) in enc_pre_frame_start() 843 static int enc_post_frame_start(struct s5p_mfc_ctx *ctx) in enc_post_frame_start() 994 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_g_fmt() 1079 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_s_fmt() 1132 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_reqbufs() 1195 struct s5p_mfc_ctx *ctx = fh_to_ctx(priv); in vidioc_querybuf() [all …]
|
D | s5p_mfc.c | 47 void clear_work_bit(struct s5p_mfc_ctx *ctx) in clear_work_bit() 57 void set_work_bit(struct s5p_mfc_ctx *ctx) in set_work_bit() 67 void clear_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in clear_work_bit_irqsave() 78 void set_work_bit_irqsave(struct s5p_mfc_ctx *ctx) in set_work_bit_irqsave() 89 static void wake_up_ctx(struct s5p_mfc_ctx *ctx, unsigned int reason, in wake_up_ctx() 131 struct s5p_mfc_ctx *ctx; in s5p_mfc_watchdog_worker() 188 static void s5p_mfc_handle_frame_all_extracted(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_all_extracted() 217 static void s5p_mfc_handle_frame_copy_time(struct s5p_mfc_ctx *ctx) in s5p_mfc_handle_frame_copy_time() 260 static void s5p_mfc_handle_frame_new(struct s5p_mfc_ctx *ctx, unsigned int err) in s5p_mfc_handle_frame_new() 313 static void s5p_mfc_handle_frame(struct s5p_mfc_ctx *ctx, in s5p_mfc_handle_frame() [all …]
|
D | s5p_mfc_intr.h | 20 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, 23 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_cmd.h | 30 int (*open_inst_cmd)(struct s5p_mfc_ctx *ctx); 31 int (*close_inst_cmd)(struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_ctrl.h | 31 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx); 32 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx);
|
D | s5p_mfc_intr.c | 54 int s5p_mfc_wait_for_done_ctx(struct s5p_mfc_ctx *ctx, in s5p_mfc_wait_for_done_ctx() 85 void s5p_mfc_clean_ctx_int_flags(struct s5p_mfc_ctx *ctx) in s5p_mfc_clean_ctx_int_flags()
|
D | s5p_mfc_cmd_v6.c | 67 static int s5p_mfc_open_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v6() 128 static int s5p_mfc_close_inst_cmd_v6(struct s5p_mfc_ctx *ctx) in s5p_mfc_close_inst_cmd_v6()
|
D | s5p_mfc_cmd_v5.c | 75 static int s5p_mfc_open_inst_cmd_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_open_inst_cmd_v5() 128 static int s5p_mfc_close_inst_cmd_v5(struct s5p_mfc_ctx *ctx) in s5p_mfc_close_inst_cmd_v5()
|
D | s5p_mfc_ctrl.c | 379 int s5p_mfc_open_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_open_mfc_inst() 421 void s5p_mfc_close_mfc_inst(struct s5p_mfc_dev *dev, struct s5p_mfc_ctx *ctx) in s5p_mfc_close_mfc_inst()
|