Lines Matching refs:venus_inst

41 bool venus_helper_check_codec(struct venus_inst *inst, u32 v4l2_pixfmt)  in venus_helper_check_codec()
93 static void free_dpb_buf(struct venus_inst *inst, struct intbuf *buf) in free_dpb_buf()
103 int venus_helper_queue_dpb_bufs(struct venus_inst *inst) in venus_helper_queue_dpb_bufs()
145 int venus_helper_free_dpb_bufs(struct venus_inst *inst) in venus_helper_free_dpb_bufs()
162 int venus_helper_alloc_dpb_bufs(struct venus_inst *inst) in venus_helper_alloc_dpb_bufs()
233 static int intbufs_set_buffer(struct venus_inst *inst, u32 type) in intbufs_set_buffer()
292 static int intbufs_unset_buffers(struct venus_inst *inst) in intbufs_unset_buffers()
340 int venus_helper_intbufs_alloc(struct venus_inst *inst) in venus_helper_intbufs_alloc()
371 int venus_helper_intbufs_free(struct venus_inst *inst) in venus_helper_intbufs_free()
377 int venus_helper_intbufs_realloc(struct venus_inst *inst) in venus_helper_intbufs_realloc()
434 static void return_buf_error(struct venus_inst *inst, in return_buf_error()
448 put_ts_metadata(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in put_ts_metadata()
476 void venus_helper_get_ts_metadata(struct venus_inst *inst, u64 timestamp_us, in venus_helper_get_ts_metadata()
499 session_process_buf(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in session_process_buf()
543 static bool is_dynamic_bufmode(struct venus_inst *inst) in is_dynamic_bufmode()
562 int venus_helper_unregister_bufs(struct venus_inst *inst) in venus_helper_unregister_bufs()
581 static int session_register_bufs(struct venus_inst *inst) in session_register_bufs()
622 static int platform_get_bufreq(struct venus_inst *inst, u32 buftype, in platform_get_bufreq()
666 int venus_helper_get_bufreq(struct venus_inst *inst, u32 type, in venus_helper_get_bufreq()
916 int venus_helper_get_profile_level(struct venus_inst *inst, u32 *profile, u32 *level) in venus_helper_get_profile_level()
932 int venus_helper_set_profile_level(struct venus_inst *inst, u32 profile, u32 level) in venus_helper_set_profile_level()
1121 int venus_helper_set_input_resolution(struct venus_inst *inst, in venus_helper_set_input_resolution()
1135 int venus_helper_set_output_resolution(struct venus_inst *inst, in venus_helper_set_output_resolution()
1150 static u32 venus_helper_get_work_mode(struct venus_inst *inst) in venus_helper_get_work_mode()
1172 int venus_helper_set_work_mode(struct venus_inst *inst) in venus_helper_set_work_mode()
1187 int venus_helper_set_format_constraints(struct venus_inst *inst) in venus_helper_set_format_constraints()
1215 int venus_helper_set_num_bufs(struct venus_inst *inst, unsigned int input_bufs, in venus_helper_set_num_bufs()
1248 int venus_helper_set_raw_format(struct venus_inst *inst, u32 hfi_format, in venus_helper_set_raw_format()
1261 int venus_helper_set_color_format(struct venus_inst *inst, u32 pixfmt) in venus_helper_set_color_format()
1280 int venus_helper_set_multistream(struct venus_inst *inst, bool out_en, in venus_helper_set_multistream()
1301 int venus_helper_set_dyn_bufmode(struct venus_inst *inst) in venus_helper_set_dyn_bufmode()
1323 int venus_helper_set_bufsize(struct venus_inst *inst, u32 bufsize, u32 buftype) in venus_helper_set_bufsize()
1335 unsigned int venus_helper_get_opb_size(struct venus_inst *inst) in venus_helper_get_opb_size()
1353 struct venus_inst *inst; in delayed_process_buf_func()
1356 inst = container_of(work, struct venus_inst, delayed_process_work); in delayed_process_buf_func()
1377 void venus_helper_release_buf_ref(struct venus_inst *inst, unsigned int idx) in venus_helper_release_buf_ref()
1399 static int is_buf_refed(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in is_buf_refed()
1413 venus_helper_find_buf(struct venus_inst *inst, unsigned int type, u32 idx) in venus_helper_find_buf()
1424 void venus_helper_change_dpb_owner(struct venus_inst *inst, in venus_helper_change_dpb_owner()
1444 struct venus_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in venus_helper_vb2_buf_init()
1460 struct venus_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in venus_helper_vb2_buf_prepare()
1485 static void cache_payload(struct venus_inst *inst, struct vb2_buffer *vb) in cache_payload()
1497 struct venus_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in venus_helper_vb2_buf_queue()
1527 void venus_helper_buffers_done(struct venus_inst *inst, unsigned int type, in venus_helper_buffers_done()
1544 struct venus_inst *inst = vb2_get_drv_priv(q); in venus_helper_vb2_stop_streaming()
1587 void venus_helper_vb2_queue_error(struct venus_inst *inst) in venus_helper_vb2_queue_error()
1599 int venus_helper_process_initial_cap_bufs(struct venus_inst *inst) in venus_helper_process_initial_cap_bufs()
1617 int venus_helper_process_initial_out_bufs(struct venus_inst *inst) in venus_helper_process_initial_out_bufs()
1635 int venus_helper_vb2_start_streaming(struct venus_inst *inst) in venus_helper_vb2_start_streaming()
1671 struct venus_inst *inst = priv; in venus_helper_m2m_device_run()
1696 struct venus_inst *inst = priv; in venus_helper_m2m_job_abort()
1702 int venus_helper_session_init(struct venus_inst *inst) in venus_helper_session_init()
1727 void venus_helper_init_instance(struct venus_inst *inst) in venus_helper_init_instance()
1750 int venus_helper_get_out_fmts(struct venus_inst *inst, u32 v4l2_fmt, in venus_helper_get_out_fmts()
1798 bool venus_helper_check_format(struct venus_inst *inst, u32 v4l2_pixfmt) in venus_helper_check_format()
1822 int venus_helper_set_stride(struct venus_inst *inst, in venus_helper_set_stride()