comparison i386/dsputil_mmx.h @ 5946:55251379b5b1 libavcodec

make ff_p* vars extern so that they can be used in various *_mmx.c files
author aurel
date Tue, 27 Nov 2007 22:23:34 +0000
parents
children 37a03989871b
comparison
equal deleted inserted replaced
5945:3413fce9e26a 5946:55251379b5b1
1 /*
2 * MMX optimized DSP utils
3 * Copyright (c) 2007 Aurelien Jacobs <aurel@gnuage.org>
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 #ifndef FFMPEG_DSPUTIL_MMX_H
23 #define FFMPEG_DSPUTIL_MMX_H
24
25 extern const uint64_t mm_bone;
26 extern const uint64_t mm_wone;
27 extern const uint64_t mm_wtwo;
28 extern const uint64_t mm_wabs;
29
30 extern const uint64_t ff_pdw_80000000[2];
31
32 extern const uint64_t ff_pw_3;
33 extern const uint64_t ff_pw_4;
34 extern const uint64_t ff_pw_5;
35 extern const uint64_t ff_pw_8;
36 extern const uint64_t ff_pw_15;
37 extern const uint64_t ff_pw_16;
38 extern const uint64_t ff_pw_20;
39 extern const uint64_t ff_pw_32;
40 extern const uint64_t ff_pw_42;
41 extern const uint64_t ff_pw_64;
42 extern const uint64_t ff_pw_96;
43 extern const uint64_t ff_pw_128;
44
45 extern const uint64_t ff_pb_1;
46 extern const uint64_t ff_pb_3;
47 extern const uint64_t ff_pb_7;
48 extern const uint64_t ff_pb_3F;
49 extern const uint64_t ff_pb_5F;
50 extern const uint64_t ff_pb_A1;
51 extern const uint64_t ff_pb_FC;
52
53 extern const double ff_pd_1[2];
54 extern const double ff_pd_2[2];
55
56 #endif /* FFMPEG_DSPUTIL_MMX_H */