hevcpred_mips.h 3.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Copyright (c) 2015 Shivraj Patil (Shivraj.Patil@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_HEVCPRED_MIPS_H
  21. #define AVCODEC_MIPS_HEVCPRED_MIPS_H
  22. #include "libavcodec/hevcpred.h"
  23. void ff_hevc_intra_pred_planar_0_msa(uint8_t *dst,
  24. const uint8_t *src_top,
  25. const uint8_t *src_left,
  26. ptrdiff_t stride);
  27. void ff_hevc_intra_pred_planar_1_msa(uint8_t *dst,
  28. const uint8_t *src_top,
  29. const uint8_t *src_left,
  30. ptrdiff_t stride);
  31. void ff_hevc_intra_pred_planar_2_msa(uint8_t *dst,
  32. const uint8_t *src_top,
  33. const uint8_t *src_left,
  34. ptrdiff_t stride);
  35. void ff_hevc_intra_pred_planar_3_msa(uint8_t *dst,
  36. const uint8_t *src_top,
  37. const uint8_t *src_left,
  38. ptrdiff_t stride);
  39. void ff_hevc_intra_pred_dc_msa(uint8_t *dst, const uint8_t *src_top,
  40. const uint8_t *src_left,
  41. ptrdiff_t stride, int log2, int c_idx);
  42. void ff_pred_intra_pred_angular_0_msa(uint8_t *dst,
  43. const uint8_t *src_top,
  44. const uint8_t *src_left,
  45. ptrdiff_t stride, int c_idx, int mode);
  46. void ff_pred_intra_pred_angular_1_msa(uint8_t *dst,
  47. const uint8_t *src_top,
  48. const uint8_t *src_left,
  49. ptrdiff_t stride, int c_idx, int mode);
  50. void ff_pred_intra_pred_angular_2_msa(uint8_t *dst,
  51. const uint8_t *src_top,
  52. const uint8_t *src_left,
  53. ptrdiff_t stride, int c_idx, int mode);
  54. void ff_pred_intra_pred_angular_3_msa(uint8_t *dst,
  55. const uint8_t *src_top,
  56. const uint8_t *src_left,
  57. ptrdiff_t stride, int c_idx, int mode);
  58. void ff_intra_pred_8_16x16_msa(struct HEVCContext *s, int x0, int y0, int c_idx);
  59. void ff_intra_pred_8_32x32_msa(struct HEVCContext *s, int x0, int y0, int c_idx);
  60. #endif // #ifndef AVCODEC_MIPS_HEVCPRED_MIPS_H