- Exif of all frames are displayed in the Editor's Exif tab (without separator) - isHDR and isPixelShift is added to the data files stored in cache - In the Editor panel, the QuickInfo frame display the HDR and PixelShift information, as well as the number of frame and bit-depth for HDR image - the number of frame is provided by dcraw. If not set, it is provided by the Exif's main IFD count - the PixelShift information (for Pentax as of now) is provided by looking at the Exif informations - the HDR information is provided by the Exif information of the first frame for Pentax raw files, or by the bitspersample, sampleformat and compression tags for other files TODO: add icons to the thumbnails to tag HDR and PixelShift files.
55 lines
1.7 KiB
C++
55 lines
1.7 KiB
C++
/*
|
|
* This file is part of RawTherapee.
|
|
*
|
|
* Copyright (c) 20017 Jean-Christophe Frisch <natureh.510@gmail.com>
|
|
*
|
|
* RawTherapee is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* RawTherapee is distributed in the hope that 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.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with RawTherapee. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
#ifndef _IMAGEFORMAT_
|
|
#define _IMAGEFORMAT_
|
|
|
|
namespace rtengine
|
|
{
|
|
|
|
//NB: Update the associated strings in languages files when updating the following enum
|
|
// Look for "SAMPLEFORMAT_"
|
|
typedef enum IIO_Sample_Format {
|
|
IIOSF_UNKNOWN = 0, // Unknown or Unsupported file type; Has to remain 0
|
|
//IIOSF_SIGNED_INT , // Not yet supported
|
|
IIOSF_UNSIGNED_CHAR = 1 << 0,
|
|
IIOSF_UNSIGNED_SHORT = 1 << 1,
|
|
//IIOSF_HALF , // OpenEXR & NVidia's Half Float, not yet supported
|
|
IIOSF_LOGLUV24 = 1 << 2,
|
|
IIOSF_LOGLUV32 = 1 << 3,
|
|
IIOSF_FLOAT = 1 << 4
|
|
} IIOSampleFormat;
|
|
|
|
typedef enum IIO_Sample_Arrangement {
|
|
IIOSA_UNKNOWN, // Unknown or Unsupported file type
|
|
IIOSA_CHUNKY,
|
|
IIOSA_PLANAR
|
|
} IIOSampleArrangement;
|
|
|
|
typedef enum SensorType {
|
|
ST_NONE, // use this value if the image is already demosaiced (i.e. not a raw file)
|
|
ST_BAYER,
|
|
ST_FUJI_XTRANS,
|
|
ST_FOVEON,
|
|
//ST_FUJI_EXR
|
|
} eSensorType;
|
|
|
|
}
|
|
|
|
#endif
|