annotate sgi.h @ 12483:0159a19bfff7 libavcodec

aacdec: Rework channel mapping compatibility hacks. For a PCE based configuration map the channels solely based on tags. For an indexed configuration map the channels solely based on position. This works with all known exotic samples including al17, elem_id0, bad_concat, and lfe_is_sce.
author alexc
date Fri, 10 Sep 2010 18:01:48 +0000
parents c4a4495715dd
children
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
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
22 #ifndef AVCODEC_SGI_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
23 #define AVCODEC_SGI_H
4790
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
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
36 #endif /* AVCODEC_SGI_H */