1// Copyright 2022 Google Inc. All Rights Reserved.
2//
3// Use of this source code is governed by a BSD-style license
4// that can be found in the COPYING file in the root of the source
5// tree. An additional intellectual property rights grant can be found
6// in the file PATENTS. All contributing project authors may
7// be found in the AUTHORS file in the root of the source tree.
8// -----------------------------------------------------------------------------
9//
10#ifndef WEBP_SHARPYUV_SHARPYUV_CPU_H_
11#define WEBP_SHARPYUV_SHARPYUV_CPU_H_
12
13#include "sharpyuv/sharpyuv.h"
14
15// Avoid exporting SharpYuvGetCPUInfo in shared object / DLL builds.
16// SharpYuvInit() replaces the use of the function pointer.
17#undef WEBP_EXTERN
18#define WEBP_EXTERN extern
19#define VP8GetCPUInfo SharpYuvGetCPUInfo
20#include "src/dsp/cpu.h"
21
22#endif // WEBP_SHARPYUV_SHARPYUV_CPU_H_
23