1/* 2* Copyright(c) 2018 Intel Corporation 3* SPDX - License - Identifier: BSD - 2 - Clause - Patent 4*/ 5 6#ifndef EbApiVersion_h 7#define EbApiVersion_h 8 9#ifdef __cplusplus 10extern "C" { 11#endif // __cplusplus 12 13// API Version 14#define SVT_VERSION_MAJOR (@SVT_VP9_VERSION_MAJOR@) 15#define SVT_VERSION_MINOR (@SVT_VP9_VERSION_MINOR@) 16#define SVT_VERSION_PATCHLEVEL (@SVT_VP9_VERSION_PATCHLEVEL@) 17 18#define SVT_CHECK_VERSION(major,minor,patch) \ 19 (SVT_VERSION_MAJOR > (major) || \ 20 (SVT_VERSION_MAJOR == (major) && SVT_VERSION_MINOR > (minor)) || \ 21 (SVT_VERSION_MAJOR == (major) && SVT_VERSION_MINOR == (minor) && \ 22 SVT_VERSION_PATCHLEVEL >= (patch))) 23 24#ifdef __cplusplus 25} 26#endif // __cplusplus 27 28#endif // EbApiVersion_h 29