android_kernel_xiaomi_sm7250/include/media/msmb_isp.h
Gurram Pravalika fd609b9598 msm: camera: Adding camera specific header files
1.Included header files in gen_headers_arm.bp
  To fix the compilation.

Change-Id: Ie70ce68ed84f52b6eb2d854bd7ec7086d314b35b
Signed-off-by: Gurram Pravalika <gpravali@codeaurora.org>
2020-07-24 10:44:25 -07:00

56 lines
1.6 KiB
C

/* SPDX-License-Identifier: GPL-2.0-only */
/* Copyright (c) 2014-2016, 2018, 2020, The Linux Foundation. All rights
* reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that 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 __MSMB_ISP__
#define __MSMB_ISP__
#include <uapi/media/msmb_isp.h>
#ifdef CONFIG_COMPAT
struct msm_isp_event_data32 {
struct compat_timeval timestamp;
struct compat_timeval mono_timestamp;
uint32_t frame_id;
union {
struct msm_isp_stats_event stats;
struct msm_isp_buf_event buf_done;
struct msm_isp_fetch_eng_event fetch_done;
struct msm_isp_error_info error_info;
struct msm_isp_output_info output_info;
struct msm_isp_sof_info sof_info;
} u;
};
struct msm_isp32_event_data32 {
struct compat_timeval timestamp;
struct compat_timeval mono_timestamp;
enum msm_vfe_input_src input_intf;
uint32_t frame_id;
union {
struct msm_isp_stats_event stats;
struct msm_isp_buf_event buf_done;
struct msm_isp32_error_info error_info;
} u;
};
#endif
#ifdef CONFIG_MSM_AVTIMER
struct avtimer_fptr_t {
int (*fptr_avtimer_open)(void);
int (*fptr_avtimer_enable)(int enable);
int (*fptr_avtimer_get_time)(uint64_t *avtimer_tick);
};
void msm_isp_set_avtimer_fptr(struct avtimer_fptr_t avtimer_func);
#endif
#endif