]> git.sesse.net Git - ffmpeg/blob - libavcodec/mips/constants.h
libkvazaar: Replace asserts with proper errors
[ffmpeg] / libavcodec / mips / constants.h
1 /*
2  * Copyright (c) 2015 Loongson Technology Corporation Limited
3  * Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
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 AVCODEC_MIPS_CONSTANTS_H
23 #define AVCODEC_MIPS_CONSTANTS_H
24
25 #include <stdint.h>
26
27 extern const uint64_t ff_pw_1;
28 extern const uint64_t ff_pw_3;
29 extern const uint64_t ff_pw_4;
30 extern const uint64_t ff_pw_5;
31 extern const uint64_t ff_pw_8;
32 extern const uint64_t ff_pw_9;
33 extern const uint64_t ff_pw_10;
34 extern const uint64_t ff_pw_16;
35 extern const uint64_t ff_pw_18;
36 extern const uint64_t ff_pw_20;
37 extern const uint64_t ff_pw_28;
38 extern const uint64_t ff_pw_32;
39 extern const uint64_t ff_pw_53;
40 extern const uint64_t ff_pw_64;
41 extern const uint64_t ff_pw_128;
42 extern const uint64_t ff_pw_512;
43 extern const uint64_t ff_pw_m8tom5;
44 extern const uint64_t ff_pw_m4tom1;
45 extern const uint64_t ff_pw_1to4;
46 extern const uint64_t ff_pw_5to8;
47 extern const uint64_t ff_pw_0to3;
48 extern const uint64_t ff_pw_4to7;
49 extern const uint64_t ff_pw_8tob;
50 extern const uint64_t ff_pw_ctof;
51
52 extern const uint64_t ff_pb_1;
53 extern const uint64_t ff_pb_3;
54 extern const uint64_t ff_pb_80;
55 extern const uint64_t ff_pb_A1;
56 extern const uint64_t ff_pb_FE;
57
58 extern const uint64_t ff_rnd;
59 extern const uint64_t ff_rnd2;
60 extern const uint64_t ff_rnd3;
61
62 extern const uint64_t ff_wm1010;
63 extern const uint64_t ff_d40000;
64
65 #endif /* AVCODEC_MIPS_CONSTANTS_H */