/* SPDX-License-Identifier: GPL-2.0 */ /* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 2010 - 2015, Intel Corporation. * * This program is free software; you can redistribute it and/or modify it * under the terms and conditions of the GNU General Public License, * version 2, as published by the Free Software Foundation. * * This program is distributed in the hope it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for * more details. */ #ifndef __IA_CSS_FRAME_COMM_H__ #define __IA_CSS_FRAME_COMM_H__ #include "type_support.h" #include "platform_support.h" #include "runtime/bufq/interface/ia_css_bufq_comm.h" #include <system_local.h> /* ia_css_ptr */ /* * These structs are derived from structs defined in ia_css_types.h * (just take out the "_sp" from the struct name to get the "original") * All the fields that are not needed by the SP are removed. */ struct ia_css_frame_sp_plane { … }; struct ia_css_frame_sp_binary_plane { … }; struct ia_css_frame_sp_yuv_planes { … }; struct ia_css_frame_sp_nv_planes { … }; struct ia_css_frame_sp_rgb_planes { … }; struct ia_css_frame_sp_plane6 { … }; struct ia_css_sp_resolution { … }; /* * Frame info struct. This describes the contents of an image frame buffer. */ struct ia_css_frame_sp_info { … }; struct ia_css_buffer_sp { … }; struct ia_css_frame_sp { … }; void ia_css_frame_info_to_frame_sp_info( struct ia_css_frame_sp_info *sp_info, const struct ia_css_frame_info *info); void ia_css_resolution_to_sp_resolution( struct ia_css_sp_resolution *sp_info, const struct ia_css_resolution *info); #endif /*__IA_CSS_FRAME_COMM_H__*/