1 /* 2 * Copyright (c) 2011 The WebM project authors. All Rights Reserved. 3 * 4 * Use of this source code is governed by a BSD-style license 5 * that can be found in the LICENSE file in the root of the source 6 * tree. An additional intellectual property rights grant can be found 7 * in the file PATENTS. All contributing project authors may 8 * be found in the AUTHORS file in the root of the source tree. 9 */ 10 11 #include "vp8/common/x86/filter_x86.h" 12 13 DECLARE_ALIGNED(16, const short, vp8_bilinear_filters_x86_4[8][8]) = 14 { 15 { 128, 128, 128, 128, 0, 0, 0, 0 }, 16 { 112, 112, 112, 112, 16, 16, 16, 16 }, 17 { 96, 96, 96, 96, 32, 32, 32, 32 }, 18 { 80, 80, 80, 80, 48, 48, 48, 48 }, 19 { 64, 64, 64, 64, 64, 64, 64, 64 }, 20 { 48, 48, 48, 48, 80, 80, 80, 80 }, 21 { 32, 32, 32, 32, 96, 96, 96, 96 }, 22 { 16, 16, 16, 16, 112, 112, 112, 112 } 23 }; 24 25 DECLARE_ALIGNED(16, const short, vp8_bilinear_filters_x86_8[8][16]) = 26 { 27 { 128, 128, 128, 128, 128, 128, 128, 128, 0, 0, 0, 0, 0, 0, 0, 0 }, 28 { 112, 112, 112, 112, 112, 112, 112, 112, 16, 16, 16, 16, 16, 16, 16, 16 }, 29 { 96, 96, 96, 96, 96, 96, 96, 96, 32, 32, 32, 32, 32, 32, 32, 32 }, 30 { 80, 80, 80, 80, 80, 80, 80, 80, 48, 48, 48, 48, 48, 48, 48, 48 }, 31 { 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64, 64 }, 32 { 48, 48, 48, 48, 48, 48, 48, 48, 80, 80, 80, 80, 80, 80, 80, 80 }, 33 { 32, 32, 32, 32, 32, 32, 32, 32, 96, 96, 96, 96, 96, 96, 96, 96 }, 34 { 16, 16, 16, 16, 16, 16, 16, 16, 112, 112, 112, 112, 112, 112, 112, 112 } 35 }; 36