annotate bethsoftvideo.h @ 12397:4bc3d73ae577 libavcodec

Since the 24 bit format is decoded to endian-dependant BGR32 and not BGR24, do not swap red and blue on big-endian for this format as well.
author reimar
date Sat, 21 Aug 2010 19:40:38 +0000
parents c4a4495715dd
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
5212
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
1 /*
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
2 * Bethesda VID video decoder
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
3 * Copyright (C) 2007 Nicholas Tung
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
4 *
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
5 * This file is part of FFmpeg.
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
6 *
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
8 * modify it under the terms of the GNU Lesser General Public
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
9 * License as published by the Free Software Foundation; either
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
11 *
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
15 * Lesser General Public License for more details.
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
16 *
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
20 */
12b08ebc40b9 Add missing license header.
diego
parents: 5169
diff changeset
21
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
22 #ifndef AVCODEC_BETHSOFTVIDEO_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
23 #define AVCODEC_BETHSOFTVIDEO_H
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 4818
diff changeset
24
4803
35e47a6e01e2 Bethsoft VID demuxer and video decoder
diego
parents:
diff changeset
25 enum BethsoftVidBlockType
35e47a6e01e2 Bethsoft VID demuxer and video decoder
diego
parents:
diff changeset
26 {
4818
2137206961c9 align vertically
michael
parents: 4812
diff changeset
27 PALETTE_BLOCK = 0x02,
2137206961c9 align vertically
michael
parents: 4812
diff changeset
28 FIRST_AUDIO_BLOCK = 0x7c,
2137206961c9 align vertically
michael
parents: 4812
diff changeset
29 AUDIO_BLOCK = 0x7d,
4812
d9cff0d54fdd use shorter names for the block type enum
michael
parents: 4811
diff changeset
30 VIDEO_I_FRAME = 0x03,
d9cff0d54fdd use shorter names for the block type enum
michael
parents: 4811
diff changeset
31 VIDEO_P_FRAME = 0x01,
d9cff0d54fdd use shorter names for the block type enum
michael
parents: 4811
diff changeset
32 VIDEO_YOFF_P_FRAME = 0x04,
d9cff0d54fdd use shorter names for the block type enum
michael
parents: 4811
diff changeset
33 EOF_BLOCK = 0x14,
4803
35e47a6e01e2 Bethsoft VID demuxer and video decoder
diego
parents:
diff changeset
34 };
5163
9ecbfc0c82bf add multiple inclusion guards to headers
mru
parents: 4818
diff changeset
35
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
36 #endif /* AVCODEC_BETHSOFTVIDEO_H */