// Copyright (c) the JPEG XL Project Authors. All rights reserved. // // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #ifndef LIB_JXL_SIMD_UTIL_H_ #define LIB_JXL_SIMD_UTIL_H_ #include namespace jxl { // Maximal vector size in bytes. size_t MaxVectorSize(); // Returns distance [bytes] between the start of two consecutive rows, a // multiple of vector/cache line size but NOT CacheAligned::kAlias - see below. size_t BytesPerRow(size_t xsize, size_t sizeof_t); } // namespace jxl #endif // LIB_JXL_SIMD_UTIL_H_