mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-02 12:10:23 -04:00
media: atomisp: get rid of trivial version checks at *.h
Most of the remaining ifdefs check for ISP2401 are trivial. Get rid of them. Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
@@ -125,9 +125,9 @@ struct input_system_cfg_s {
|
||||
input_system_input_port_ID_t input_port_id;
|
||||
|
||||
input_system_source_type_t mode;
|
||||
#ifdef ISP2401
|
||||
|
||||
/* ISP2401 */
|
||||
input_system_polling_mode_t polling_mode;
|
||||
#endif
|
||||
|
||||
bool online;
|
||||
bool raw_packed;
|
||||
@@ -180,10 +180,10 @@ struct virtual_input_system_stream_s {
|
||||
u8 online;
|
||||
s8 linked_isys_stream_id;
|
||||
u8 valid;
|
||||
#ifdef ISP2401
|
||||
|
||||
/* ISP2401 */
|
||||
input_system_polling_mode_t polling_mode;
|
||||
s32 subscr_index;
|
||||
#endif
|
||||
};
|
||||
|
||||
typedef struct virtual_input_system_stream_cfg_s
|
||||
|
||||
@@ -182,20 +182,12 @@ ia_css_binary_find(struct ia_css_binary_descr *descr,
|
||||
* @param[in] type: The shading correction type.
|
||||
* @param[in] required_bds_factor: The bayer downscaling factor required in the pipe.
|
||||
* @param[in] stream_config: The stream configuration.
|
||||
#ifndef ISP2401
|
||||
* @param[out] info: The shading information.
|
||||
#else
|
||||
* @param[out] shading_info: The shading information.
|
||||
* The shading information necessary as API is stored in the shading_info.
|
||||
#endif
|
||||
* The driver needs to get this information to generate
|
||||
#ifndef ISP2401
|
||||
* the shading table directly required in the isp.
|
||||
#else
|
||||
* the shading table directly required from ISP.
|
||||
* @param[out] pipe_config: The pipe configuration.
|
||||
* The shading information related to ISP (but, not necessary as API) is stored in the pipe_config.
|
||||
#endif
|
||||
* @return IA_CSS_SUCCESS or error code upon error.
|
||||
*
|
||||
*/
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_BUFQ_H
|
||||
#define _IA_CSS_BUFQ_H
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_BUFQ_COMM_H
|
||||
#define _IA_CSS_BUFQ_COMM_H
|
||||
|
||||
@@ -26,11 +26,8 @@
|
||||
#include "ia_css_stream_public.h"
|
||||
#include "ia_css_metadata.h"
|
||||
#include "sh_css_internal.h"
|
||||
#ifdef ISP2401
|
||||
#if defined(IS_ISP_2500_SYSTEM)
|
||||
/* ISP2500 */
|
||||
#include "ia_css_pipe.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* available levels */
|
||||
/*! Level for tracing errors */
|
||||
@@ -177,7 +174,7 @@ void ia_css_debug_dump_isp_state(void);
|
||||
*/
|
||||
void ia_css_debug_dump_sp_state(void);
|
||||
|
||||
#ifdef ISP2401
|
||||
/* ISP2401 */
|
||||
/*! @brief Dump GAC hardware state.
|
||||
* Dumps the GAC ACB hardware registers. may be useful for
|
||||
* detecting a GAC which got hang.
|
||||
@@ -185,7 +182,6 @@ void ia_css_debug_dump_sp_state(void);
|
||||
*/
|
||||
void ia_css_debug_dump_gac_state(void);
|
||||
|
||||
#endif
|
||||
/*! @brief Dump dma controller state.
|
||||
* Dumps the dma controller state to tracing output.
|
||||
* @return None
|
||||
@@ -472,7 +468,7 @@ bool ia_css_debug_mode_enable_dma_channel(
|
||||
*/
|
||||
void ia_css_debug_dump_trace(void);
|
||||
|
||||
#ifdef ISP2401
|
||||
/* ISP2401 */
|
||||
/**
|
||||
* @brief Program counter dumping (in loop)
|
||||
*
|
||||
@@ -484,7 +480,7 @@ void ia_css_debug_dump_trace(void);
|
||||
*/
|
||||
void ia_css_debug_pc_dump(sp_ID_t id, unsigned int num_of_dumps);
|
||||
|
||||
#if defined(IS_ISP_2500_SYSTEM)
|
||||
/* ISP2500 */
|
||||
/*! @brief Dump all states for ISP hang case.
|
||||
* Dumps the ISP previous and current configurations
|
||||
* GACs status, SP0/1 statuses.
|
||||
@@ -503,7 +499,4 @@ void ia_css_debug_dump_hang_status(
|
||||
*/
|
||||
void ia_css_debug_ext_command_handler(void);
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#endif /* _IA_CSS_DEBUG_H_ */
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,20 +11,5 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
/* TO DO: Move debug related code from ia_css_internal.h in */
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_DEBUG_PIPE_H_
|
||||
#define _IA_CSS_DEBUG_PIPE_H_
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_EVENT_H
|
||||
#define _IA_CSS_EVENT_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_EVENTQ_H
|
||||
#define _IA_CSS_EVENTQ_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,28 +11,13 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_FRAME_H__
|
||||
#define __IA_CSS_FRAME_H__
|
||||
|
||||
#ifdef ISP2401
|
||||
/* ISP2401 */
|
||||
#include <ia_css_types.h>
|
||||
#endif
|
||||
|
||||
#include <ia_css_frame_format.h>
|
||||
#include <ia_css_frame_public.h>
|
||||
#include "dma.h"
|
||||
@@ -157,7 +141,7 @@ void ia_css_dma_configure_from_info(
|
||||
struct dma_port_config *config,
|
||||
const struct ia_css_frame_info *info);
|
||||
|
||||
#ifdef ISP2401
|
||||
/* ISP2401 */
|
||||
/* @brief Finds the cropping resolution
|
||||
* This function finds the maximum cropping resolution in an input image keeping
|
||||
* the aspect ratio for the given output resolution.Calculates the coordinates
|
||||
@@ -176,5 +160,4 @@ ia_css_frame_find_crop_resolution(const struct ia_css_resolution *in_res,
|
||||
const struct ia_css_resolution *out_res,
|
||||
struct ia_css_resolution *crop_res);
|
||||
|
||||
#endif
|
||||
#endif /* __IA_CSS_FRAME_H__ */
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_FRAME_COMM_H__
|
||||
#define __IA_CSS_FRAME_COMM_H__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_IFMTR_H__
|
||||
#define __IA_CSS_IFMTR_H__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_INPUTFIFO_H
|
||||
#define _IA_CSS_INPUTFIFO_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_ISP_PARAM_H_
|
||||
#define _IA_CSS_ISP_PARAM_H_
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_ISYS_H__
|
||||
#define __IA_CSS_ISYS_H__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_ISYS_COMM_H
|
||||
#define __IA_CSS_ISYS_COMM_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __CSI_RX_RMGR_H_INCLUDED__
|
||||
#define __CSI_RX_RMGR_H_INCLUDED__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IBUF_CTRL_RMGR_H_INCLUDED__
|
||||
#define __IBUF_CTRL_RMGR_H_INCLUDED__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __ISYS_DMA_RMGR_H_INCLUDED__
|
||||
#define __ISYS_DMA_RMGR_H_INCLUDED__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __ISYS_STREAM2MMIO_RMGR_H_INCLUDED__
|
||||
#define __ISYS_STREAM2MMIO_RMGR_H_INCLUDED__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __VIRTUAL_ISYS_H_INCLUDED__
|
||||
#define __VIRTUAL_ISYS_H_INCLUDED__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_PIPELINE_H__
|
||||
#define __IA_CSS_PIPELINE_H__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_PIPELINE_COMMON_H__
|
||||
#define __IA_CSS_PIPELINE_COMMON_H__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_QUEUE_H
|
||||
#define __IA_CSS_QUEUE_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_QUEUE_COMM_H
|
||||
#define __IA_CSS_QUEUE_COMM_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __QUEUE_ACCESS_H
|
||||
#define __QUEUE_ACCESS_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_RMGR_H
|
||||
#define _IA_CSS_RMGR_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef _IA_CSS_RMGR_VBUF_H
|
||||
#define _IA_CSS_RMGR_VBUF_H
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_SPCTRL_H__
|
||||
#define __IA_CSS_SPCTRL_H__
|
||||
@@ -57,11 +41,10 @@ hrt_vaddress get_sp_code_addr(sp_ID_t sp_id);
|
||||
enum ia_css_err ia_css_spctrl_load_fw(sp_ID_t sp_id,
|
||||
ia_css_spctrl_cfg *spctrl_cfg);
|
||||
|
||||
#ifdef ISP2401
|
||||
/* ISP2401 */
|
||||
/*! Setup registers for reloading FW */
|
||||
void sh_css_spctrl_reload_fw(sp_ID_t sp_id);
|
||||
|
||||
#endif
|
||||
/*! Unload/release any memory allocated to hold the firmware
|
||||
*/
|
||||
enum ia_css_err ia_css_spctrl_unload_fw(sp_ID_t sp_id);
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_SPCTRL_COMM_H__
|
||||
#define __IA_CSS_SPCTRL_COMM_H__
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
#ifndef ISP2401
|
||||
/*
|
||||
* Support for Intel Camera Imaging ISP subsystem.
|
||||
* Copyright (c) 2015, Intel Corporation.
|
||||
* 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,
|
||||
@@ -12,21 +11,6 @@
|
||||
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
|
||||
* more details.
|
||||
*/
|
||||
#else
|
||||
/**
|
||||
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.
|
||||
*/
|
||||
#endif
|
||||
|
||||
#ifndef __IA_CSS_TAGGER_COMMON_H__
|
||||
#define __IA_CSS_TAGGER_COMMON_H__
|
||||
|
||||
Reference in New Issue
Block a user