yading@10: /* yading@10: * Sun Rasterfile Image Format yading@10: * Copyright (c) 2007, 2008 Ivo van Poorten yading@10: * yading@10: * This file is part of Libav. yading@10: * yading@10: * Libav is free software; you can redistribute it and/or yading@10: * modify it under the terms of the GNU Lesser General Public yading@10: * License as published by the Free Software Foundation; either yading@10: * version 2.1 of the License, or (at your option) any later version. yading@10: * yading@10: * Libav is distributed in the hope that it will be useful, yading@10: * but WITHOUT ANY WARRANTY; without even the implied warranty of yading@10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU yading@10: * Lesser General Public License for more details. yading@10: * yading@10: * You should have received a copy of the GNU Lesser General Public yading@10: * License along with Libav; if not, write to the Free Software yading@10: * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA yading@10: */ yading@10: yading@10: #ifndef AVCODEC_SUNRAST_H yading@10: #define AVCODEC_SUNRAST_H yading@10: yading@10: #define RAS_MAGIC 0x59a66a95 yading@10: yading@10: #define RMT_NONE 0 yading@10: #define RMT_EQUAL_RGB 1 yading@10: #define RMT_RAW 2 ///< the data layout of this map type is unknown yading@10: yading@10: /* The Old and Standard format types indicate that the image data is yading@10: * uncompressed. There is no difference between the two formats. */ yading@10: #define RT_OLD 0 yading@10: #define RT_STANDARD 1 yading@10: yading@10: /* The Byte-Encoded format type indicates that the image data is compressed yading@10: * using a run-length encoding scheme. */ yading@10: #define RT_BYTE_ENCODED 2 yading@10: #define RLE_TRIGGER 0x80 yading@10: yading@10: /* The RGB format type indicates that the image is uncompressed with reverse yading@10: * component order from Old and Standard (RGB vs BGR). */ yading@10: #define RT_FORMAT_RGB 3 yading@10: yading@10: /* The TIFF and IFF format types indicate that the raster file was originally yading@10: * converted from either of these file formats. We do not have any samples or yading@10: * documentation of the format details. */ yading@10: #define RT_FORMAT_TIFF 4 yading@10: #define RT_FORMAT_IFF 5 yading@10: yading@10: /* The Experimental format type is implementation-specific and is generally an yading@10: * indication that the image file does not conform to the Sun Raster file yading@10: * format specification. */ yading@10: #define RT_EXPERIMENTAL 0xffff yading@10: yading@10: #endif /* AVCODEC_SUNRAST_H */