ref: d73d621e5d8c8b6400e9475d0a41bf0c7243261f
parent: 26c8e720cabf4a5d3eaaaf83a3629267968e1e56
author: James Zern <[email protected]>
date: Tue Feb 18 15:42:00 EST 2014
vp9_subpixel_8t_intrin_ssse3.c: make some tables static + fix formatting Change-Id: I344d4de089d03e403f0c7b3e64aeb7086cce86ac
--- 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,