00001 /* 00002 * TIFF data tables 00003 * Copyright (c) 2011 Thomas Kuehnel 00004 * 00005 * This file is part of Libav. 00006 * 00007 * Libav is free software; you can redistribute it and/or 00008 * modify it under the terms of the GNU Lesser General Public 00009 * License as published by the Free Software Foundation; either 00010 * version 2.1 of the License, or (at your option) any later version. 00011 * 00012 * Libav is distributed in the hope that it will be useful, 00013 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00015 * Lesser General Public License for more details. 00016 * 00017 * You should have received a copy of the GNU Lesser General Public 00018 * License along with Libav; if not, write to the Free Software 00019 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00020 */ 00021 00030 #ifndef AVCODEC_TIFF_DATA_H 00031 #define AVCODEC_TIFF_DATA_H 00032 00033 #include "tiff.h" 00034 00035 #define TIFF_CONF_KEY_ID_OFFSET 1024 00036 extern const TiffGeoTagNameType ff_tiff_conf_name_type_map[3]; 00037 00038 #define TIFF_GEOG_KEY_ID_OFFSET 2048 00039 extern const TiffGeoTagNameType ff_tiff_geog_name_type_map[14]; 00040 00041 #define TIFF_PROJ_KEY_ID_OFFSET 3072 00042 extern const TiffGeoTagNameType ff_tiff_proj_name_type_map[24]; 00043 00044 #define TIFF_VERT_KEY_ID_OFFSET 4096 00045 extern const TiffGeoTagNameType ff_tiff_vert_name_type_map[4]; 00046 00047 #define TIFF_GEO_KEY_UNDEFINED 0 00048 #define TIFF_GEO_KEY_USER_DEFINED 32767 00049 00050 #define TIFF_GT_MODEL_TYPE_OFFSET 1 00051 extern const char *const ff_tiff_gt_model_type_codes[3]; 00052 00053 #define TIFF_GT_RASTER_TYPE_OFFSET 1 00054 extern const char *const ff_tiff_gt_raster_type_codes[2]; 00055 00056 #define TIFF_LINEAR_UNIT_OFFSET 9001 00057 extern const char *const ff_tiff_linear_unit_codes[15]; 00058 00059 #define TIFF_ANGULAR_UNIT_OFFSET 9101 00060 extern const char *const ff_tiff_angular_unit_codes[8]; 00061 00062 #define TIFF_GCS_TYPE_OFFSET 4201 00063 extern const char *const ff_tiff_gcs_type_codes[133]; 00064 00065 #define TIFF_GCSE_TYPE_OFFSET 4001 00066 extern const char *const ff_tiff_gcse_type_codes[35]; 00067 00068 #define TIFF_GEODETIC_DATUM_OFFSET 6201 00069 extern const char *const ff_tiff_geodetic_datum_codes[120]; 00070 00071 #define TIFF_GEODETIC_DATUM_E_OFFSET 6001 00072 extern const char *const ff_tiff_geodetic_datum_e_codes[35]; 00073 00074 #define TIFF_ELLIPSOID_OFFSET 7001 00075 extern const char *const ff_tiff_ellipsoid_codes[35]; 00076 00077 #define TIFF_PRIME_MERIDIAN_OFFSET 8901 00078 extern const char *const ff_tiff_prime_meridian_codes[11]; 00079 00080 extern const TiffGeoTagKeyName ff_tiff_proj_cs_type_codes[978]; 00081 00082 extern const TiffGeoTagKeyName ff_tiff_projection_codes[298]; 00083 00084 #define TIFF_COORD_TRANS_OFFSET 1 00085 extern const char *const ff_tiff_coord_trans_codes[27]; 00086 00087 #define TIFF_VERT_CS_OFFSET 5001 00088 extern const char *const ff_tiff_vert_cs_codes[32]; 00089 00090 #define TIFF_ORTHO_VERT_CS_OFFSET 5101 00091 extern const char *const ff_tiff_ortho_vert_cs_codes[6]; 00092 #endif