1 /* 2 * This file is part of RawTherapee. 3 * 4 * Copyright (c) 2017 Jean-Christophe Frisch <natureh.510@gmail.com> 5 * 6 * RawTherapee is free software: you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation, either version 3 of the License, or 9 * (at your option) any later version. 10 * 11 * RawTherapee is distributed in the hope that it will be useful, 12 * but WITHOUT ANY WARRANTY; without even the implied warranty of 13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 14 * GNU General Public License for more details. 15 * 16 * You should have received a copy of the GNU General Public License 17 * along with RawTherapee. If not, see <https://www.gnu.org/licenses/>. 18 */ 19 #pragma once 20 21 namespace rtengine 22 { 23 24 //NB: Update the associated strings in languages files when updating the following enum 25 // Look for "SAMPLEFORMAT_" 26 typedef enum IIO_Sample_Format { 27 IIOSF_UNKNOWN = 0, // Unknown or Unsupported file type; Has to remain 0 28 //IIOSF_SIGNED_INT , // Not yet supported 29 IIOSF_UNSIGNED_CHAR = 1 << 0, 30 IIOSF_UNSIGNED_SHORT = 1 << 1, 31 IIOSF_LOGLUV24 = 1 << 2, 32 IIOSF_LOGLUV32 = 1 << 3, 33 IIOSF_FLOAT16 = 1 << 4, 34 IIOSF_FLOAT24 = 1 << 5, 35 IIOSF_FLOAT32 = 1 << 6 36 } IIOSampleFormat; 37 38 typedef enum IIO_Sample_Arrangement { 39 IIOSA_UNKNOWN, // Unknown or Unsupported file type 40 IIOSA_CHUNKY, 41 IIOSA_PLANAR 42 } IIOSampleArrangement; 43 44 typedef enum SensorType { 45 ST_NONE, // use this value if the image is already demosaiced (i.e. not a raw file) 46 ST_BAYER, 47 ST_FUJI_XTRANS, 48 ST_FOVEON, 49 //ST_FUJI_EXR 50 } eSensorType; 51 52 } 53