diff options
author | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-10 18:44:23 +0100 |
---|---|---|
committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-02-10 18:44:23 +0100 |
commit | ac683301302ef02eeb5045e9a7e80587ae9760dd (patch) | |
tree | cbdaa505744c1eb2a5a2fb2265d29fa92f0f3cfd /thirdparty/libwebp/sharpyuv/sharpyuv_cpu.h | |
parent | e52a2e3864741bba58ba07e89220830201b54266 (diff) | |
parent | d8e8517d1174e8593338329a0535da178444817a (diff) |
Merge pull request #72045 from DeeJayLSP/update_libwebp
libwebp: Sync with upstream 1.3.0
Diffstat (limited to 'thirdparty/libwebp/sharpyuv/sharpyuv_cpu.h')
-rw-r--r-- | thirdparty/libwebp/sharpyuv/sharpyuv_cpu.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/thirdparty/libwebp/sharpyuv/sharpyuv_cpu.h b/thirdparty/libwebp/sharpyuv/sharpyuv_cpu.h new file mode 100644 index 0000000000..176ca3eb16 --- /dev/null +++ b/thirdparty/libwebp/sharpyuv/sharpyuv_cpu.h @@ -0,0 +1,22 @@ +// Copyright 2022 Google Inc. All Rights Reserved. +// +// Use of this source code is governed by a BSD-style license +// that can be found in the COPYING file in the root of the source +// tree. An additional intellectual property rights grant can be found +// in the file PATENTS. All contributing project authors may +// be found in the AUTHORS file in the root of the source tree. +// ----------------------------------------------------------------------------- +// +#ifndef WEBP_SHARPYUV_SHARPYUV_CPU_H_ +#define WEBP_SHARPYUV_SHARPYUV_CPU_H_ + +#include "sharpyuv/sharpyuv.h" + +// Avoid exporting SharpYuvGetCPUInfo in shared object / DLL builds. +// SharpYuvInit() replaces the use of the function pointer. +#undef WEBP_EXTERN +#define WEBP_EXTERN extern +#define VP8GetCPUInfo SharpYuvGetCPUInfo +#include "src/dsp/cpu.h" + +#endif // WEBP_SHARPYUV_SHARPYUV_CPU_H_ |