1 /* 2 * Copyright 2020 The libgav1 Authors 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17 #ifndef LIBGAV1_SRC_DSP_MOTION_FIELD_PROJECTION_H_ 18 #define LIBGAV1_SRC_DSP_MOTION_FIELD_PROJECTION_H_ 19 20 // Pull in LIBGAV1_DspXXX defines representing the implementation status 21 // of each function. The resulting value of each can be used by each module to 22 // determine whether an implementation is needed at compile time. 23 // IWYU pragma: begin_exports 24 25 // ARM: 26 #include "src/dsp/arm/motion_field_projection_neon.h" 27 // x86: 28 // Note includes should be sorted in logical order avx2/avx/sse4, etc. 29 // The order of includes is important as each tests for a superior version 30 // before setting the base. 31 // clang-format off 32 // SSE4_1 33 #include "src/dsp/x86/motion_field_projection_sse4.h" 34 // clang-format on 35 36 // IWYU pragma: end_exports 37 38 namespace libgav1 { 39 namespace dsp { 40 41 // Initializes Dsp::motion_field_projection_kernel. This function is not 42 // thread-safe. 43 void MotionFieldProjectionInit_C(); 44 45 } // namespace dsp 46 } // namespace libgav1 47 48 #endif // LIBGAV1_SRC_DSP_MOTION_FIELD_PROJECTION_H_ 49