constants.h 2.26 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26
/*
 * Copyright (c) 2015 Loongson Technology Corporation Limited
 * Copyright (c) 2015 Zhou Xiaoyong <zhouxiaoyong@loongson.cn>
 *
 * This file is part of FFmpeg.
 *
 * FFmpeg is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * FFmpeg is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with FFmpeg; if not, write to the Free Software
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
 */

#ifndef AVCODEC_MIPS_CONSTANTS_H
#define AVCODEC_MIPS_CONSTANTS_H

#include <stdint.h>

27
extern const uint64_t ff_pw_1;
28
extern const uint64_t ff_pw_2;
29 30 31
extern const uint64_t ff_pw_3;
extern const uint64_t ff_pw_4;
extern const uint64_t ff_pw_5;
32
extern const uint64_t ff_pw_6;
33 34
extern const uint64_t ff_pw_8;
extern const uint64_t ff_pw_9;
35
extern const uint64_t ff_pw_10;
36 37
extern const uint64_t ff_pw_12;
extern const uint64_t ff_pw_15;
38
extern const uint64_t ff_pw_16;
39
extern const uint64_t ff_pw_17;
40
extern const uint64_t ff_pw_18;
41
extern const uint64_t ff_pw_20;
42
extern const uint64_t ff_pw_22;
43 44 45 46 47
extern const uint64_t ff_pw_28;
extern const uint64_t ff_pw_32;
extern const uint64_t ff_pw_53;
extern const uint64_t ff_pw_64;
extern const uint64_t ff_pw_128;
48
extern const uint64_t ff_pw_512;
49 50 51 52 53 54
extern const uint64_t ff_pw_m8tom5;
extern const uint64_t ff_pw_m4tom1;
extern const uint64_t ff_pw_1to4;
extern const uint64_t ff_pw_5to8;
extern const uint64_t ff_pw_0to3;
extern const uint64_t ff_pw_4to7;
55 56
extern const uint64_t ff_pw_8tob;
extern const uint64_t ff_pw_ctof;
57

58 59 60 61
extern const uint64_t ff_pb_1;
extern const uint64_t ff_pb_3;
extern const uint64_t ff_pb_80;
extern const uint64_t ff_pb_A1;
62
extern const uint64_t ff_pb_FE;
63

64 65 66
extern const uint64_t ff_rnd;
extern const uint64_t ff_rnd2;
extern const uint64_t ff_rnd3;
67

68 69 70
extern const uint64_t ff_wm1010;
extern const uint64_t ff_d40000;

71
#endif /* AVCODEC_MIPS_CONSTANTS_H */