1 /* SPDX-License-Identifier: GPL-2.0-only */ 2 /* 3 * Copyright (c) 2022-2025 Qualcomm Innovation Center, Inc. All rights reserved. 4 */ 5 6 #ifndef __IRIS_COMMON_H__ 7 #define __IRIS_COMMON_H__ 8 9 struct iris_inst; 10 struct iris_buffer; 11 12 int iris_vb2_buffer_to_driver(struct vb2_buffer *vb2, struct iris_buffer *buf); 13 void iris_set_ts_metadata(struct iris_inst *inst, struct vb2_v4l2_buffer *vbuf); 14 int iris_process_streamon_input(struct iris_inst *inst); 15 int iris_process_streamon_output(struct iris_inst *inst); 16 int iris_session_streamoff(struct iris_inst *inst, u32 plane); 17 18 #endif 19