FFmpeg
Data Structures | Enumerations
tiff.h File Reference

Go to the source code of this file.

Data Structures

struct  TiffGeoTag
 
struct  TiffGeoTagKeyName
 

Enumerations

enum  TiffType { TIFF_TYPE_TIFF, TIFF_TYPE_DNG, TIFF_TYPE_CINEMADNG }
 TIFF types in ascenting priority (last in the list is highest) More...
 
enum  TiffTags {
  TIFF_SUBFILE = 0xfe, TIFF_WIDTH = 0x100, TIFF_HEIGHT, TIFF_BPP,
  TIFF_COMPR, TIFF_PHOTOMETRIC = 0x106, TIFF_FILL_ORDER = 0x10A, TIFF_DOCUMENT_NAME = 0x10D,
  TIFF_IMAGE_DESCRIPTION = 0x10E, TIFF_MAKE = 0x10F, TIFF_MODEL = 0x110, TIFF_STRIP_OFFS = 0x111,
  TIFF_SAMPLES_PER_PIXEL = 0x115, TIFF_ROWSPERSTRIP = 0x116, TIFF_STRIP_SIZE, TIFF_XRES = 0x11A,
  TIFF_YRES = 0x11B, TIFF_PLANAR = 0x11C, TIFF_PAGE_NAME = 0x11D, TIFF_XPOS = 0x11E,
  TIFF_YPOS = 0x11F, TIFF_GRAY_RESPONSE_CURVE = 0x123, TIFF_T4OPTIONS = 0x124, TIFF_T6OPTIONS,
  TIFF_RES_UNIT = 0x128, TIFF_PAGE_NUMBER = 0x129, TIFF_SOFTWARE_NAME = 0x131, TIFF_DATE = 0x132,
  TIFF_ARTIST = 0x13B, TIFF_HOST_COMPUTER = 0x13C, TIFF_PREDICTOR = 0x13D, TIFF_PAL = 0x140,
  TIFF_TILE_WIDTH = 0x142, TIFF_TILE_LENGTH = 0x143, TIFF_TILE_OFFSETS = 0x144, TIFF_TILE_BYTE_COUNTS = 0x145,
  TIFF_SUB_IFDS = 0x14A, TIFF_EXTRASAMPLES = 0x152, TIFF_YCBCR_COEFFICIENTS = 0x211, TIFF_YCBCR_SUBSAMPLING = 0x212,
  TIFF_YCBCR_POSITIONING = 0x213, TIFF_REFERENCE_BW = 0x214, TIFF_CFA_PATTERN_DIM = 0x828D, TIFF_CFA_PATTERN = 0x828E,
  TIFF_COPYRIGHT = 0x8298, TIFF_MODEL_TIEPOINT = 0x8482, TIFF_MODEL_PIXEL_SCALE = 0x830E, TIFF_MODEL_TRANSFORMATION = 0x8480,
  TIFF_ICC_PROFILE = 0x8773, TIFF_GEO_KEY_DIRECTORY = 0x87AF, TIFF_GEO_DOUBLE_PARAMS = 0x87B0, TIFF_GEO_ASCII_PARAMS = 0x87B1
}
 abridged list of TIFF and TIFF/EP tags More...
 
enum  DngTags {
  DNG_VERSION = 0xC612, DNG_BACKWARD_VERSION = 0xC613, DNG_LINEARIZATION_TABLE = 0xC618, DNG_BLACK_LEVEL = 0xC61A,
  DNG_WHITE_LEVEL = 0xC61D, DNG_COLOR_MATRIX1 = 0xC621, DNG_COLOR_MATRIX2 = 0xC622, DNG_CAMERA_CALIBRATION1 = 0xC623,
  DNG_CAMERA_CALIBRATION2 = 0xC624, DNG_ANALOG_BALANCE = 0xC627, DNG_AS_SHOT_NEUTRAL = 0xC628, DNG_AS_SHOT_WHITE_XY = 0xC629
}
 abridged list of DNG tags More...
 
enum  CinemaDngTags {
  CINEMADNG_TIME_CODES = 0xC763, CINEMADNG_FRAME_RATE = 0xC764, CINEMADNG_T_STOP = 0xC772, CINEMADNG_REEL_NAME = 0xC789,
  CINEMADNG_CAMERA_LABEL = 0xC7A1
}
 list of CinemaDNG tags More...
 
enum  TiffCompr {
  TIFF_RAW = 1, TIFF_CCITT_RLE, TIFF_G3, TIFF_G4,
  TIFF_LZW, TIFF_JPEG, TIFF_NEWJPEG, TIFF_ADOBE_DEFLATE,
  TIFF_PACKBITS = 0x8005, TIFF_DEFLATE = 0x80B2, TIFF_LZMA = 0x886D
}
 list of TIFF, TIFF/EP and DNG compression types More...
 
