3 * Copyright (c) 2006 Konstantin Shishkov
5 * This file is part of FFmpeg.
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
26 * @author Konstantin Shishkov
33 /** abridged list of TIFF tags */
41 TIFF_STRIP_OFFS = 0x111,
42 TIFF_SAMPLES_PER_PIXEL = 0x115,
43 TIFF_ROWSPERSTRIP = 0x116,
50 TIFF_RES_UNIT = 0x128,
51 TIFF_SOFTWARE_NAME = 0x131,
52 TIFF_PREDICTOR = 0x13D,
54 TIFF_YCBCR_COEFFICIENTS = 0x211,
55 TIFF_YCBCR_SUBSAMPLING = 0x212,
56 TIFF_YCBCR_POSITIONING = 0x213,
57 TIFF_REFERENCE_BW = 0x214,
60 /** list of TIFF compression types */
70 TIFF_PACKBITS = 0x8005,
82 /** sizes of various TIFF field types (string size = 100)*/
83 static const uint8_t type_sizes[6] = {