From d73d621e5d8c8b6400e9475d0a41bf0c7243261f Mon Sep 17 00:00:00 2001 From: James Zern Date: Tue, 18 Feb 2014 20:42:00 -0800 Subject: [PATCH] vp9_subpixel_8t_intrin_ssse3.c: make some tables static + fix formatting Change-Id: I344d4de089d03e403f0c7b3e64aeb7086cce86ac --- vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c | 30 +++++++++++-------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c b/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c index dbea1419a..cf28d8d2b 100644 --- a/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c +++ b/vp9/common/x86/vp9_subpixel_8t_intrin_ssse3.c @@ -13,24 +13,30 @@ #include "vpx_ports/emmintrin_compat.h" // filters only for the 4_h8 convolution -DECLARE_ALIGNED(16, const unsigned char, filt1_4_h8[16])= { - 0, 1, 1, 2, 2, 3, 3, 4, 2, 3, 3, 4, 4, 5, 5, 6}; +DECLARE_ALIGNED(16, static const uint8_t, filt1_4_h8[16]) = { + 0, 1, 1, 2, 2, 3, 3, 4, 2, 3, 3, 4, 4, 5, 5, 6 +}; -DECLARE_ALIGNED(16, const unsigned char, filt2_4_h8[16])= { - 4, 5, 5, 6, 6, 7, 7, 8, 6, 7, 7, 8, 8, 9, 9, 10}; +DECLARE_ALIGNED(16, static const uint8_t, filt2_4_h8[16]) = { + 4, 5, 5, 6, 6, 7, 7, 8, 6, 7, 7, 8, 8, 9, 9, 10 +}; // filters for 8_h8 and 16_h8 -DECLARE_ALIGNED(16, const unsigned char, filt1_global[16])= { - 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8}; +DECLARE_ALIGNED(16, static const uint8_t, filt1_global[16]) = { + 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8 +}; -DECLARE_ALIGNED(16, const unsigned char, filt2_global[16])= { - 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10}; +DECLARE_ALIGNED(16, static const uint8_t, filt2_global[16]) = { + 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10 +}; -DECLARE_ALIGNED(16, const unsigned char, filt3_global[16])= { - 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12}; +DECLARE_ALIGNED(16, static const uint8_t, filt3_global[16]) = { + 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12 +}; -DECLARE_ALIGNED(16, const unsigned char, filt4_global[16])= { - 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14}; +DECLARE_ALIGNED(16, static const uint8_t, filt4_global[16]) = { + 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14 +}; void vp9_filter_block1d4_h8_intrin_ssse3(unsigned char *src_ptr, unsigned int src_pixels_per_line, -- 2.50.1