1 /* 2 * 3 * SPDX-License-Identifier: GPL-2.0 4 * 5 * Copyright (C) 2011-2018 ARM or its affiliates 6 * 7 * This program is free software; you can redistribute it and/or modify 8 * it under the terms of the GNU General Public License as published by 9 * the Free Software Foundation; version 2. 10 * This program is distributed in the hope that it will be useful, but 11 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 12 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 13 * for more details. 14 * You should have received a copy of the GNU General Public License along 15 * with this program; if not, write to the Free Software Foundation, Inc., 16 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 17 * 18 */ 19 20 #ifndef __ACAMERA_H__ 21 #define __ACAMERA_H__ 22 23 24 #include "acamera_types.h" 25 #include "acamera_firmware_config.h" 26 #include "acamera_firmware_api.h" 27 #include "acamera_logger.h" 28 #include "system_interrupts.h" 29 #include "system_semaphore.h" 30 #include "acamera_math.h" 31 32 33 typedef void ( *buffer_callback_t )( void *ctx_param, tframe_t *tframe, const metadata_t *metadata ); 34 35 int32_t acamera_get_context_number( void ); 36 37 void acamera_update_cur_settings_to_isp( int port ); 38 39 void acamera_reset_ping_pong_port(void); 40 41 #endif /* __ACAMERA_H__ */ 42