annotate ffmpeg/libavcodec/sunrast.h @ 13:844d341cf643 tip

Back up before ISMIR
author Yading Song <yading.song@eecs.qmul.ac.uk>
date Thu, 31 Oct 2013 13:17:06 +0000
parents 6840f77b83aa
children
rev   line source
yading@10 1 /*
yading@10 2 * Sun Rasterfile Image Format
yading@10 3 * Copyright (c) 2007, 2008 Ivo van Poorten
yading@10 4 *
yading@10 5 * This file is part of Libav.
yading@10 6 *
yading@10 7 * Libav is free software; you can redistribute it and/or
yading@10 8 * modify it under the terms of the GNU Lesser General Public
yading@10 9 * License as published by the Free Software Foundation; either
yading@10 10 * version 2.1 of the License, or (at your option) any later version.
yading@10 11 *
yading@10 12 * Libav is distributed in the hope that it will be useful,
yading@10 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
yading@10 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
yading@10 15 * Lesser General Public License for more details.
yading@10 16 *
yading@10 17 * You should have received a copy of the GNU Lesser General Public
yading@10 18 * License along with Libav; if not, write to the Free Software
yading@10 19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
yading@10 20 */
yading@10 21
yading@10 22 #ifndef AVCODEC_SUNRAST_H
yading@10 23 #define AVCODEC_SUNRAST_H
yading@10 24
yading@10 25 #define RAS_MAGIC 0x59a66a95
yading@10 26
yading@10 27 #define RMT_NONE 0
yading@10 28 #define RMT_EQUAL_RGB 1
yading@10 29 #define RMT_RAW 2 ///< the data layout of this map type is unknown
yading@10 30
yading@10 31 /* The Old and Standard format types indicate that the image data is
yading@10 32 * uncompressed. There is no difference between the two formats. */
yading@10 33 #define RT_OLD 0
yading@10 34 #define RT_STANDARD 1
yading@10 35
yading@10 36 /* The Byte-Encoded format type indicates that the image data is compressed
yading@10 37 * using a run-length encoding scheme. */
yading@10 38 #define RT_BYTE_ENCODED 2
yading@10 39 #define RLE_TRIGGER 0x80
yading@10 40
yading@10 41 /* The RGB format type indicates that the image is uncompressed with reverse
yading@10 42 * component order from Old and Standard (RGB vs BGR). */
yading@10 43 #define RT_FORMAT_RGB 3
yading@10 44
yading@10 45 /* The TIFF and IFF format types indicate that the raster file was originally
yading@10 46 * converted from either of these file formats. We do not have any samples or
yading@10 47 * documentation of the format details. */
yading@10 48 #define RT_FORMAT_TIFF 4
yading@10 49 #define RT_FORMAT_IFF 5
yading@10 50
yading@10 51 /* The Experimental format type is implementation-specific and is generally an
yading@10 52 * indication that the image file does not conform to the Sun Raster file
yading@10 53 * format specification. */
yading@10 54 #define RT_EXPERIMENTAL 0xffff
yading@10 55
yading@10 56 #endif /* AVCODEC_SUNRAST_H */