constants.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  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. #ifndef AVCODEC_MIPS_CONSTANTS_H
  22. #define AVCODEC_MIPS_CONSTANTS_H
  23. #include <stdint.h>
  24. extern const uint64_t ff_pw_1;
  25. extern const uint64_t ff_pw_2;
  26. extern const uint64_t ff_pw_3;
  27. extern const uint64_t ff_pw_4;
  28. extern const uint64_t ff_pw_5;
  29. extern const uint64_t ff_pw_6;
  30. extern const uint64_t ff_pw_8;
  31. extern const uint64_t ff_pw_9;
  32. extern const uint64_t ff_pw_10;
  33. extern const uint64_t ff_pw_12;
  34. extern const uint64_t ff_pw_15;
  35. extern const uint64_t ff_pw_16;
  36. extern const uint64_t ff_pw_17;
  37. extern const uint64_t ff_pw_18;
  38. extern const uint64_t ff_pw_20;
  39. extern const uint64_t ff_pw_22;
  40. extern const uint64_t ff_pw_28;
  41. extern const uint64_t ff_pw_32;
  42. extern const uint64_t ff_pw_53;
  43. extern const uint64_t ff_pw_64;
  44. extern const uint64_t ff_pw_128;
  45. extern const uint64_t ff_pw_512;
  46. extern const uint64_t ff_pw_m8tom5;
  47. extern const uint64_t ff_pw_m4tom1;
  48. extern const uint64_t ff_pw_1to4;
  49. extern const uint64_t ff_pw_5to8;
  50. extern const uint64_t ff_pw_0to3;
  51. extern const uint64_t ff_pw_4to7;
  52. extern const uint64_t ff_pw_8tob;
  53. extern const uint64_t ff_pw_ctof;
  54. extern const uint64_t ff_pb_1;
  55. extern const uint64_t ff_pb_3;
  56. extern const uint64_t ff_pb_80;
  57. extern const uint64_t ff_pb_A1;
  58. extern const uint64_t ff_pb_FE;
  59. extern const uint64_t ff_rnd;
  60. extern const uint64_t ff_rnd2;
  61. extern const uint64_t ff_rnd3;
  62. extern const uint64_t ff_wm1010;
  63. extern const uint64_t ff_d40000;
  64. #endif /* AVCODEC_MIPS_CONSTANTS_H */