1 /*
2 * Copyright(c) 2019 Intel Corporation
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 https://www.aomedia.org/license/software-license. 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 https://www.aomedia.org/license/patent-license.
10 */
11 
12 #ifndef EBMCP_SSE2_H
13 #define EBMCP_SSE2_H
14 
15 #include "EbDefinitions.h"
16 
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20 #define USE_PRE_COMPUTE 0
21 /**************************************************
22     * Assembly Declarations
23     **************************************************/
24 extern void picture_copy_kernel_sse2(EbByte src, uint32_t src_stride, EbByte dst,
25                                      uint32_t dst_stride, uint32_t area_width,
26                                      uint32_t area_height);
27 
28 void svt_picture_average_kernel_sse2(EbByte src0, uint32_t src0_stride, EbByte src1,
29                                      uint32_t src1_stride, EbByte dst, uint32_t dst_stride,
30                                      uint32_t area_width, uint32_t area_height);
31 
32 #ifdef __cplusplus
33 }
34 #endif
35 #endif //EBMCP_SSE2_H
36