1cabdff1aSopenharmony_ci/*
2cabdff1aSopenharmony_ci * Copyright (c) 2015 Loongson Technology Corporation Limited
3cabdff1aSopenharmony_ci * Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
4cabdff1aSopenharmony_ci *
5cabdff1aSopenharmony_ci * This file is part of FFmpeg.
6cabdff1aSopenharmony_ci *
7cabdff1aSopenharmony_ci * FFmpeg is free software; you can redistribute it and/or
8cabdff1aSopenharmony_ci * modify it under the terms of the GNU Lesser General Public
9cabdff1aSopenharmony_ci * License as published by the Free Software Foundation; either
10cabdff1aSopenharmony_ci * version 2.1 of the License, or (at your option) any later version.
11cabdff1aSopenharmony_ci *
12cabdff1aSopenharmony_ci * FFmpeg is distributed in the hope that it will be useful,
13cabdff1aSopenharmony_ci * but WITHOUT ANY WARRANTY; without even the implied warranty of
14cabdff1aSopenharmony_ci * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15cabdff1aSopenharmony_ci * Lesser General Public License for more details.
16cabdff1aSopenharmony_ci *
17cabdff1aSopenharmony_ci * You should have received a copy of the GNU Lesser General Public
18cabdff1aSopenharmony_ci * License along with FFmpeg; if not, write to the Free Software
19cabdff1aSopenharmony_ci * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20cabdff1aSopenharmony_ci */
21cabdff1aSopenharmony_ci
22cabdff1aSopenharmony_ci#include "libavutil/intfloat.h"
23cabdff1aSopenharmony_ci#include "constants.h"
24cabdff1aSopenharmony_ci
25cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_1 =      {0x0001000100010001ULL};
26cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_2 =      {0x0002000200020002ULL};
27cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_3 =      {0x0003000300030003ULL};
28cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_4 =      {0x0004000400040004ULL};
29cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_5 =      {0x0005000500050005ULL};
30cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_6 =      {0x0006000600060006ULL};
31cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_8 =      {0x0008000800080008ULL};
32cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_9 =      {0x0009000900090009ULL};
33cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_10 =     {0x000A000A000A000AULL};
34cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_12 =     {0x000C000C000C000CULL};
35cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_15 =     {0x000F000F000F000FULL};
36cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_16 =     {0x0010001000100010ULL};
37cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_17 =     {0x0011001100110011ULL};
38cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_18 =     {0x0012001200120012ULL};
39cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_20 =     {0x0014001400140014ULL};
40cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_22 =     {0x0016001600160016ULL};
41cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_28 =     {0x001C001C001C001CULL};
42cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_32 =     {0x0020002000200020ULL};
43cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_53 =     {0x0035003500350035ULL};
44cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_64 =     {0x0040004000400040ULL};
45cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_128 =    {0x0080008000800080ULL};
46cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_512 =    {0x0200020002000200ULL};
47cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_m8tom5 = {0xFFFBFFFAFFF9FFF8ULL};
48cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_m4tom1 = {0xFFFFFFFEFFFDFFFCULL};
49cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_1to4 =   {0x0004000300020001ULL};
50cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_5to8 =   {0x0008000700060005ULL};
51cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_0to3 =   {0x0003000200010000ULL};
52cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_4to7 =   {0x0007000600050004ULL};
53cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_8tob =   {0x000b000a00090008ULL};
54cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_ctof =   {0x000f000e000d000cULL};
55cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_32_1 =   {0x0000000100000001ULL};
56cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_32_4 =   {0x0000000400000004ULL};
57cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pw_32_64 =  {0x0000004000000040ULL};
58cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pb_1 =      {0x0101010101010101ULL};
59cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pb_3 =      {0x0303030303030303ULL};
60cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pb_80 =     {0x8080808080808080ULL};
61cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pb_A1 =     {0xA1A1A1A1A1A1A1A1ULL};
62cabdff1aSopenharmony_ciconst union av_intfloat64 ff_pb_FE =     {0xFEFEFEFEFEFEFEFEULL};
63cabdff1aSopenharmony_ciconst union av_intfloat64 ff_rnd =       {0x0004000400040004ULL};
64cabdff1aSopenharmony_ciconst union av_intfloat64 ff_rnd2 =      {0x0040004000400040ULL};
65cabdff1aSopenharmony_ciconst union av_intfloat64 ff_rnd3 =      {0x0020002000200020ULL};
66cabdff1aSopenharmony_ciconst union av_intfloat64 ff_ff_wm1010 = {0xFFFF0000FFFF0000ULL};
67cabdff1aSopenharmony_ciconst union av_intfloat64 ff_d40000 =    {0x0000000000040000ULL};
68