1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 */ 6 7 #ifndef __IA_CSS_PIPE_UTIL_H__ 8 #define __IA_CSS_PIPE_UTIL_H__ 9 10 #include <ia_css_types.h> 11 #include <ia_css_frame_public.h> 12 13 /* @brief Get Input format bits per pixel based on stream configuration of this 14 * pipe. 15 * 16 * @param[in] pipe 17 * @return bits per pixel for the underlying stream 18 * 19 */ 20 unsigned int ia_css_pipe_util_pipe_input_format_bpp( 21 const struct ia_css_pipe *const pipe); 22 23 void ia_css_pipe_util_create_output_frames( 24 struct ia_css_frame *frames[]); 25 26 void ia_css_pipe_util_set_output_frames( 27 struct ia_css_frame *frames[], 28 unsigned int idx, 29 struct ia_css_frame *frame); 30 31 #endif /* __IA_CSS_PIPE_UTIL_H__ */ 32