exif.cpp File Reference
#include "exif.h"#include <QMatrix>
Include dependency graph for exif.cpp:

Go to the source code of this file.
Defines | |
| #define | M_SOF0 0xC0 |
| #define | M_SOF1 0xC1 |
| #define | M_SOF2 0xC2 |
| #define | M_SOF3 0xC3 |
| #define | M_SOF5 0xC5 |
| #define | M_SOF6 0xC6 |
| #define | M_SOF7 0xC7 |
| #define | M_SOF9 0xC9 |
| #define | M_SOF10 0xCA |
| #define | M_SOF11 0xCB |
| #define | M_SOF13 0xCD |
| #define | M_SOF14 0xCE |
| #define | M_SOF15 0xCF |
| #define | M_SOI 0xD8 |
| #define | M_EOI 0xD9 |
| #define | M_SOS 0xDA |
| #define | M_JFIF 0xE0 |
| #define | M_EXIF 0xE1 |
| #define | M_COM 0xFE |
| #define | NUM_FORMATS 12 |
| #define | FMT_BYTE 1 |
| #define | FMT_STRING 2 |
| #define | FMT_USHORT 3 |
| #define | FMT_ULONG 4 |
| #define | FMT_URATIONAL 5 |
| #define | FMT_SBYTE 6 |
| #define | FMT_UNDEFINED 7 |
| #define | FMT_SSHORT 8 |
| #define | FMT_SLONG 9 |
| #define | FMT_SRATIONAL 10 |
| #define | FMT_SINGLE 11 |
| #define | FMT_DOUBLE 12 |
| #define | TAG_EXIF_OFFSET 0x8769 |
| #define | TAG_INTEROP_OFFSET 0xa005 |
| #define | TAG_MAKE 0x010F |
| #define | TAG_MODEL 0x0110 |
| #define | TAG_ORIENTATION 0x0112 |
| #define | TAG_EXPOSURETIME 0x829A |
| #define | TAG_FNUMBER 0x829D |
| #define | TAG_SHUTTERSPEED 0x9201 |
| #define | TAG_APERTURE 0x9202 |
| #define | TAG_MAXAPERTURE 0x9205 |
| #define | TAG_FOCALLENGTH 0x920A |
| #define | TAG_DATETIME_ORIGINAL 0x9003 |
| #define | TAG_USERCOMMENT 0x9286 |
| #define | TAG_SUBJECT_DISTANCE 0x9206 |
| #define | TAG_FLASH 0x9209 |
| #define | TAG_FOCALPLANEXRES 0xa20E |
| #define | TAG_FOCALPLANEUNITS 0xa210 |
| #define | TAG_EXIF_IMAGEWIDTH 0xA002 |
| #define | TAG_EXIF_IMAGELENGTH 0xA003 |
| #define | TAG_EXPOSURE_BIAS 0x9204 |
| #define | TAG_WHITEBALANCE 0x9208 |
| #define | TAG_METERING_MODE 0x9207 |
| #define | TAG_EXPOSURE_PROGRAM 0x8822 |
| #define | TAG_ISO_EQUIVALENT 0x8827 |
| #define | TAG_COMPRESSION_LEVEL 0x9102 |
| #define | TAG_THUMBNAIL_OFFSET 0x0201 |
| #define | TAG_THUMBNAIL_LENGTH 0x0202 |
| #define | DIR_ENTRY_ADDR(Start, Entry) (Start+2+12*(Entry)) |
| #define | JPEG_TOL 0.02 |
Variables | |
| static unsigned char * | LastExifRefd |
| static int | ExifSettingsLength |
| static double | FocalplaneXRes |
| static double | FocalplaneUnits |
| static int | MotorolaOrder = 0 |
| static int | SectionsRead |
| TagTable | ProcessTable [] |
| static int | BytesPerFormat [] = {0,1,1,2,4,8,1,1,2,4,8,4,8} |
Define Documentation
| #define DIR_ENTRY_ADDR | ( | Start, | |||
| Entry | ) | (Start+2+12*(Entry)) |
Referenced by ExifData::ProcessExifDir().
| #define FMT_BYTE 1 |
| #define FMT_DOUBLE 12 |
| #define FMT_SBYTE 6 |
| #define FMT_SINGLE 11 |
| #define FMT_SLONG 9 |
| #define FMT_SRATIONAL 10 |
| #define FMT_SSHORT 8 |
| #define FMT_ULONG 4 |
| #define FMT_URATIONAL 5 |
| #define FMT_USHORT 3 |
| #define JPEG_TOL 0.02 |
| #define M_COM 0xFE |
| #define M_EOI 0xD9 |
| #define M_EXIF 0xE1 |
| #define M_JFIF 0xE0 |
| #define M_SOF0 0xC0 |
| #define M_SOF1 0xC1 |
| #define M_SOF10 0xCA |
| #define M_SOF11 0xCB |
| #define M_SOF13 0xCD |
| #define M_SOF14 0xCE |
| #define M_SOF15 0xCF |
| #define M_SOF2 0xC2 |
| #define M_SOF3 0xC3 |
| #define M_SOF5 0xC5 |
| #define M_SOF6 0xC6 |
| #define M_SOF7 0xC7 |
| #define M_SOF9 0xC9 |
| #define M_SOI 0xD8 |
| #define M_SOS 0xDA |
| #define NUM_FORMATS 12 |
| #define TAG_APERTURE 0x9202 |
| #define TAG_COMPRESSION_LEVEL 0x9102 |
| #define TAG_DATETIME_ORIGINAL 0x9003 |
| #define TAG_EXIF_IMAGELENGTH 0xA003 |
| #define TAG_EXIF_IMAGEWIDTH 0xA002 |
| #define TAG_EXIF_OFFSET 0x8769 |
| #define TAG_EXPOSURE_BIAS 0x9204 |
| #define TAG_EXPOSURE_PROGRAM 0x8822 |
| #define TAG_EXPOSURETIME 0x829A |
| #define TAG_FLASH 0x9209 |
| #define TAG_FNUMBER 0x829D |
| #define TAG_FOCALLENGTH 0x920A |
| #define TAG_FOCALPLANEUNITS 0xa210 |
| #define TAG_FOCALPLANEXRES 0xa20E |
| #define TAG_INTEROP_OFFSET 0xa005 |
| #define TAG_ISO_EQUIVALENT 0x8827 |
| #define TAG_MAKE 0x010F |
| #define TAG_MAXAPERTURE 0x9205 |
| #define TAG_METERING_MODE 0x9207 |
| #define TAG_MODEL 0x0110 |
| #define TAG_ORIENTATION 0x0112 |
| #define TAG_SHUTTERSPEED 0x9201 |
| #define TAG_SUBJECT_DISTANCE 0x9206 |
| #define TAG_THUMBNAIL_LENGTH 0x0202 |
| #define TAG_THUMBNAIL_OFFSET 0x0201 |
| #define TAG_USERCOMMENT 0x9286 |
| #define TAG_WHITEBALANCE 0x9208 |
Variable Documentation
int BytesPerFormat[] = {0,1,1,2,4,8,1,1,2,4,8,4,8} [static] |
int ExifSettingsLength [static] |
double FocalplaneUnits [static] |
Definition at line 24 of file exif.cpp.
Referenced by ExifData::process_EXIF(), and ExifData::ProcessExifDir().
double FocalplaneXRes [static] |
Definition at line 23 of file exif.cpp.
Referenced by ExifData::process_EXIF(), and ExifData::ProcessExifDir().
unsigned char* LastExifRefd [static] |
Definition at line 21 of file exif.cpp.
Referenced by ExifData::process_EXIF(), and ExifData::ProcessExifDir().
int MotorolaOrder = 0 [static] |
Definition at line 25 of file exif.cpp.
Referenced by ExifData::Get16u(), ExifData::Get32s(), and ExifData::process_EXIF().
Initial value:
{
TagTable ( M_SOF0, "Baseline" ),
TagTable ( M_SOF1, "Extended sequential" ),
TagTable ( M_SOF2, "Progressive" ),
TagTable ( M_SOF3, "Lossless" ),
TagTable ( M_SOF5, "Differential sequential" ),
TagTable ( M_SOF6, "Differential progressive" ),
TagTable ( M_SOF7, "Differential lossless" ),
TagTable ( M_SOF9, "Extended sequential, arithmetic coding" ),
TagTable ( M_SOF10, "Progressive, arithmetic coding" ),
TagTable ( M_SOF11, "Lossless, arithmetic coding" ),
TagTable ( M_SOF13, "Differential sequential, arithmetic coding" ),
TagTable ( M_SOF14, "Differential progressive, arithmetic coding" ),
TagTable ( M_SOF15, "Differential lossless, arithmetic coding" ),
TagTable ( 0, "Unknown" )
}
int SectionsRead [static] |
Definition at line 26 of file exif.cpp.
Referenced by ExifData::DiscardData(), and ExifData::ReadJpegSections().
