/* * Support for Intel Camera Imaging ISP subsystem. * Copyright (c) 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. */ #ifndef __IA_CSS_GC_TYPES_H #define __IA_CSS_GC_TYPES_H /** @file * CSS-API header file for Gamma Correction parameters. */ #include "isp/kernels/ctc/ctc_1.0/ia_css_ctc_types.h" /* FIXME: Needed for ia_css_vamem_type */ /** Fractional bits for GAMMA gain */ #define IA_CSS_GAMMA_GAIN_K_SHIFT 13 /** Number of elements in the gamma table. */ #define IA_CSS_VAMEM_1_GAMMA_TABLE_SIZE_LOG2 10 #define IA_CSS_VAMEM_1_GAMMA_TABLE_SIZE (1U<