enum  TiffGeoTagKey {
  TIFF_GT_MODEL_TYPE_GEOKEY = 1024, TIFF_GT_RASTER_TYPE_GEOKEY = 1025, TIFF_GT_CITATION_GEOKEY = 1026, TIFF_GEOGRAPHIC_TYPE_GEOKEY = 2048,
  TIFF_GEOG_CITATION_GEOKEY = 2049, TIFF_GEOG_GEODETIC_DATUM_GEOKEY = 2050, TIFF_GEOG_PRIME_MERIDIAN_GEOKEY = 2051, TIFF_GEOG_LINEAR_UNITS_GEOKEY = 2052,
  TIFF_GEOG_LINEAR_UNIT_SIZE_GEOKEY = 2053, TIFF_GEOG_ANGULAR_UNITS_GEOKEY = 2054, TIFF_GEOG_ANGULAR_UNIT_SIZE_GEOKEY = 2055, TIFF_GEOG_ELLIPSOID_GEOKEY = 2056,
  TIFF_GEOG_SEMI_MAJOR_AXIS_GEOKEY = 2057, TIFF_GEOG_SEMI_MINOR_AXIS_GEOKEY = 2058, TIFF_GEOG_INV_FLATTENING_GEOKEY = 2059, TIFF_GEOG_AZIMUTH_UNITS_GEOKEY = 2060,
  TIFF_GEOG_PRIME_MERIDIAN_LONG_GEOKEY = 2061, TIFF_PROJECTED_CS_TYPE_GEOKEY = 3072, TIFF_PCS_CITATION_GEOKEY = 3073, TIFF_PROJECTION_GEOKEY = 3074,
  TIFF_PROJ_COORD_TRANS_GEOKEY = 3075, TIFF_PROJ_LINEAR_UNITS_GEOKEY = 3076, TIFF_PROJ_LINEAR_UNIT_SIZE_GEOKEY = 3077, TIFF_PROJ_STD_PARALLEL1_GEOKEY = 3078,
  TIFF_PROJ_STD_PARALLEL2_GEOKEY = 3079, TIFF_PROJ_NAT_ORIGIN_LONG_GEOKEY = 3080, TIFF_PROJ_NAT_ORIGIN_LAT_GEOKEY = 3081, TIFF_PROJ_FALSE_EASTING_GEOKEY = 3082,
  TIFF_PROJ_FALSE_NORTHING_GEOKEY = 3083, TIFF_PROJ_FALSE_ORIGIN_LONG_GEOKEY = 3084, TIFF_PROJ_FALSE_ORIGIN_LAT_GEOKEY = 3085, TIFF_PROJ_FALSE_ORIGIN_EASTING_GEOKEY = 3086,
  TIFF_PROJ_FALSE_ORIGIN_NORTHING_GEOKEY = 3087, TIFF_PROJ_CENTER_LONG_GEOKEY = 3088, TIFF_PROJ_CENTER_LAT_GEOKEY = 3089, TIFF_PROJ_CENTER_EASTING_GEOKEY = 3090,
  TIFF_PROJ_CENTER_NORTHING_GEOKEY = 3091, TIFF_PROJ_SCALE_AT_NAT_ORIGIN_GEOKEY = 3092, TIFF_PROJ_SCALE_AT_CENTER_GEOKEY = 3093, TIFF_PROJ_AZIMUTH_ANGLE_GEOKEY = 3094,
  TIFF_PROJ_STRAIGHT_VERT_POLE_LONG_GEOKEY = 3095, TIFF_VERTICAL_CS_TYPE_GEOKEY = 4096, TIFF_VERTICAL_CITATION_GEOKEY = 4097, TIFF_VERTICAL_DATUM_GEOKEY = 4098,
  TIFF_VERTICAL_UNITS_GEOKEY = 4099
}
 
enum  TiffPhotometric {
  TIFF_PHOTOMETRIC_NONE = -1, TIFF_PHOTOMETRIC_WHITE_IS_ZERO, TIFF_PHOTOMETRIC_BLACK_IS_ZERO, TIFF_PHOTOMETRIC_RGB,
  TIFF_PHOTOMETRIC_PALETTE, TIFF_PHOTOMETRIC_ALPHA_MASK, TIFF_PHOTOMETRIC_SEPARATED, TIFF_PHOTOMETRIC_YCBCR,
  TIFF_PHOTOMETRIC_CIE_LAB = 8, TIFF_PHOTOMETRIC_ICC_LAB, TIFF_PHOTOMETRIC_ITU_LAB, TIFF_PHOTOMETRIC_CFA = 32803,
  TIFF_PHOTOMETRIC_LOG_L = 32844, TIFF_PHOTOMETRIC_LOG_LUV, TIFF_PHOTOMETRIC_LINEAR_RAW = 34892
}
 list of TIFF, TIFF/AP and DNG PhotometricInterpretation (TIFF_PHOTOMETRIC) values More...
 
