1 /* 2 * Copyright (c) 2016, Alliance for Open Media. All rights reserved 3 * 4 * This source code is subject to the terms of the BSD 2 Clause License and 5 * the Alliance for Open Media Patent License 1.0. If the BSD 2 Clause License 6 * was not distributed with this source code in the LICENSE file, you can 7 * obtain it at www.aomedia.org/license/software. If the Alliance for Open 8 * Media Patent License 1.0 was not distributed with this source code in the 9 * PATENTS file, you can obtain it at www.aomedia.org/license/patent. 10 */ 11 12 #include "config/aom_config.h" 13 #include "config/aom_dsp_rtcd.h" 14 15 #include "aom_dsp/x86/convolve.h" 16 17 #if HAVE_SSE2 18 #if CONFIG_AV1_HIGHBITDEPTH 19 highbd_filter8_1dfunction aom_highbd_filter_block1d16_v8_sse2; 20 highbd_filter8_1dfunction aom_highbd_filter_block1d16_h8_sse2; 21 highbd_filter8_1dfunction aom_highbd_filter_block1d8_v8_sse2; 22 highbd_filter8_1dfunction aom_highbd_filter_block1d8_h8_sse2; 23 highbd_filter8_1dfunction aom_highbd_filter_block1d4_v8_sse2; 24 highbd_filter8_1dfunction aom_highbd_filter_block1d4_h8_sse2; 25 26 highbd_filter8_1dfunction aom_highbd_filter_block1d16_v4_sse2; 27 highbd_filter8_1dfunction aom_highbd_filter_block1d16_h4_sse2; 28 highbd_filter8_1dfunction aom_highbd_filter_block1d8_v4_sse2; 29 highbd_filter8_1dfunction aom_highbd_filter_block1d8_h4_sse2; 30 highbd_filter8_1dfunction aom_highbd_filter_block1d4_v4_sse2; 31 highbd_filter8_1dfunction aom_highbd_filter_block1d4_h4_sse2; 32 33 highbd_filter8_1dfunction aom_highbd_filter_block1d16_v2_sse2; 34 highbd_filter8_1dfunction aom_highbd_filter_block1d16_h2_sse2; 35 highbd_filter8_1dfunction aom_highbd_filter_block1d8_v2_sse2; 36 highbd_filter8_1dfunction aom_highbd_filter_block1d8_h2_sse2; 37 highbd_filter8_1dfunction aom_highbd_filter_block1d4_v2_sse2; 38 highbd_filter8_1dfunction aom_highbd_filter_block1d4_h2_sse2; 39 40 // void aom_highbd_convolve8_horiz_sse2(const uint8_t *src, 41 // ptrdiff_t src_stride, 42 // uint8_t *dst, 43 // ptrdiff_t dst_stride, 44 // const int16_t *filter_x, 45 // int x_step_q4, 46 // const int16_t *filter_y, 47 // int y_step_q4, 48 // int w, int h, int bd); 49 // void aom_highbd_convolve8_vert_sse2(const uint8_t *src, 50 // ptrdiff_t src_stride, 51 // uint8_t *dst, 52 // ptrdiff_t dst_stride, 53 // const int16_t *filter_x, 54 // int x_step_q4, 55 // const int16_t *filter_y, 56 // int y_step_q4, 57 // int w, int h, int bd); 58 HIGH_FUN_CONV_1D(horiz, x_step_q4, filter_x, h, src, , sse2) 59 HIGH_FUN_CONV_1D(vert, y_step_q4, filter_y, v, src - src_stride * 3, , sse2) 60 #endif 61 #endif // HAVE_SSE2 62