libs/bluevk/include/vk_video/vulkan_video_codecs_common.h
raw| 1 | /* |
| 2 | ** Copyright (c) 2019-2021 The Khronos Group Inc. |
| 3 | ** |
| 4 | ** SPDX-License-Identifier: Apache-2.0 |
| 5 | */ |
| 6 | |
| 7 | #ifndef VULKAN_VIDEO_CODEC_COMMON_H_ |
| 8 | #define VULKAN_VIDEO_CODEC_COMMON_H_ 1 |
| 9 | |
| 10 | #ifdef __cplusplus |
| 11 | extern "C" { |
| 12 | #endif |
| 13 | |
| 14 | #define VK_MAKE_VIDEO_STD_VERSION(major, minor, patch) \ |
| 15 | ((((uint32_t)(major)) << 22) | (((uint32_t)(minor)) << 12) | ((uint32_t)(patch))) |
| 16 | |
| 17 | #ifdef __cplusplus |
| 18 | } |
| 19 | #endif |
| 20 | |
| 21 | #endif // VULKAN_VIDEO_CODEC_COMMON_H_ |