FFmpeg
constants.c
Go to the documentation of this file.
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 #include "libavutil/intfloat.h"
23 #include "constants.h"
24 
25 const union av_intfloat64 ff_pw_1 = {0x0001000100010001ULL};
26 const union av_intfloat64 ff_pw_2 = {0x0002000200020002ULL};
27 const union av_intfloat64 ff_pw_3 = {0x0003000300030003ULL};
28 const union av_intfloat64 ff_pw_4 = {0x0004000400040004ULL};
29 const union av_intfloat64 ff_pw_5 = {0x0005000500050005ULL};
30 const union av_intfloat64 ff_pw_6 = {0x0006000600060006ULL};
31 const union av_intfloat64 ff_pw_8 = {0x0008000800080008ULL};
32 const union av_intfloat64 ff_pw_9 = {0x0009000900090009ULL};
33 const union av_intfloat64 ff_pw_10 = {0x000A000A000A000AULL};
34 const union av_intfloat64 ff_pw_12 = {0x000C000C000C000CULL};
35 const union av_intfloat64 ff_pw_15 = {0x000F000F000F000FULL};
36 const union av_intfloat64 ff_pw_16 = {0x0010001000100010ULL};
37 const union av_intfloat64 ff_pw_17 = {0x0011001100110011ULL};
38 const union av_intfloat64 ff_pw_18 = {0x0012001200120012ULL};
39 const union av_intfloat64 ff_pw_20 = {0x0014001400140014ULL};
40 const union av_intfloat64 ff_pw_22 = {0x0016001600160016ULL};
41 const union av_intfloat64 ff_pw_28 = {0x001C001C001C001CULL};
42 const union av_intfloat64 ff_pw_32 = {0x0020002000200020ULL};
43 const union av_intfloat64 ff_pw_53 = {0x0035003500350035ULL};
44 const union av_intfloat64 ff_pw_64 = {0x0040004000400040ULL};
45 const union av_intfloat64 ff_pw_128 = {0x0080008000800080ULL};
46 const union av_intfloat64 ff_pw_512 = {0x0200020002000200ULL};
47 const union av_intfloat64 ff_pw_m8tom5 = {0xFFFBFFFAFFF9FFF8ULL};
48 const union av_intfloat64 ff_pw_m4tom1 = {0xFFFFFFFEFFFDFFFCULL};
49 const union av_intfloat64 ff_pw_1to4 = {0x0004000300020001ULL};
50 const union av_intfloat64 ff_pw_5to8 = {0x0008000700060005ULL};
51 const union av_intfloat64 ff_pw_0to3 = {0x0003000200010000ULL};
52 const union av_intfloat64 ff_pw_4to7 = {0x0007000600050004ULL};
53 const union av_intfloat64 ff_pw_8tob = {0x000b000a00090008ULL};
54 const union av_intfloat64 ff_pw_ctof = {0x000f000e000d000cULL};
55 const union av_intfloat64 ff_pw_32_1 = {0x0000000100000001ULL};
56 const union av_intfloat64 ff_pw_32_4 = {0x0000000400000004ULL};
57 const union av_intfloat64 ff_pw_32_64 = {0x0000004000000040ULL};
58 const union av_intfloat64 ff_pb_1 = {0x0101010101010101ULL};
59 const union av_intfloat64 ff_pb_3 = {0x0303030303030303ULL};
60 const union av_intfloat64 ff_pb_80 = {0x8080808080808080ULL};
61 const union av_intfloat64 ff_pb_A1 = {0xA1A1A1A1A1A1A1A1ULL};
62 const union av_intfloat64 ff_pb_FE = {0xFEFEFEFEFEFEFEFEULL};
63 const union av_intfloat64 ff_rnd = {0x0004000400040004ULL};
64 const union av_intfloat64 ff_rnd2 = {0x0040004000400040ULL};
65 const union av_intfloat64 ff_rnd3 = {0x0020002000200020ULL};
66 const union av_intfloat64 ff_ff_wm1010 = {0xFFFF0000FFFF0000ULL};
67 const union av_intfloat64 ff_d40000 = {0x0000000000040000ULL};
ff_ff_wm1010
const union av_intfloat64 ff_ff_wm1010
Definition: constants.c:66
ff_pw_0to3
const union av_intfloat64 ff_pw_0to3
Definition: constants.c:51
ff_pw_5to8
const union av_intfloat64 ff_pw_5to8
Definition: constants.c:50
ff_pw_512
const union av_intfloat64 ff_pw_512
Definition: constants.c:46
ff_pw_ctof
const union av_intfloat64 ff_pw_ctof
Definition: constants.c:54
ff_pw_8
const union av_intfloat64 ff_pw_8
Definition: constants.c:31
ff_rnd2
const union av_intfloat64 ff_rnd2
Definition: constants.c:64
ff_pw_4
const union av_intfloat64 ff_pw_4
Definition: constants.c:28
ff_pb_1
const union av_intfloat64 ff_pb_1
Definition: constants.c:58
ff_pw_18
const union av_intfloat64 ff_pw_18
Definition: constants.c:38
intfloat.h
ff_d40000
const union av_intfloat64 ff_d40000
Definition: constants.c:67
ff_pw_3
const union av_intfloat64 ff_pw_3
Definition: constants.c:27
ff_pw_1
const union av_intfloat64 ff_pw_1
Definition: constants.c:25
ff_pw_m4tom1
const union av_intfloat64 ff_pw_m4tom1
Definition: constants.c:48
ff_pw_64
const union av_intfloat64 ff_pw_64
Definition: constants.c:44
constants.h
ff_pb_A1
const union av_intfloat64 ff_pb_A1
Definition: constants.c:61
ff_pw_32
const union av_intfloat64 ff_pw_32
Definition: constants.c:42
ff_pw_12
const union av_intfloat64 ff_pw_12
Definition: constants.c:34
ff_pw_20
const union av_intfloat64 ff_pw_20
Definition: constants.c:39
ff_pw_32_1
const union av_intfloat64 ff_pw_32_1
Definition: constants.c:55
ff_pw_6
const union av_intfloat64 ff_pw_6
Definition: constants.c:30
av_intfloat64
Definition: intfloat.h:32
ff_pw_53
const union av_intfloat64 ff_pw_53
Definition: constants.c:43
ff_pw_m8tom5
const union av_intfloat64 ff_pw_m8tom5
Definition: constants.c:47
ff_pw_1to4
const union av_intfloat64 ff_pw_1to4
Definition: constants.c:49
ff_pw_10
const union av_intfloat64 ff_pw_10
Definition: constants.c:33
ff_pw_15
const union av_intfloat64 ff_pw_15
Definition: constants.c:35
ff_pw_128
const union av_intfloat64 ff_pw_128
Definition: constants.c:45
ff_pw_8tob
const union av_intfloat64 ff_pw_8tob
Definition: constants.c:53
ff_pb_FE
const union av_intfloat64 ff_pb_FE
Definition: constants.c:62
ff_pw_32_64
const union av_intfloat64 ff_pw_32_64
Definition: constants.c:57
ff_pw_17
const union av_intfloat64 ff_pw_17
Definition: constants.c:37
ff_pw_32_4
const union av_intfloat64 ff_pw_32_4
Definition: constants.c:56
ff_pw_28
const union av_intfloat64 ff_pw_28
Definition: constants.c:41
ff_rnd3
const union av_intfloat64 ff_rnd3
Definition: constants.c:65
ff_rnd
const union av_intfloat64 ff_rnd
Definition: constants.c:63
ff_pw_22
const union av_intfloat64 ff_pw_22
Definition: constants.c:40
ff_pw_2
const union av_intfloat64 ff_pw_2
Definition: constants.c:26
ff_pw_9
const union av_intfloat64 ff_pw_9
Definition: constants.c:32
ff_pb_80
const union av_intfloat64 ff_pb_80
Definition: constants.c:60
ff_pb_3
const union av_intfloat64 ff_pb_3
Definition: constants.c:59
ff_pw_4to7
const union av_intfloat64 ff_pw_4to7
Definition: constants.c:52
ff_pw_5
const union av_intfloat64 ff_pw_5
Definition: constants.c:29
ff_pw_16
const union av_intfloat64 ff_pw_16
Definition: constants.c:36