From bfe2b31cee6fd7761ea387fa1617b9b71774a9f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arttu=20Yl=C3=A4-Outinen?= Date: Wed, 26 Aug 2015 11:50:53 +0300 Subject: [PATCH] Make generic satd functions static. --- src/strategies/generic/picture-generic.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/strategies/generic/picture-generic.c b/src/strategies/generic/picture-generic.c index f2cdb5b8..c56c3977 100644 --- a/src/strategies/generic/picture-generic.c +++ b/src/strategies/generic/picture-generic.c @@ -285,7 +285,7 @@ unsigned satd_8x8_general(const kvz_pixel * piOrg, const int32_t iStrideOrg, // for fixed size blocks. They calculate hadamard for integer // multiples of 8x8 with the 8x8 hadamard function. #define SATD_NXN(n, pixel_type) \ -unsigned satd_ ## n ## x ## n ## _generic( \ +static unsigned satd_ ## n ## x ## n ## _generic( \ const pixel_type * const block1, const pixel_type * const block2) \ { \ unsigned x, y; \ @@ -300,11 +300,11 @@ unsigned satd_ ## n ## x ## n ## _generic( \ } // Declare these functions to make sure the signature of the macro matches. -cost_pixel_nxn_func satd_4x4_generic; -cost_pixel_nxn_func satd_8x8_generic; -cost_pixel_nxn_func satd_16x16_generic; -cost_pixel_nxn_func satd_32x32_generic; -cost_pixel_nxn_func satd_64x64_generic; +static cost_pixel_nxn_func satd_4x4_generic; +static cost_pixel_nxn_func satd_8x8_generic; +static cost_pixel_nxn_func satd_16x16_generic; +static cost_pixel_nxn_func satd_32x32_generic; +static cost_pixel_nxn_func satd_64x64_generic; // These macros define sadt_16bit_NxN for N = 8, 16, 32, 64 SATD_NXN(8, kvz_pixel)