annotate sgi.h @ 4790:2b825cb391f2 libavcodec

SGI image decoder ported to the new image API. patch by Xiaohui Sun, sunxiaohui dsp.ac cn
author diego
date Fri, 06 Apr 2007 18:29:27 +0000
parents
children 1d83e9c34641
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4790
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
1 /*
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
2 * SGI image encoder
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
3 * Xiaohui Sun <tjnksxh@hotmail.com>
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
4 *
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
5 * This file is part of FFmpeg.
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
6 *
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
9 * License as published by the Free Software Foundation; either
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
11 *
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
15 * Lesser General Public License for more details.
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
16 *
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
20 */
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
21
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
22 #ifndef SGI_H
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
23 #define SGI_H
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
24
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
25 /**
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
26 * SGI image file signature
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
27 */
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
28 #define SGI_MAGIC 474
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
29
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
30 #define SGI_HEADER_SIZE 512
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
31
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
32 #define SGI_GRAYSCALE 1
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
33 #define SGI_RGB 3
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
34 #define SGI_RGBA 4
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
35
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
36 #endif
2b825cb391f2 SGI image decoder ported to the new image API.
diego
parents:
diff changeset
37