9bf4611a02314d1084f25d79d8964f67be7ab584
1 /*****************************************************************************
2 * Copyright (C) 2013 x265 project
4 * Authors: Steve Borho <steve@borho.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program 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
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111, USA.
20 * This program is also available under a commercial proprietary license.
21 * For more information, contact us at license @ x265.com.
22 *****************************************************************************/
28 void x265_frame_init_lowres_core_ ## cpu(const pixel* src0, pixel* dst0, pixel* dsth, pixel* dstv, pixel* dstc, \
29 intptr_t src_stride, intptr_t dst_stride, int width, int height);
36 #define DECL_SUF(func, args) \
37 void func ## _mmx2 args; \
38 void func ## _sse2 args; \
39 void func ## _ssse3 args;
40 DECL_SUF(x265_pixel_avg_64x64
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
41 DECL_SUF(x265_pixel_avg_64x48
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
42 DECL_SUF(x265_pixel_avg_64x32
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
43 DECL_SUF(x265_pixel_avg_64x16
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
44 DECL_SUF(x265_pixel_avg_48x64
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
45 DECL_SUF(x265_pixel_avg_32x64
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
46 DECL_SUF(x265_pixel_avg_32x32
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
47 DECL_SUF(x265_pixel_avg_32x24
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
48 DECL_SUF(x265_pixel_avg_32x16
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
49 DECL_SUF(x265_pixel_avg_32x8
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
50 DECL_SUF(x265_pixel_avg_24x32
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
51 DECL_SUF(x265_pixel_avg_16x64
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
52 DECL_SUF(x265_pixel_avg_16x32
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
53 DECL_SUF(x265_pixel_avg_16x16
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
54 DECL_SUF(x265_pixel_avg_16x12
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
55 DECL_SUF(x265_pixel_avg_16x8
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
56 DECL_SUF(x265_pixel_avg_16x4
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
57 DECL_SUF(x265_pixel_avg_12x16
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
58 DECL_SUF(x265_pixel_avg_8x32
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
59 DECL_SUF(x265_pixel_avg_8x16
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
60 DECL_SUF(x265_pixel_avg_8x8
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
61 DECL_SUF(x265_pixel_avg_8x4
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
62 DECL_SUF(x265_pixel_avg_4x16
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
63 DECL_SUF(x265_pixel_avg_4x8
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
64 DECL_SUF(x265_pixel_avg_4x4
, (pixel
*, intptr_t, const pixel
*, intptr_t, const pixel
*, intptr_t, int))
69 #endif // ifndef X265_MC_H