Lines Matching refs:vpu_inst
146 static int vdec_ctrl_init(struct vpu_inst *inst) in vdec_ctrl_init()
181 static void vdec_handle_resolution_change(struct vpu_inst *inst) in vdec_handle_resolution_change()
202 static int vdec_update_state(struct vpu_inst *inst, enum vpu_codec_state state, u32 force) in vdec_update_state()
227 static void vdec_set_last_buffer_dequeued(struct vpu_inst *inst) in vdec_set_last_buffer_dequeued()
253 struct vpu_inst *inst = to_inst(file); in vdec_enum_fmt()
283 struct vpu_inst *inst = to_inst(file); in vdec_g_fmt()
312 struct vpu_inst *inst = to_inst(file); in vdec_try_fmt()
334 static int vdec_s_fmt_common(struct vpu_inst *inst, struct v4l2_format *f) in vdec_s_fmt_common()
415 struct vpu_inst *inst = to_inst(file); in vdec_s_fmt()
448 struct vpu_inst *inst = to_inst(file); in vdec_g_selection()
472 static int vdec_drain(struct vpu_inst *inst) in vdec_drain()
499 static int vdec_cmd_start(struct vpu_inst *inst) in vdec_cmd_start()
518 static int vdec_cmd_stop(struct vpu_inst *inst) in vdec_cmd_stop()
536 struct vpu_inst *inst = to_inst(file); in vdec_decoder_cmd()
601 static bool vdec_check_ready(struct vpu_inst *inst, unsigned int type) in vdec_check_ready()
614 static struct vb2_v4l2_buffer *vdec_get_src_buffer(struct vpu_inst *inst, u32 count) in vdec_get_src_buffer()
622 static int vdec_frame_decoded(struct vpu_inst *inst, void *arg) in vdec_frame_decoded()
663 static struct vpu_vb2_buffer *vdec_find_buffer(struct vpu_inst *inst, u32 luma) in vdec_find_buffer()
678 static void vdec_buf_done(struct vpu_inst *inst, struct vpu_frame_info *frame) in vdec_buf_done()
724 static void vdec_stop_done(struct vpu_inst *inst) in vdec_stop_done()
747 static bool vdec_check_source_change(struct vpu_inst *inst) in vdec_check_source_change()
787 static void vdec_init_fmt(struct vpu_inst *inst) in vdec_init_fmt()
813 static void vdec_init_crop(struct vpu_inst *inst) in vdec_init_crop()
823 static void vdec_init_mbi(struct vpu_inst *inst) in vdec_init_mbi()
834 static void vdec_init_dcp(struct vpu_inst *inst) in vdec_init_dcp()
852 static int vdec_alloc_fs_buffer(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_alloc_fs_buffer()
871 static void vdec_alloc_fs(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_alloc_fs()
895 static int vdec_response_fs(struct vpu_inst *inst, struct vdec_fs_info *fs) in vdec_response_fs()
917 static int vdec_response_frame_abnormal(struct vpu_inst *inst) in vdec_response_frame_abnormal()
934 static int vdec_response_frame(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) in vdec_response_frame()
987 static void vdec_response_fs_request(struct vpu_inst *inst, bool force) in vdec_response_fs_request()
1021 static void vdec_response_fs_release(struct vpu_inst *inst, u32 id, u32 tag) in vdec_response_fs_release()
1031 static void vdec_recycle_buffer(struct vpu_inst *inst, struct vb2_v4l2_buffer *vbuf) in vdec_recycle_buffer()
1042 static void vdec_clear_slots(struct vpu_inst *inst) in vdec_clear_slots()
1064 static void vdec_event_seq_hdr(struct vpu_inst *inst, struct vpu_dec_codec_info *hdr) in vdec_event_seq_hdr()
1105 static void vdec_event_resolution_change(struct vpu_inst *inst) in vdec_event_resolution_change()
1126 static void vdec_event_req_fs(struct vpu_inst *inst, struct vpu_fs_info *fs) in vdec_event_req_fs()
1157 static void vdec_evnet_rel_fs(struct vpu_inst *inst, struct vpu_fs_info *fs) in vdec_evnet_rel_fs()
1199 static void vdec_event_eos(struct vpu_inst *inst) in vdec_event_eos()
1217 static void vdec_event_notify(struct vpu_inst *inst, u32 event, void *data) in vdec_event_notify()
1240 static int vdec_process_output(struct vpu_inst *inst, struct vb2_buffer *vb) in vdec_process_output()
1282 static int vdec_process_capture(struct vpu_inst *inst, struct vb2_buffer *vb) in vdec_process_capture()
1300 static void vdec_on_queue_empty(struct vpu_inst *inst, u32 type) in vdec_on_queue_empty()
1312 static void vdec_abort(struct vpu_inst *inst) in vdec_abort()
1347 static void vdec_stop(struct vpu_inst *inst, bool free) in vdec_stop()
1364 static void vdec_release(struct vpu_inst *inst) in vdec_release()
1373 static void vdec_cleanup(struct vpu_inst *inst) in vdec_cleanup()
1392 static int vdec_start(struct vpu_inst *inst) in vdec_start()
1451 static int vdec_start_session(struct vpu_inst *inst, u32 type) in vdec_start_session()
1480 static int vdec_stop_session(struct vpu_inst *inst, u32 type) in vdec_stop_session()
1501 static int vdec_get_debug_info(struct vpu_inst *inst, char *str, u32 size, u32 i) in vdec_get_debug_info()
1586 struct vpu_inst *inst = to_inst(file); in vdec_init()
1608 struct vpu_inst *inst; in vdec_open()