You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

88 lines
4.8KB

  1. /*
  2. * Copyright (c) 2015 Parag Salasakar (Parag.Salasakar@imgtec.com)
  3. *
  4. * This file is part of FFmpeg.
  5. *
  6. * FFmpeg is free software; you can redistribute it and/or
  7. * modify it under the terms of the GNU Lesser General Public
  8. * License as published by the Free Software Foundation; either
  9. * version 2.1 of the License, or (at your option) any later version.
  10. *
  11. * FFmpeg is distributed in the hope that it will be useful,
  12. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  14. * Lesser General Public License for more details.
  15. *
  16. * You should have received a copy of the GNU Lesser General Public
  17. * License along with FFmpeg; if not, write to the Free Software
  18. * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  19. */
  20. #ifndef AVCODEC_MIPS_HPELDSP_MIPS_H
  21. #define AVCODEC_MIPS_HPELDSP_MIPS_H
  22. #include "libavcodec/bit_depth_template.c"
  23. void ff_put_pixels16_msa(uint8_t *block, const uint8_t *pixels,
  24. ptrdiff_t line_size, int32_t h);
  25. void ff_put_pixels16_x2_msa(uint8_t *block, const uint8_t *pixels,
  26. ptrdiff_t line_size, int32_t h);
  27. void ff_put_pixels16_y2_msa(uint8_t *block, const uint8_t *pixels,
  28. ptrdiff_t line_size, int32_t h);
  29. void ff_put_pixels16_xy2_msa(uint8_t *block, const uint8_t *pixels,
  30. ptrdiff_t line_size, int32_t h);
  31. void ff_put_pixels8_msa(uint8_t *block, const uint8_t *pixels,
  32. ptrdiff_t line_size, int32_t h);
  33. void ff_put_pixels8_x2_msa(uint8_t *block, const uint8_t *pixels,
  34. ptrdiff_t line_size, int32_t h);
  35. void ff_put_pixels8_y2_msa(uint8_t *block, const uint8_t *pixels,
  36. ptrdiff_t line_size, int32_t h);
  37. void ff_put_pixels8_xy2_msa(uint8_t *block, const uint8_t *pixels,
  38. ptrdiff_t line_size, int32_t h);
  39. void ff_put_pixels4_msa(uint8_t *block, const uint8_t *pixels,
  40. ptrdiff_t line_size, int32_t h);
  41. void ff_put_pixels4_x2_msa(uint8_t *block, const uint8_t *pixels,
  42. ptrdiff_t line_size, int32_t h);
  43. void ff_put_pixels4_y2_msa(uint8_t *block, const uint8_t *pixels,
  44. ptrdiff_t line_size, int32_t h);
  45. void ff_put_pixels4_xy2_msa(uint8_t *block, const uint8_t *pixels,
  46. ptrdiff_t line_size, int32_t h);
  47. void ff_put_no_rnd_pixels16_x2_msa(uint8_t *block, const uint8_t *pixels,
  48. ptrdiff_t line_size, int32_t h);
  49. void ff_put_no_rnd_pixels16_y2_msa(uint8_t *block, const uint8_t *pixels,
  50. ptrdiff_t line_size, int32_t h);
  51. void ff_put_no_rnd_pixels16_xy2_msa(uint8_t *block, const uint8_t *pixels,
  52. ptrdiff_t line_size, int32_t h);
  53. void ff_put_no_rnd_pixels8_x2_msa(uint8_t *block, const uint8_t *pixels,
  54. ptrdiff_t line_size, int32_t h);
  55. void ff_put_no_rnd_pixels8_y2_msa(uint8_t *block, const uint8_t *pixels,
  56. ptrdiff_t line_size, int32_t h);
  57. void ff_put_no_rnd_pixels8_xy2_msa(uint8_t *block, const uint8_t *pixels,
  58. ptrdiff_t line_size, int32_t h);
  59. void ff_avg_pixels16_msa(uint8_t *block, const uint8_t *pixels,
  60. ptrdiff_t line_size, int32_t h);
  61. void ff_avg_pixels16_x2_msa(uint8_t *block, const uint8_t *pixels,
  62. ptrdiff_t line_size, int32_t h);
  63. void ff_avg_pixels16_y2_msa(uint8_t *block, const uint8_t *pixels,
  64. ptrdiff_t line_size, int32_t h);
  65. void ff_avg_pixels16_xy2_msa(uint8_t *block, const uint8_t *pixels,
  66. ptrdiff_t line_size, int32_t h);
  67. void ff_avg_pixels8_msa(uint8_t *block, const uint8_t *pixels,
  68. ptrdiff_t line_size, int32_t h);
  69. void ff_avg_pixels8_x2_msa(uint8_t *block, const uint8_t *pixels,
  70. ptrdiff_t line_size, int32_t h);
  71. void ff_avg_pixels8_y2_msa(uint8_t *block, const uint8_t *pixels,
  72. ptrdiff_t line_size, int32_t h);
  73. void ff_avg_pixels8_xy2_msa(uint8_t *block, const uint8_t *pixels,
  74. ptrdiff_t line_size, int32_t h);
  75. void ff_avg_pixels4_msa(uint8_t *block, const uint8_t *pixels,
  76. ptrdiff_t line_size, int32_t h);
  77. void ff_avg_pixels4_x2_msa(uint8_t *block, const uint8_t *pixels,
  78. ptrdiff_t line_size, int32_t h);
  79. void ff_avg_pixels4_y2_msa(uint8_t *block, const uint8_t *pixels,
  80. ptrdiff_t line_size, int32_t h);
  81. void ff_avg_pixels4_xy2_msa(uint8_t *block, const uint8_t *pixels,
  82. ptrdiff_t line_size, int32_t h);
  83. #endif // #ifndef AVCODEC_MIPS_HPELDSP_MIPS_H