annotate msmpeg4data.h @ 5542:b0a566346fb1 libavcodec

Add attribute that forces alignment of stack to functions that need it. Necessary for systems that don't align by default to 16 bytes, required by some SSE instructions. Requires GCC >= 4.2. Based on patch by Ga¸«³l Chardon.
author ramiro
date Mon, 13 Aug 2007 15:28:29 +0000
parents 470601203f44
children 56bc8fbd9aee
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
1 /*
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
2 * MSMPEG4 backend for ffmpeg encoder and decoder
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
3 * copyright (c) 2001 Fabrice Bellard
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
4 * copyright (c) 2002-2004 Michael Niedermayer <michaelni@gmx.at>
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
5 *
5214
470601203f44 Group all copyright and author notices together.
diego
parents: 4964
diff changeset
6 * msmpeg4v1 & v2 stuff by Michael Niedermayer <michaelni@gmx.at>
470601203f44 Group all copyright and author notices together.
diego
parents: 4964
diff changeset
7 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
8 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
9 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
10 * FFmpeg is free software; you can redistribute it and/or
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
11 * modify it under the terms of the GNU Lesser General Public
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
12 * License as published by the Free Software Foundation; either
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
13 * version 2.1 of the License, or (at your option) any later version.
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
14 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
15 * FFmpeg is distributed in the hope that it will be useful,
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
18 * Lesser General Public License for more details.
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
19 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
20 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
21 * License along with FFmpeg; if not, write to the Free Software
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
23 */
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 2967
diff changeset
24
1106
1e39f273ecd6 per file doxy
michaelni
parents: 1013
diff changeset
25 /**
1e39f273ecd6 per file doxy
michaelni
parents: 1013
diff changeset
26 * @file msmpeg4data.h
2967
ef2149182f1c COSMETICS: Remove all trailing whitespace.
diego
parents: 2965
diff changeset
27 * MSMPEG4 data tables.
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
28 */
986e461dc072 Initial revision
glantau
parents:
diff changeset
29
4964
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
30 #ifndef MSMPEG4DATA_H
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
31 #define MSMPEG4DATA_H
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
32
4964
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
33 #include "common.h"
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
34 #include "bitstream.h"
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
35
4964
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
36 extern VLC ff_msmp4_mb_i_vlc;
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
37 extern VLC ff_msmp4_dc_luma_vlc[2];
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
38 extern VLC ff_msmp4_dc_chroma_vlc[2];
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
39
4964
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
40 /* intra picture macro block coded block pattern */
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
41 extern const uint16_t ff_msmp4_mb_i_table[64][2];
0
986e461dc072 Initial revision
glantau
parents:
diff changeset
42
4964
9fb6d2125500 split msmpeg4 data to easily share some of it with vc1.c
aurel
parents: 4887
diff changeset
43 #endif /* MSMPEG4DATA_H */