Lines Matching defs: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()
538 static bool is_dynamic_bufmode(struct venus_inst *inst) in is_dynamic_bufmode()
557 int venus_helper_unregister_bufs(struct venus_inst *inst) in venus_helper_unregister_bufs()
576 static int session_register_bufs(struct venus_inst *inst) in session_register_bufs()
619 static int platform_get_bufreq(struct venus_inst *inst, u32 buftype, in platform_get_bufreq()
667 int venus_helper_get_bufreq(struct venus_inst *inst, u32 type, in venus_helper_get_bufreq()
918 int venus_helper_get_profile_level(struct venus_inst *inst, u32 *profile, u32 *level) in venus_helper_get_profile_level()
934 int venus_helper_set_profile_level(struct venus_inst *inst, u32 profile, u32 level) in venus_helper_set_profile_level()
1123 int venus_helper_set_input_resolution(struct venus_inst *inst, in venus_helper_set_input_resolution()
1137 int venus_helper_set_output_resolution(struct venus_inst *inst, in venus_helper_set_output_resolution()
1152 static u32 venus_helper_get_work_mode(struct venus_inst *inst) in venus_helper_get_work_mode()
1174 int venus_helper_set_work_mode(struct venus_inst *inst) in venus_helper_set_work_mode()
1189 int venus_helper_set_format_constraints(struct venus_inst *inst) in venus_helper_set_format_constraints()
1217 int venus_helper_set_num_bufs(struct venus_inst *inst, unsigned int input_bufs, in venus_helper_set_num_bufs()
1250 int venus_helper_set_raw_format(struct venus_inst *inst, u32 hfi_format, in venus_helper_set_raw_format()
1263 int venus_helper_set_color_format(struct venus_inst *inst, u32 pixfmt) in venus_helper_set_color_format()
1282 int venus_helper_set_multistream(struct venus_inst *inst, bool out_en, in venus_helper_set_multistream()
1303 int venus_helper_set_dyn_bufmode(struct venus_inst *inst) in venus_helper_set_dyn_bufmode()
1325 int venus_helper_set_bufsize(struct venus_inst *inst, u32 bufsize, u32 buftype) in venus_helper_set_bufsize()
1337 unsigned int venus_helper_get_opb_size(struct venus_inst *inst) in venus_helper_get_opb_size()
1355 struct venus_inst *inst; in delayed_process_buf_func() local
1379 void venus_helper_release_buf_ref(struct venus_inst *inst, unsigned int idx) in venus_helper_release_buf_ref()
1401 static int is_buf_refed(struct venus_inst *inst, struct vb2_v4l2_buffer *vbuf) in is_buf_refed()
1415 venus_helper_find_buf(struct venus_inst *inst, unsigned int type, u32 idx) in venus_helper_find_buf()
1426 void venus_helper_change_dpb_owner(struct venus_inst *inst, in venus_helper_change_dpb_owner()
1446 struct venus_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in venus_helper_vb2_buf_init() local
1462 struct venus_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in venus_helper_vb2_buf_prepare() local
1487 static void cache_payload(struct venus_inst *inst, struct vb2_buffer *vb) in cache_payload()
1499 struct venus_inst *inst = vb2_get_drv_priv(vb->vb2_queue); in venus_helper_vb2_buf_queue() local
1529 void venus_helper_buffers_done(struct venus_inst *inst, unsigned int type, in venus_helper_buffers_done()
1546 struct venus_inst *inst = vb2_get_drv_priv(q); in venus_helper_vb2_stop_streaming() local
1589 void venus_helper_vb2_queue_error(struct venus_inst *inst) in venus_helper_vb2_queue_error()
1601 int venus_helper_process_initial_cap_bufs(struct venus_inst *inst) in venus_helper_process_initial_cap_bufs()
1619 int venus_helper_process_initial_out_bufs(struct venus_inst *inst) in venus_helper_process_initial_out_bufs()
1637 int venus_helper_vb2_start_streaming(struct venus_inst *inst) in venus_helper_vb2_start_streaming()
1673 struct venus_inst *inst = priv; in venus_helper_m2m_device_run() local
1698 struct venus_inst *inst = priv; in venus_helper_m2m_job_abort() local
1704 int venus_helper_session_init(struct venus_inst *inst) in venus_helper_session_init()
1729 void venus_helper_init_instance(struct venus_inst *inst) in venus_helper_init_instance()
1752 int venus_helper_get_out_fmts(struct venus_inst *inst, u32 v4l2_fmt, in venus_helper_get_out_fmts()
1816 bool venus_helper_check_format(struct venus_inst *inst, u32 v4l2_pixfmt) in venus_helper_check_format()
1840 int venus_helper_set_stride(struct venus_inst *inst, in venus_helper_set_stride()