Lines Matching refs:vpu_inst
11 void vpu_inst_lock(struct vpu_inst *inst);
12 void vpu_inst_unlock(struct vpu_inst *inst);
16 int vpu_v4l2_open(struct file *file, struct vpu_inst *inst);
20 int vpu_try_fmt_common(struct vpu_inst *inst, struct v4l2_format *f, struct vpu_format *fmt);
21 int vpu_process_output_buffer(struct vpu_inst *inst);
22 int vpu_process_capture_buffer(struct vpu_inst *inst);
23 struct vb2_v4l2_buffer *vpu_next_src_buf(struct vpu_inst *inst);
24 void vpu_skip_frame(struct vpu_inst *inst, int count);
25 struct vb2_v4l2_buffer *vpu_find_buf_by_sequence(struct vpu_inst *inst, u32 type, u32 sequence);
26 struct vb2_v4l2_buffer *vpu_find_buf_by_idx(struct vpu_inst *inst, u32 type, u32 idx);
27 void vpu_v4l2_set_error(struct vpu_inst *inst);
28 int vpu_notify_eos(struct vpu_inst *inst);
29 int vpu_notify_source_change(struct vpu_inst *inst);
30 int vpu_set_last_buffer_dequeued(struct vpu_inst *inst, bool eos);
31 void vpu_vb2_buffers_return(struct vpu_inst *inst, unsigned int type, enum vb2_buffer_state state);
32 int vpu_get_num_buffers(struct vpu_inst *inst, u32 type);
33 bool vpu_is_source_empty(struct vpu_inst *inst);
37 static inline struct vpu_format *vpu_get_format(struct vpu_inst *inst, u32 type) in vpu_get_format()