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