2 * Copyright (c) 2006 Konstantin Shishkov
4 * This file is part of FFmpeg.
6 * FFmpeg is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * FFmpeg is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with FFmpeg; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 #ifndef AVCODEC_TIFF_H
22 #define AVCODEC_TIFF_H
28 * For more information about the TIFF format, check the official docs at:
29 * http://partners.adobe.com/public/developer/tiff/index.html
34 /** abridged list of TIFF tags */
42 TIFF_FILL_ORDER = 0x10A,
43 TIFF_STRIP_OFFS = 0x111,
44 TIFF_SAMPLES_PER_PIXEL = 0x115,
45 TIFF_ROWSPERSTRIP = 0x116,
52 TIFF_T4OPTIONS = 0x124,
54 TIFF_RES_UNIT = 0x128,
55 TIFF_SOFTWARE_NAME = 0x131,
56 TIFF_PREDICTOR = 0x13D,
58 TIFF_YCBCR_COEFFICIENTS = 0x211,
59 TIFF_YCBCR_SUBSAMPLING = 0x212,
60 TIFF_YCBCR_POSITIONING = 0x213,
61 TIFF_REFERENCE_BW = 0x214,
64 /** list of TIFF compression types */
74 TIFF_PACKBITS = 0x8005,
86 /** sizes of various TIFF field types (string size = 100)*/
87 static const uint8_t type_sizes[6] = {
91 #endif /* AVCODEC_TIFF_H */