1 // Copyright (c) the JPEG XL Project Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style
4 // license that can be found in the LICENSE file.
6 #include "lib/jpegli/simd.h"
8 #undef HWY_TARGET_INCLUDE
9 #define HWY_TARGET_INCLUDE "lib/jpegli/simd.cc"
10 #include <hwy/foreach_target.h>
11 #include <hwy/highway.h>
13 HWY_BEFORE_NAMESPACE();
15 namespace HWY_NAMESPACE
{
17 size_t GetVectorSize() { return HWY_LANES(uint8_t); }
19 // NOLINTNEXTLINE(google-readability-namespace-comments)
20 } // namespace HWY_NAMESPACE
22 HWY_AFTER_NAMESPACE();
28 HWY_EXPORT(GetVectorSize
); // Local function.
33 static size_t bytes
= HWY_DYNAMIC_DISPATCH(GetVectorSize
)();