| 1 |
#ifndef VULKAN_VIDEO_CODEC_VP9STD_DECODE_H_ |
| 2 |
#define VULKAN_VIDEO_CODEC_VP9STD_DECODE_H_ 1 |
| 3 |
|
| 4 |
/* |
| 5 |
** Copyright 2015-2026 The Khronos Group Inc. |
| 6 |
** |
| 7 |
** SPDX-License-Identifier: Apache-2.0 |
| 8 |
*/ |
| 9 |
|
| 10 |
/* |
| 11 |
** This header is generated from the Khronos Vulkan XML API Registry. |
| 12 |
** |
| 13 |
*/ |
| 14 |
|
| 15 |
|
| 16 |
#ifdef __cplusplus |
| 17 |
extern "C" { |
| 18 |
#endif |
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
// vulkan_video_codec_vp9std_decode is a preprocessor guard. Do not pass it to API calls. |
| 23 |
#define vulkan_video_codec_vp9std_decode 1 |
| 24 |
#include "vulkan_video_codec_vp9std.h" |
| 25 |
|
| 26 |
#define VK_STD_VULKAN_VIDEO_CODEC_VP9_DECODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0) |
| 27 |
|
| 28 |
#define VK_STD_VULKAN_VIDEO_CODEC_VP9_DECODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_VP9_DECODE_API_VERSION_1_0_0 |
| 29 |
#define VK_STD_VULKAN_VIDEO_CODEC_VP9_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_vp9_decode" |
| 30 |
typedef struct StdVideoDecodeVP9PictureInfoFlags { |
| 31 |
uint32_t error_resilient_mode : 1; |
| 32 |
uint32_t intra_only : 1; |
| 33 |
uint32_t allow_high_precision_mv : 1; |
| 34 |
uint32_t refresh_frame_context : 1; |
| 35 |
uint32_t frame_parallel_decoding_mode : 1; |
| 36 |
uint32_t segmentation_enabled : 1; |
| 37 |
uint32_t show_frame : 1; |
| 38 |
uint32_t UsePrevFrameMvs : 1; |
| 39 |
uint32_t reserved : 24; |
| 40 |
} StdVideoDecodeVP9PictureInfoFlags; |
| 41 |
|
| 42 |
typedef struct StdVideoDecodeVP9PictureInfo { |
| 43 |
StdVideoDecodeVP9PictureInfoFlags flags; |
| 44 |
StdVideoVP9Profile profile; |
| 45 |
StdVideoVP9FrameType frame_type; |
| 46 |
uint8_t frame_context_idx; |
| 47 |
uint8_t reset_frame_context; |
| 48 |
uint8_t refresh_frame_flags; |
| 49 |
uint8_t ref_frame_sign_bias_mask; |
| 50 |
StdVideoVP9InterpolationFilter interpolation_filter; |
| 51 |
uint8_t base_q_idx; |
| 52 |
int8_t delta_q_y_dc; |
| 53 |
int8_t delta_q_uv_dc; |
| 54 |
int8_t delta_q_uv_ac; |
| 55 |
uint8_t tile_cols_log2; |
| 56 |
uint8_t tile_rows_log2; |
| 57 |
uint16_t reserved1[3]; |
| 58 |
const StdVideoVP9ColorConfig* pColorConfig; |
| 59 |
const StdVideoVP9LoopFilter* pLoopFilter; |
| 60 |
const StdVideoVP9Segmentation* pSegmentation; |
| 61 |
} StdVideoDecodeVP9PictureInfo; |
| 62 |
|
| 63 |
|
| 64 |
#ifdef __cplusplus |
| 65 |
} |
| 66 |
#endif |
| 67 |
|
| 68 |
#endif |