enum  TiffGeoTagType { GEOTIFF_SHORT = 0, GEOTIFF_DOUBLE = 34736, GEOTIFF_STRING = 34737 }
 

Detailed Description

TIFF constants & data structures

For more information about the TIFF format, check the official docs at: http://partners.adobe.com/public/developer/tiff/index.html

Author
Konstantin Shishkov

Definition in file tiff.h.

Enumeration Type Documentation

◆ TiffType

enum TiffType

TIFF types in ascenting priority (last in the list is highest)

Enumerator
TIFF_TYPE_TIFF 

TIFF image based on the TIFF 6.0 or TIFF/EP (ISO 12234-2) specifications.

TIFF_TYPE_DNG 

Digital Negative (DNG) image.

TIFF_TYPE_CINEMADNG 

Digital Negative (DNG) image part of an CinemaDNG image sequence.

Definition at line 34 of file tiff.h.

◆ TiffTags

enum TiffTags

abridged list of TIFF and TIFF/EP tags

Enumerator
TIFF_SUBFILE 
TIFF_WIDTH 
TIFF_HEIGHT 
TIFF_BPP 
TIFF_COMPR 
TIFF_PHOTOMETRIC 
TIFF_FILL_ORDER 
TIFF_DOCUMENT_NAME 
TIFF_IMAGE_DESCRIPTION 
TIFF_MAKE 
TIFF_MODEL 
TIFF_STRIP_OFFS 
TIFF_SAMPLES_PER_PIXEL 
TIFF_ROWSPERSTRIP 
TIFF_STRIP_SIZE 
TIFF_XRES 
TIFF_YRES 
TIFF_PLANAR 
TIFF_PAGE_NAME 
TIFF_XPOS 
TIFF_YPOS 
TIFF_GRAY_RESPONSE_CURVE 
TIFF_T4OPTIONS 
TIFF_T6OPTIONS 
TIFF_RES_UNIT 
TIFF_PAGE_NUMBER 
TIFF_SOFTWARE_NAME 
TIFF_DATE 
TIFF_ARTIST 
TIFF_HOST_COMPUTER 
TIFF_PREDICTOR 
TIFF_PAL 
TIFF_TILE_WIDTH 
TIFF_TILE_LENGTH 
TIFF_TILE_OFFSETS 
TIFF_TILE_BYTE_COUNTS 
TIFF_SUB_IFDS 
TIFF_EXTRASAMPLES 
TIFF_YCBCR_COEFFICIENTS 
TIFF_YCBCR_SUBSAMPLING 
TIFF_YCBCR_POSITIONING 
TIFF_REFERENCE_BW 
TIFF_CFA_PATTERN_DIM 
TIFF_CFA_PATTERN 
TIFF_COPYRIGHT 
TIFF_MODEL_TIEPOINT 
TIFF_MODEL_PIXEL_SCALE 
TIFF_MODEL_TRANSFORMATION 
TIFF_ICC_PROFILE 
TIFF_GEO_KEY_DIRECTORY 
TIFF_GEO_DOUBLE_PARAMS 
TIFF_GEO_ASCII_PARAMS 

Definition at line 44 of file tiff.h.

◆ DngTags

enum DngTags

abridged list of DNG tags

Enumerator
DNG_VERSION 
DNG_BACKWARD_VERSION 
DNG_LINEARIZATION_TABLE 
DNG_BLACK_LEVEL 
DNG_WHITE_LEVEL 
DNG_COLOR_MATRIX1 
DNG_COLOR_MATRIX2 
DNG_CAMERA_CALIBRATION1 
DNG_CAMERA_CALIBRATION2 
DNG_ANALOG_BALANCE 
DNG_AS_SHOT_NEUTRAL 
DNG_AS_SHOT_WHITE_XY 

Definition at line 100 of file tiff.h.

◆ CinemaDngTags

list of CinemaDNG tags

Enumerator
CINEMADNG_TIME_CODES 
CINEMADNG_FRAME_RATE 
CINEMADNG_T_STOP 
CINEMADNG_REEL_NAME 
CINEMADNG_CAMERA_LABEL 

Definition at line 116 of file tiff.h.

◆ TiffCompr

enum TiffCompr

list of TIFF, TIFF/EP and DNG compression types

Enumerator
TIFF_RAW 
TIFF_CCITT_RLE 
TIFF_G3 
TIFF_G4 
TIFF_LZW 
TIFF_JPEG 
TIFF_NEWJPEG 
TIFF_ADOBE_DEFLATE 
TIFF_PACKBITS 
TIFF_DEFLATE 
TIFF_LZMA 

Definition at line 125 of file tiff.h.

