1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-12 19:18:44 +02:00
FFmpeg/libavcodec/mips/constants.h
Jin Bo fd5fd48659 libavcodec/mips: Fix build errors reported by clang
Clang is more strict on the type of asm operands, float or double
type variable should use constraint 'f', integer variable should
use constraint 'r'.

Signed-off-by: Jin Bo <jinbo@loongson.cn>
Reviewed-by: yinshiyou-hf@loongson.cn
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2021-06-03 13:44:00 +02:00

70 lines
2.8 KiB
C

/*
* 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
extern const union av_intfloat64 ff_pw_1;
extern const union av_intfloat64 ff_pw_2;
extern const union av_intfloat64 ff_pw_3;
extern const union av_intfloat64 ff_pw_4;
extern const union av_intfloat64 ff_pw_5;
extern const union av_intfloat64 ff_pw_6;
extern const union av_intfloat64 ff_pw_8;
extern const union av_intfloat64 ff_pw_9;
extern const union av_intfloat64 ff_pw_10;
extern const union av_intfloat64 ff_pw_12;
extern const union av_intfloat64 ff_pw_15;
extern const union av_intfloat64 ff_pw_16;
extern const union av_intfloat64 ff_pw_17;
extern const union av_intfloat64 ff_pw_18;
extern const union av_intfloat64 ff_pw_20;
extern const union av_intfloat64 ff_pw_22;
extern const union av_intfloat64 ff_pw_28;
extern const union av_intfloat64 ff_pw_32;
extern const union av_intfloat64 ff_pw_53;
extern const union av_intfloat64 ff_pw_64;
extern const union av_intfloat64 ff_pw_128;
extern const union av_intfloat64 ff_pw_512;
extern const union av_intfloat64 ff_pw_m8tom5;
extern const union av_intfloat64 ff_pw_m4tom1;
extern const union av_intfloat64 ff_pw_1to4;
extern const union av_intfloat64 ff_pw_5to8;
extern const union av_intfloat64 ff_pw_0to3;
extern const union av_intfloat64 ff_pw_4to7;
extern const union av_intfloat64 ff_pw_8tob;
extern const union av_intfloat64 ff_pw_ctof;
extern const union av_intfloat64 ff_pw_32_1;
extern const union av_intfloat64 ff_pw_32_4;
extern const union av_intfloat64 ff_pw_32_64;
extern const union av_intfloat64 ff_pb_1;
extern const union av_intfloat64 ff_pb_3;
extern const union av_intfloat64 ff_pb_80;
extern const union av_intfloat64 ff_pb_A1;
extern const union av_intfloat64 ff_pb_FE;
extern const union av_intfloat64 ff_rnd;
extern const union av_intfloat64 ff_rnd2;
extern const union av_intfloat64 ff_rnd3;
extern const union av_intfloat64 ff_wm1010;
extern const union av_intfloat64 ff_d40000;
#endif /* AVCODEC_MIPS_CONSTANTS_H */