/xbmc/cores/VideoRenderers/yuv2rgb.neon.h

http://github.com/xbmc/xbmc · C Header · 55 lines · 32 code · 4 blank · 19 comment · 0 complexity · 93f2d55d0b2b59448ed641f285682200 MD5 · raw file

  1. /*
  2. * Copyright (C) 2005-2013 Team XBMC
  3. * http://xbmc.org
  4. *
  5. * This Program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation; either version 2, or (at your option)
  8. * any later version.
  9. *
  10. * This Program is distributed in the hope that it will be useful,
  11. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. * GNU General Public License for more details.
  14. *
  15. * You should have received a copy of the GNU General Public License
  16. * along with XBMC; see the file COPYING. If not, see
  17. * <http://www.gnu.org/licenses/>.
  18. *
  19. */
  20. #ifdef __cplusplus
  21. extern "C" {
  22. #endif
  23. #if defined(__ARM_NEON__)
  24. void yuv420_2_rgb8888_neon
  25. (
  26. uint8_t *dst_ptr,
  27. const uint8_t *y_ptr,
  28. const uint8_t *u_ptr,
  29. const uint8_t *v_ptr,
  30. int width,
  31. int height,
  32. int y_pitch,
  33. int uv_pitch,
  34. int rgb_pitch
  35. );
  36. void yuv422_2_rgb8888_neon
  37. (
  38. uint8_t *dst_ptr,
  39. const uint8_t *y_ptr,
  40. const uint8_t *u_ptr,
  41. const uint8_t *v_ptr,
  42. int width,
  43. int height,
  44. int y_pitch,
  45. int uv_pitch,
  46. int rgb_pitch
  47. );
  48. #endif
  49. #ifdef __cplusplus
  50. }
  51. #endif