| Index: source/libvpx/vp8/common/arm/variance_arm.c
|
| diff --git a/source/libvpx/vp8/common/arm/variance_arm.c b/source/libvpx/vp8/common/arm/variance_arm.c
|
| index 467a509420e302b2f460e57c42d82f11b6022b25..0f293f03d94b7b3cd031733467b976739367728c 100644
|
| --- a/source/libvpx/vp8/common/arm/variance_arm.c
|
| +++ b/source/libvpx/vp8/common/arm/variance_arm.c
|
| @@ -9,10 +9,14 @@
|
| */
|
|
|
| #include "vpx_config.h"
|
| -#include "vp8_rtcd.h"
|
| +#include "./vp8_rtcd.h"
|
| +#include "./vpx_dsp_rtcd.h"
|
| #include "vp8/common/variance.h"
|
| #include "vp8/common/filter.h"
|
|
|
| +// TODO(johannkoenig): Move this to vpx_dsp or vp8/encoder
|
| +#if CONFIG_VP8_ENCODER
|
| +
|
| #if HAVE_MEDIA
|
| #include "vp8/common/arm/bilinearfilter_arm.h"
|
|
|
| @@ -40,8 +44,8 @@ unsigned int vp8_sub_pixel_variance8x8_armv6
|
| vp8_filter_block2d_bil_second_pass_armv6(first_pass, second_pass,
|
| 8, 8, 8, VFilter);
|
|
|
| - return vp8_variance8x8_armv6(second_pass, 8, dst_ptr,
|
| - dst_pixels_per_line, sse);
|
| + return vpx_variance8x8_media(second_pass, 8, dst_ptr,
|
| + dst_pixels_per_line, sse);
|
| }
|
|
|
| unsigned int vp8_sub_pixel_variance16x16_armv6
|
| @@ -86,13 +90,13 @@ unsigned int vp8_sub_pixel_variance16x16_armv6
|
| vp8_filter_block2d_bil_second_pass_armv6(first_pass, second_pass,
|
| 16, 16, 16, VFilter);
|
|
|
| - var = vp8_variance16x16_armv6(second_pass, 16, dst_ptr,
|
| - dst_pixels_per_line, sse);
|
| + var = vpx_variance16x16_media(second_pass, 16, dst_ptr,
|
| + dst_pixels_per_line, sse);
|
| }
|
| return var;
|
| }
|
|
|
| -#endif /* HAVE_MEDIA */
|
| +#endif // HAVE_MEDIA
|
|
|
|
|
| #if HAVE_NEON
|
| @@ -129,4 +133,5 @@ unsigned int vp8_sub_pixel_variance16x16_neon
|
| return vp8_sub_pixel_variance16x16_neon_func(src_ptr, src_pixels_per_line, xoffset, yoffset, dst_ptr, dst_pixels_per_line, sse);
|
| }
|
|
|
| -#endif
|
| +#endif // HAVE_NEON
|
| +#endif // CONFIG_VP8_ENCODER
|
|
|