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