PageRenderTime 17ms CodeModel.GetById 10ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 0ms

/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
21#ifdef __cplusplus
22extern "C" {
23#endif
24
25#if defined(__ARM_NEON__)
26  void yuv420_2_rgb8888_neon
27  (
28    uint8_t *dst_ptr,
29    const uint8_t *y_ptr,
30    const uint8_t *u_ptr,
31    const uint8_t *v_ptr,
32    int width,
33    int height,
34    int y_pitch,
35    int uv_pitch,
36    int rgb_pitch
37  );
38
39  void yuv422_2_rgb8888_neon
40  (
41    uint8_t *dst_ptr,
42    const uint8_t *y_ptr,
43    const uint8_t *u_ptr,
44    const uint8_t *v_ptr,
45    int width,
46    int height,
47    int y_pitch,
48    int uv_pitch,
49    int rgb_pitch
50  );
51#endif
52
53#ifdef __cplusplus
54}
55#endif