2 * Copyright (c) 2010 The WebM project authors. All Rights Reserved.
4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree.
11 #include "vpx_config.h"
15 unsigned int vp8_sub_pixel_variance16x16_neon
17 const unsigned char *src_ptr
,
18 int src_pixels_per_line
,
21 const unsigned char *dst_ptr
,
22 int dst_pixels_per_line
,
26 if (xoffset
== 4 && yoffset
== 0)
27 return vp8_variance_halfpixvar16x16_h_neon(src_ptr
, src_pixels_per_line
, dst_ptr
, dst_pixels_per_line
, sse
);
28 else if (xoffset
== 0 && yoffset
== 4)
29 return vp8_variance_halfpixvar16x16_v_neon(src_ptr
, src_pixels_per_line
, dst_ptr
, dst_pixels_per_line
, sse
);
30 else if (xoffset
== 4 && yoffset
== 4)
31 return vp8_variance_halfpixvar16x16_hv_neon(src_ptr
, src_pixels_per_line
, dst_ptr
, dst_pixels_per_line
, sse
);
33 return vp8_sub_pixel_variance16x16_neon_func(src_ptr
, src_pixels_per_line
, xoffset
, yoffset
, dst_ptr
, dst_pixels_per_line
, sse
);