2 * Copyright (c) 2015 Loongson Technology Corporation Limited
3 * Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
5 * This file is part of FFmpeg.
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.
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.
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
22 #ifndef AVCODEC_MIPS_CONSTANTS_H
23 #define AVCODEC_MIPS_CONSTANTS_H
27 extern const uint64_t ff_pw_1;
28 extern const uint64_t ff_pw_2;
29 extern const uint64_t ff_pw_3;
30 extern const uint64_t ff_pw_4;
31 extern const uint64_t ff_pw_5;
32 extern const uint64_t ff_pw_8;
33 extern const uint64_t ff_pw_9;
34 extern const uint64_t ff_pw_10;
35 extern const uint64_t ff_pw_16;
36 extern const uint64_t ff_pw_18;
37 extern const uint64_t ff_pw_20;
38 extern const uint64_t ff_pw_28;
39 extern const uint64_t ff_pw_32;
40 extern const uint64_t ff_pw_53;
41 extern const uint64_t ff_pw_64;
42 extern const uint64_t ff_pw_128;
43 extern const uint64_t ff_pw_512;
44 extern const uint64_t ff_pw_m8tom5;
45 extern const uint64_t ff_pw_m4tom1;
46 extern const uint64_t ff_pw_1to4;
47 extern const uint64_t ff_pw_5to8;
48 extern const uint64_t ff_pw_0to3;
49 extern const uint64_t ff_pw_4to7;
50 extern const uint64_t ff_pw_8tob;
51 extern const uint64_t ff_pw_ctof;
53 extern const uint64_t ff_pb_1;
54 extern const uint64_t ff_pb_3;
55 extern const uint64_t ff_pb_80;
56 extern const uint64_t ff_pb_A1;
57 extern const uint64_t ff_pb_FE;
59 extern const uint64_t ff_rnd;
60 extern const uint64_t ff_rnd2;
61 extern const uint64_t ff_rnd3;
63 extern const uint64_t ff_wm1010;
64 extern const uint64_t ff_d40000;
66 #endif /* AVCODEC_MIPS_CONSTANTS_H */