◆ TiffGeoTagKey

Enumerator
TIFF_GT_MODEL_TYPE_GEOKEY 
TIFF_GT_RASTER_TYPE_GEOKEY 
TIFF_GT_CITATION_GEOKEY 
TIFF_GEOGRAPHIC_TYPE_GEOKEY 
TIFF_GEOG_CITATION_GEOKEY 
TIFF_GEOG_GEODETIC_DATUM_GEOKEY 
TIFF_GEOG_PRIME_MERIDIAN_GEOKEY 
TIFF_GEOG_LINEAR_UNITS_GEOKEY 
TIFF_GEOG_LINEAR_UNIT_SIZE_GEOKEY 
TIFF_GEOG_ANGULAR_UNITS_GEOKEY 
TIFF_GEOG_ANGULAR_UNIT_SIZE_GEOKEY 
TIFF_GEOG_ELLIPSOID_GEOKEY 
TIFF_GEOG_SEMI_MAJOR_AXIS_GEOKEY 
TIFF_GEOG_SEMI_MINOR_AXIS_GEOKEY 
TIFF_GEOG_INV_FLATTENING_GEOKEY 
TIFF_GEOG_AZIMUTH_UNITS_GEOKEY 
TIFF_GEOG_PRIME_MERIDIAN_LONG_GEOKEY 
TIFF_PROJECTED_CS_TYPE_GEOKEY 
TIFF_PCS_CITATION_GEOKEY 
TIFF_PROJECTION_GEOKEY 
TIFF_PROJ_COORD_TRANS_GEOKEY 
TIFF_PROJ_LINEAR_UNITS_GEOKEY 
TIFF_PROJ_LINEAR_UNIT_SIZE_GEOKEY 
TIFF_PROJ_STD_PARALLEL1_GEOKEY 
TIFF_PROJ_STD_PARALLEL2_GEOKEY 
TIFF_PROJ_NAT_ORIGIN_LONG_GEOKEY 
TIFF_PROJ_NAT_ORIGIN_LAT_GEOKEY 
TIFF_PROJ_FALSE_EASTING_GEOKEY 
TIFF_PROJ_FALSE_NORTHING_GEOKEY 
TIFF_PROJ_FALSE_ORIGIN_LONG_GEOKEY 
TIFF_PROJ_FALSE_ORIGIN_LAT_GEOKEY 
TIFF_PROJ_FALSE_ORIGIN_EASTING_GEOKEY 
TIFF_PROJ_FALSE_ORIGIN_NORTHING_GEOKEY 
TIFF_PROJ_CENTER_LONG_GEOKEY 
TIFF_PROJ_CENTER_LAT_GEOKEY 
TIFF_PROJ_CENTER_EASTING_GEOKEY 
TIFF_PROJ_CENTER_NORTHING_GEOKEY 
TIFF_PROJ_SCALE_AT_NAT_ORIGIN_GEOKEY 
TIFF_PROJ_SCALE_AT_CENTER_GEOKEY 
TIFF_PROJ_AZIMUTH_ANGLE_GEOKEY 
TIFF_PROJ_STRAIGHT_VERT_POLE_LONG_GEOKEY 
TIFF_VERTICAL_CS_TYPE_GEOKEY 
TIFF_VERTICAL_CITATION_GEOKEY 
TIFF_VERTICAL_DATUM_GEOKEY 
TIFF_VERTICAL_UNITS_GEOKEY 

Definition at line 139 of file tiff.h.

◆ TiffPhotometric

list of TIFF, TIFF/AP and DNG PhotometricInterpretation (TIFF_PHOTOMETRIC) values

Enumerator
TIFF_PHOTOMETRIC_NONE 
TIFF_PHOTOMETRIC_WHITE_IS_ZERO 
TIFF_PHOTOMETRIC_BLACK_IS_ZERO 
TIFF_PHOTOMETRIC_RGB 
TIFF_PHOTOMETRIC_PALETTE 
TIFF_PHOTOMETRIC_ALPHA_MASK 
TIFF_PHOTOMETRIC_SEPARATED 
TIFF_PHOTOMETRIC_YCBCR 
TIFF_PHOTOMETRIC_CIE_LAB 
TIFF_PHOTOMETRIC_ICC_LAB 
TIFF_PHOTOMETRIC_ITU_LAB 
TIFF_PHOTOMETRIC_CFA 
TIFF_PHOTOMETRIC_LOG_L 
TIFF_PHOTOMETRIC_LOG_LUV 
TIFF_PHOTOMETRIC_LINEAR_RAW 

Definition at line 188 of file tiff.h.

◆ TiffGeoTagType

Enumerator
GEOTIFF_SHORT 
GEOTIFF_DOUBLE 
GEOTIFF_STRING 

Definition at line 206 of file tiff.h.