blob: 3038372a05c004769d29d3592151b1e7c3c65732 [file] [log] [blame]
#ifndef LIBGAV1_SRC_DSP_INTRAPRED_H_
#define LIBGAV1_SRC_DSP_INTRAPRED_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/intrapred_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/intrapred_sse4.h"
// clang-format on
// IWYU pragma: end_exports
namespace libgav1 {
namespace dsp {
// Initializes Dsp::intra_predictors, Dsp::directional_intra_predictor_zone*,
// Dsp::cfl_intra_predictors, Dsp::cfl_subsamplers and
// Dsp::filter_intra_predictor. This function is not thread-safe.
void IntraPredInit_C();
} // namespace dsp
} // namespace libgav1
#endif // LIBGAV1_SRC_DSP_INTRAPRED_H_