• Main Page
  • Related Pages
  • Modules
  • Data Structures
  • Files
  • Examples
  • File List
  • Globals

libavcodec/tiff.h

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2006 Konstantin Shishkov
00003  *
00004  * This file is part of FFmpeg.
00005  *
00006  * FFmpeg is free software; you can redistribute it and/or
00007  * modify it under the terms of the GNU Lesser General Public
00008  * License as published by the Free Software Foundation; either
00009  * version 2.1 of the License, or (at your option) any later version.
00010  *
00011  * FFmpeg is distributed in the hope that it will be useful,
00012  * but WITHOUT ANY WARRANTY; without even the implied warranty of
00013  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014  * Lesser General Public License for more details.
00015  *
00016  * You should have received a copy of the GNU Lesser General Public
00017  * License along with FFmpeg; if not, write to the Free Software
00018  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
00019  */
00020 
00021 #ifndef AVCODEC_TIFF_H
00022 #define AVCODEC_TIFF_H
00023 
00032 #include <stdint.h>
00033 
00035 enum TiffTags{
00036     TIFF_SUBFILE = 0xfe,
00037     TIFF_WIDTH = 0x100,
00038     TIFF_HEIGHT,
00039     TIFF_BPP,
00040     TIFF_COMPR,
00041     TIFF_INVERT = 0x106,
00042     TIFF_FILL_ORDER = 0x10A,
00043     TIFF_STRIP_OFFS = 0x111,
00044     TIFF_SAMPLES_PER_PIXEL = 0x115,
00045     TIFF_ROWSPERSTRIP = 0x116,
00046     TIFF_STRIP_SIZE,
00047     TIFF_XRES = 0x11A,
00048     TIFF_YRES = 0x11B,
00049     TIFF_PLANAR = 0x11C,
00050     TIFF_XPOS = 0x11E,
00051     TIFF_YPOS = 0x11F,
00052     TIFF_T4OPTIONS = 0x124,
00053     TIFF_T6OPTIONS,
00054     TIFF_RES_UNIT = 0x128,
00055     TIFF_SOFTWARE_NAME = 0x131,
00056     TIFF_PREDICTOR = 0x13D,
00057     TIFF_PAL = 0x140,
00058     TIFF_YCBCR_COEFFICIENTS = 0x211,
00059     TIFF_YCBCR_SUBSAMPLING = 0x212,
00060     TIFF_YCBCR_POSITIONING = 0x213,
00061     TIFF_REFERENCE_BW = 0x214,
00062 };
00063 
00065 enum TiffCompr{
00066     TIFF_RAW = 1,
00067     TIFF_CCITT_RLE,
00068     TIFF_G3,
00069     TIFF_G4,
00070     TIFF_LZW,
00071     TIFF_JPEG,
00072     TIFF_NEWJPEG,
00073     TIFF_ADOBE_DEFLATE,
00074     TIFF_PACKBITS = 0x8005,
00075     TIFF_DEFLATE = 0x80B2
00076 };
00077 
00078 enum TiffTypes{
00079     TIFF_BYTE = 1,
00080     TIFF_STRING,
00081     TIFF_SHORT,
00082     TIFF_LONG,
00083     TIFF_RATIONAL,
00084 };
00085 
00087 static const uint8_t type_sizes[6] = {
00088     0, 1, 100, 2, 4, 8
00089 };
00090 
00091 #endif /* AVCODEC_TIFF_H */

Generated on Fri Feb 22 2013 07:24:29 for FFmpeg by  doxygen 1.7.1