Pratap Nirujogi | 6e75991 | 2018-01-17 17:51:17 +0530 | [diff] [blame] | 1 | /* Copyright (c) 2014-2016, 2018, The Linux Foundation. All rights reserved. |
| 2 | * |
| 3 | * This program is free software; you can redistribute it and/or modify |
| 4 | * it under the terms of the GNU General Public License version 2 and |
| 5 | * only version 2 as published by the Free Software Foundation. |
| 6 | * |
| 7 | * This program is distributed in the hope that it will be useful, |
| 8 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 9 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 10 | * GNU General Public License for more details. |
| 11 | */ |
| 12 | #ifndef __MSMB_ISP__ |
| 13 | #define __MSMB_ISP__ |
| 14 | |
| 15 | #include <uapi/media/msmb_isp.h> |
| 16 | |
| 17 | #ifdef CONFIG_COMPAT |
| 18 | struct msm_isp_event_data32 { |
| 19 | struct compat_timeval timestamp; |
| 20 | struct compat_timeval mono_timestamp; |
| 21 | uint32_t frame_id; |
| 22 | union { |
| 23 | struct msm_isp_stats_event stats; |
| 24 | struct msm_isp_buf_event buf_done; |
| 25 | struct msm_isp_fetch_eng_event fetch_done; |
| 26 | struct msm_isp_error_info error_info; |
| 27 | struct msm_isp_output_info output_info; |
| 28 | struct msm_isp_sof_info sof_info; |
| 29 | } u; |
| 30 | }; |
| 31 | #endif |
| 32 | |
| 33 | #endif |
| 34 | |