Back to index

scribus-ng  1.3.4.dfsg+svn20071115
Defines | Variables
exif.cpp File Reference
#include "exif.h"
#include <qwmatrix.h>

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))
#define FMT_BYTE   1

Definition at line 75 of file exif.cpp.

#define FMT_DOUBLE   12

Definition at line 86 of file exif.cpp.

#define FMT_SBYTE   6

Definition at line 80 of file exif.cpp.

#define FMT_SINGLE   11

Definition at line 85 of file exif.cpp.

#define FMT_SLONG   9

Definition at line 83 of file exif.cpp.

#define FMT_SRATIONAL   10

Definition at line 84 of file exif.cpp.

#define FMT_SSHORT   8

Definition at line 82 of file exif.cpp.

#define FMT_STRING   2

Definition at line 76 of file exif.cpp.

#define FMT_ULONG   4

Definition at line 78 of file exif.cpp.

#define FMT_UNDEFINED   7

Definition at line 81 of file exif.cpp.

#define FMT_URATIONAL   5

Definition at line 79 of file exif.cpp.

#define FMT_USHORT   3

Definition at line 77 of file exif.cpp.

#define JPEG_TOL   0.02

Definition at line 936 of file exif.cpp.

#define M_COM   0xFE

Definition at line 50 of file exif.cpp.

#define M_EOI   0xD9

Definition at line 46 of file exif.cpp.

#define M_EXIF   0xE1

Definition at line 49 of file exif.cpp.

#define M_JFIF   0xE0

Definition at line 48 of file exif.cpp.

#define M_SOF0   0xC0

Definition at line 32 of file exif.cpp.

#define M_SOF1   0xC1

Definition at line 33 of file exif.cpp.

#define M_SOF10   0xCA

Definition at line 40 of file exif.cpp.

#define M_SOF11   0xCB

Definition at line 41 of file exif.cpp.

#define M_SOF13   0xCD

Definition at line 42 of file exif.cpp.

#define M_SOF14   0xCE

Definition at line 43 of file exif.cpp.

#define M_SOF15   0xCF

Definition at line 44 of file exif.cpp.

#define M_SOF2   0xC2

Definition at line 34 of file exif.cpp.

#define M_SOF3   0xC3

Definition at line 35 of file exif.cpp.

#define M_SOF5   0xC5

Definition at line 36 of file exif.cpp.

#define M_SOF6   0xC6

Definition at line 37 of file exif.cpp.

#define M_SOF7   0xC7

Definition at line 38 of file exif.cpp.

#define M_SOF9   0xC9

Definition at line 39 of file exif.cpp.

#define M_SOI   0xD8

Definition at line 45 of file exif.cpp.

#define M_SOS   0xDA

Definition at line 47 of file exif.cpp.

#define NUM_FORMATS   12

Definition at line 73 of file exif.cpp.

#define TAG_APERTURE   0x9202

Definition at line 102 of file exif.cpp.

#define TAG_COMPRESSION_LEVEL   0x9102

Definition at line 123 of file exif.cpp.

#define TAG_DATETIME_ORIGINAL   0x9003

Definition at line 106 of file exif.cpp.

#define TAG_EXIF_IMAGELENGTH   0xA003

Definition at line 115 of file exif.cpp.

#define TAG_EXIF_IMAGEWIDTH   0xA002

Definition at line 114 of file exif.cpp.

#define TAG_EXIF_OFFSET   0x8769

Definition at line 91 of file exif.cpp.

#define TAG_EXPOSURE_BIAS   0x9204

Definition at line 118 of file exif.cpp.

#define TAG_EXPOSURE_PROGRAM   0x8822

Definition at line 121 of file exif.cpp.

#define TAG_EXPOSURETIME   0x829A

Definition at line 98 of file exif.cpp.

#define TAG_FLASH   0x9209

Definition at line 110 of file exif.cpp.

#define TAG_FNUMBER   0x829D

Definition at line 99 of file exif.cpp.

#define TAG_FOCALLENGTH   0x920A

Definition at line 104 of file exif.cpp.

#define TAG_FOCALPLANEUNITS   0xa210

Definition at line 113 of file exif.cpp.

#define TAG_FOCALPLANEXRES   0xa20E

Definition at line 112 of file exif.cpp.

#define TAG_INTEROP_OFFSET   0xa005

Definition at line 92 of file exif.cpp.

#define TAG_ISO_EQUIVALENT   0x8827

Definition at line 122 of file exif.cpp.

#define TAG_MAKE   0x010F

Definition at line 94 of file exif.cpp.

#define TAG_MAXAPERTURE   0x9205

Definition at line 103 of file exif.cpp.

#define TAG_METERING_MODE   0x9207

Definition at line 120 of file exif.cpp.

#define TAG_MODEL   0x0110

Definition at line 95 of file exif.cpp.

#define TAG_ORIENTATION   0x0112

Definition at line 96 of file exif.cpp.

#define TAG_SHUTTERSPEED   0x9201

Definition at line 101 of file exif.cpp.

#define TAG_SUBJECT_DISTANCE   0x9206

Definition at line 109 of file exif.cpp.

#define TAG_THUMBNAIL_LENGTH   0x0202

Definition at line 126 of file exif.cpp.

#define TAG_THUMBNAIL_OFFSET   0x0201

Definition at line 125 of file exif.cpp.

#define TAG_USERCOMMENT   0x9286

Definition at line 107 of file exif.cpp.

#define TAG_WHITEBALANCE   0x9208

Definition at line 119 of file exif.cpp.


Variable Documentation

int BytesPerFormat[] = {0,1,1,2,4,8,1,1,2,4,8,4,8} [static]

Definition at line 72 of file exif.cpp.

Definition at line 22 of file exif.cpp.

double FocalplaneUnits [static]

Definition at line 24 of file exif.cpp.

double FocalplaneXRes [static]

Definition at line 23 of file exif.cpp.

unsigned char* LastExifRefd [static]

Definition at line 21 of file exif.cpp.

int MotorolaOrder = 0 [static]

Definition at line 25 of file exif.cpp.

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")
}

Definition at line 53 of file exif.cpp.

int SectionsRead [static]

Definition at line 26 of file exif.cpp.