#ifdef UNSAFE_BUFFERS_BUILD
#pragma allow_unsafe_buffers
#endif
#include <cmath>
#include <memory>
#include "base/cpu.h"
#include "base/memory/aligned_memory.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/stringize_macros.h"
#include "build/build_config.h"
#include "media/base/vector_math.h"
#include "media/base/vector_math_testing.h"
#include "testing/gtest/include/gtest/gtest.h"
fill;
namespace media {
static const float kScale = …;
static const float kInputFillValue = …;
static const float kOutputFillValue = …;
static const int kVectorSize = …;
class VectorMathTest : public testing::Test { … };
TEST_F(VectorMathTest, FMAC) { … }
TEST_F(VectorMathTest, FMUL) { … }
class EWMATestScenario { … };
VectorMathEWMAAndMaxPowerTest;
TEST_P(VectorMathEWMAAndMaxPowerTest, Correctness) { … }
static const float kZeros[] = …;
static const float kOnes[] = …;
static const float kCheckerboard[] = …;
static const float kInverseCheckerboard[] = …;
INSTANTIATE_TEST_SUITE_P(…);
}