1 /* SPDX-License-Identifier: GPL-2.0 */ 2 /* 3 * Support for Intel Camera Imaging ISP subsystem. 4 * Copyright (c) 2015, Intel Corporation. 5 * 6 * This program is free software; you can redistribute it and/or modify it 7 * under the terms and conditions of the GNU General Public License, 8 * version 2, as published by the Free Software Foundation. 9 * 10 * This program is distributed in the hope it will be useful, but WITHOUT 11 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 12 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for 13 * more details. 14 */ 15 16 #ifndef __PIXELGEN_H_INCLUDED__ 17 #define __PIXELGEN_H_INCLUDED__ 18 19 /* 20 * This file is included on every cell {SP,ISP,host} and on every system 21 * that uses the input system device(s). It defines the API to DLI bridge 22 * 23 * System and cell specific interfaces and inline code are included 24 * conditionally through Makefile path settings. 25 * 26 * - system and cell agnostic interfaces, constants and identifiers 27 * - public: system agnostic, cell specific interfaces 28 * - private: system dependent, cell specific interfaces & 29 * inline implementations 30 * - global: system specific constants and identifiers 31 * - local: system and cell specific constants and identifiers 32 */ 33 34 #include "system_local.h" 35 #include "pixelgen_local.h" 36 37 #ifndef __INLINE_PIXELGEN__ 38 #define STORAGE_CLASS_PIXELGEN_H extern 39 #define STORAGE_CLASS_PIXELGEN_C 40 #include "pixelgen_public.h" 41 #else /* __INLINE_PIXELGEN__ */ 42 #define STORAGE_CLASS_PIXELGEN_H static inline 43 #define STORAGE_CLASS_PIXELGEN_C static inline 44 #include "pixelgen_private.h" 45 #endif /* __INLINE_PIXELGEN__ */ 46 47 #endif /* __PIXELGEN_H_INCLUDED__ */ 48