xref: /aosp_15_r20/external/libaom/av1/encoder/x86/ml_sse3.h (revision 77c1e3ccc04c968bd2bc212e87364f250e820521)
1 /*
2  * Copyright (c) 2023, 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 #ifndef AOM_AV1_ENCODER_X86_ML_SSE3_H_
13 #define AOM_AV1_ENCODER_X86_ML_SSE3_H_
14 
15 #include <pmmintrin.h>
16 
17 void av1_nn_propagate_4to1_sse3(const float *const inputs,
18                                 const float *const weights,
19                                 __m128 *const output);
20 
21 void av1_nn_propagate_4to4_sse3(const float *const inputs,
22                                 const float *const weights,
23                                 __m128 *const outputs, const int num_inputs);
24 
25 void av1_nn_propagate_4to8_sse3(const float *const inputs,
26                                 const float *const weights, __m128 *const out_h,
27                                 __m128 *const out_l, const int num_inputs);
28 
29 #endif  // AOM_AV1_ENCODER_X86_ML_SSE3_H_
30