00001 /* 00002 * This file is part of FFmpeg. 00003 * 00004 * FFmpeg is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * FFmpeg is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with FFmpeg; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00017 */ 00018 00019 #ifndef AVCODEC_TARGA_H 00020 #define AVCODEC_TARGA_H 00021 00033 enum TargaCompr { 00034 TGA_NODATA = 0, // no image data 00035 TGA_PAL = 1, // palettized 00036 TGA_RGB = 2, // true-color 00037 TGA_BW = 3, // black & white or grayscale 00038 TGA_RLE = 8, // flag pointing that data is RLE-coded 00039 }; 00040 00041 enum TargaFlags { 00042 TGA_RIGHTTOLEFT = 0x10, // right-to-left (flipped horizontally) 00043 TGA_TOPTOBOTTOM = 0x20, // top-to-bottom (NOT flipped vertically) 00044 TGA_INTERLEAVE2 = 0x40, // 2-way interleave, odd then even lines 00045 TGA_INTERLEAVE4 = 0x80, // 4-way interleave 00046 }; 00047 00048 #endif /* AVCODEC_TARGA_H */
1.5.8