diff options
author | James Zern <jzern@google.com> | 2014-02-18 20:38:46 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2014-02-18 20:40:40 -0800 |
commit | a96af49bab1b28b6b6e5c7f3cc19b121b7169cf8 (patch) | |
tree | 271b083ca062ff47ec971f87ba209958db3a767b /vp9/common | |
parent | 26c8e720cabf4a5d3eaaaf83a3629267968e1e56 (diff) | |
download | libvpx-a96af49bab1b28b6b6e5c7f3cc19b121b7169cf8.tar libvpx-a96af49bab1b28b6b6e5c7f3cc19b121b7169cf8.tar.gz libvpx-a96af49bab1b28b6b6e5c7f3cc19b121b7169cf8.tar.bz2 libvpx-a96af49bab1b28b6b6e5c7f3cc19b121b7169cf8.zip |
vp9_subpixel_8t_intrin_avx2.c: make some tables static
+ fix formatting
Change-Id: Ia62610bff3d63855104366d7860749b6a3cf4577
Diffstat (limited to 'vp9/common')
-rw-r--r-- | vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c b/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c index 0ffb1bce3..efa960c66 100644 --- a/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c +++ b/vp9/common/x86/vp9_subpixel_8t_intrin_avx2.c @@ -12,22 +12,25 @@ #include "vpx_ports/mem.h" // filters for 16_h8 and 16_v8 -DECLARE_ALIGNED(32, const unsigned char, filt1_global_avx2[32])= { +DECLARE_ALIGNED(32, static const uint8_t, filt1_global_avx2[32]) = { 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, - 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8}; + 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8 +}; -DECLARE_ALIGNED(32, const unsigned char, filt2_global_avx2[32])= { +DECLARE_ALIGNED(32, static const uint8_t, filt2_global_avx2[32]) = { 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, - 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10}; + 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10 +}; -DECLARE_ALIGNED(32, const unsigned char, filt3_global_avx2[32])= { +DECLARE_ALIGNED(32, static const uint8_t, filt3_global_avx2[32]) = { 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, - 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12}; + 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12 +}; -DECLARE_ALIGNED(32, const unsigned char, filt4_global_avx2[32])= { +DECLARE_ALIGNED(32, static const uint8_t, filt4_global_avx2[32]) = { 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14, - 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14}; - + 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13, 14 +}; void vp9_filter_block1d16_h8_avx2(unsigned char *src_ptr, unsigned int src_pixels_per_line, |