1#ifndef VULKAN_VIDEO_CODEC_H265STD_DECODE_H_
2#define VULKAN_VIDEO_CODEC_H265STD_DECODE_H_ 1
3
4/*
5** Copyright 2015-2024 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
17extern "C" {
18#endif
19
20
21
22// vulkan_video_codec_h265std_decode is a preprocessor guard. Do not pass it to API calls.
23#define vulkan_video_codec_h265std_decode 1
24#include "vulkan_video_codec_h265std.h"
25
26#define VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_API_VERSION_1_0_0 VK_MAKE_VIDEO_STD_VERSION(1, 0, 0)
27
28#define VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_SPEC_VERSION VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_API_VERSION_1_0_0
29#define VK_STD_VULKAN_VIDEO_CODEC_H265_DECODE_EXTENSION_NAME "VK_STD_vulkan_video_codec_h265_decode"
30#define STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE 8
31typedef struct StdVideoDecodeH265PictureInfoFlags {
32 uint32_t IrapPicFlag : 1;
33 uint32_t IdrPicFlag : 1;
34 uint32_t IsReference : 1;
35 uint32_t short_term_ref_pic_set_sps_flag : 1;
36} StdVideoDecodeH265PictureInfoFlags;
37
38typedef struct StdVideoDecodeH265PictureInfo {
39 StdVideoDecodeH265PictureInfoFlags flags;
40 uint8_t sps_video_parameter_set_id;
41 uint8_t pps_seq_parameter_set_id;
42 uint8_t pps_pic_parameter_set_id;
43 uint8_t NumDeltaPocsOfRefRpsIdx;
44 int32_t PicOrderCntVal;
45 uint16_t NumBitsForSTRefPicSetInSlice;
46 uint16_t reserved;
47 uint8_t RefPicSetStCurrBefore[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
48 uint8_t RefPicSetStCurrAfter[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
49 uint8_t RefPicSetLtCurr[STD_VIDEO_DECODE_H265_REF_PIC_SET_LIST_SIZE];
50} StdVideoDecodeH265PictureInfo;
51
52typedef struct StdVideoDecodeH265ReferenceInfoFlags {
53 uint32_t used_for_long_term_reference : 1;
54 uint32_t unused_for_reference : 1;
55} StdVideoDecodeH265ReferenceInfoFlags;
56
57typedef struct StdVideoDecodeH265ReferenceInfo {
58 StdVideoDecodeH265ReferenceInfoFlags flags;
59 int32_t PicOrderCntVal;
60} StdVideoDecodeH265ReferenceInfo;
61
62
63#ifdef __cplusplus
64}
65#endif
66
67#endif
68