blob: 545e6ee65e4641a682dae35f502f4df7c1bcbabf [file] [log] [blame]
#ifndef LIBGAV1_SRC_DSP_CONVOLVE_H_
#define LIBGAV1_SRC_DSP_CONVOLVE_H_
// Pull in LIBGAV1_DspXXX defines representing the implementation status
// of each function. The resulting value of each can be used by each module to
// determine whether an implementation is needed at compile time.
// IWYU pragma: begin_exports
// ARM:
#include "src/dsp/arm/convolve_neon.h"
// x86:
// Note includes should be sorted in logical order avx2/avx/sse4, etc.
// The order of includes is important as each tests for a superior version
// before setting the base.
// clang-format off
#include "src/dsp/x86/convolve_sse4.h"
// clang-format on
// IWYU pragma: end_exports
namespace libgav1 {
namespace dsp {
// Initializes Dsp::convolve and Dsp::convolve_scale. This function is not
// thread-safe.
void ConvolveInit_C();
} // namespace dsp
} // namespace libgav1
#endif // LIBGAV1_SRC_DSP_CONVOLVE_H_