Mercurial > games > semicongine
comparison semiconginev2/rendering/vulkan/platform/provisional.nim @ 1218:56781cc0fc7c compiletime-tests
did: renamge main package
author | sam <sam@basx.dev> |
---|---|
date | Wed, 17 Jul 2024 21:01:37 +0700 |
parents | semicongine/old/vulkan/platform/provisional.nim@a3eb305bcac2 |
children |
comparison
equal
deleted
inserted
replaced
1217:f819a874058f | 1218:56781cc0fc7c |
---|---|
1 type | |
2 VkPhysicalDevicePortabilitySubsetFeaturesKHR* = object | |
3 sType*: VkStructureType | |
4 pNext*: pointer | |
5 constantAlphaColorBlendFactors*: VkBool32 | |
6 events*: VkBool32 | |
7 imageViewFormatReinterpretation*: VkBool32 | |
8 imageViewFormatSwizzle*: VkBool32 | |
9 imageView2DOn3DImage*: VkBool32 | |
10 multisampleArrayImage*: VkBool32 | |
11 mutableComparisonSamplers*: VkBool32 | |
12 pointPolygons*: VkBool32 | |
13 samplerMipLodBias*: VkBool32 | |
14 separateStencilMaskRef*: VkBool32 | |
15 shaderSampleRateInterpolationFunctions*: VkBool32 | |
16 tessellationIsolines*: VkBool32 | |
17 tessellationPointMode*: VkBool32 | |
18 triangleFans*: VkBool32 | |
19 vertexAttributeAccessBeyondStride*: VkBool32 | |
20 VkPhysicalDevicePortabilitySubsetPropertiesKHR* = object | |
21 sType*: VkStructureType | |
22 pNext*: pointer | |
23 minVertexInputBindingStrideAlignment*: uint32 | |
24 VkQueueFamilyVideoPropertiesKHR* = object | |
25 sType*: VkStructureType | |
26 pNext*: pointer | |
27 videoCodecOperations*: VkVideoCodecOperationFlagsKHR | |
28 VkQueueFamilyQueryResultStatusPropertiesKHR* = object | |
29 sType*: VkStructureType | |
30 pNext*: pointer | |
31 queryResultStatusSupport*: VkBool32 | |
32 VkVideoProfileListInfoKHR* = object | |
33 sType*: VkStructureType | |
34 pNext*: pointer | |
35 profileCount*: uint32 | |
36 pProfiles*: ptr VkVideoProfileInfoKHR | |
37 VkPhysicalDeviceVideoFormatInfoKHR* = object | |
38 sType*: VkStructureType | |
39 pNext*: pointer | |
40 imageUsage*: VkImageUsageFlags | |
41 VkVideoFormatPropertiesKHR* = object | |
42 sType*: VkStructureType | |
43 pNext*: pointer | |
44 format*: VkFormat | |
45 componentMapping*: VkComponentMapping | |
46 imageCreateFlags*: VkImageCreateFlags | |
47 imageType*: VkImageType | |
48 imageTiling*: VkImageTiling | |
49 imageUsageFlags*: VkImageUsageFlags | |
50 VkVideoProfileInfoKHR* = object | |
51 sType*: VkStructureType | |
52 pNext*: pointer | |
53 videoCodecOperation*: VkVideoCodecOperationFlagBitsKHR | |
54 chromaSubsampling*: VkVideoChromaSubsamplingFlagsKHR | |
55 lumaBitDepth*: VkVideoComponentBitDepthFlagsKHR | |
56 chromaBitDepth*: VkVideoComponentBitDepthFlagsKHR | |
57 VkVideoCapabilitiesKHR* = object | |
58 sType*: VkStructureType | |
59 pNext*: pointer | |
60 flags*: VkVideoCapabilityFlagsKHR | |
61 minBitstreamBufferOffsetAlignment*: VkDeviceSize | |
62 minBitstreamBufferSizeAlignment*: VkDeviceSize | |
63 pictureAccessGranularity*: VkExtent2D | |
64 minCodedExtent*: VkExtent2D | |
65 maxCodedExtent*: VkExtent2D | |
66 maxDpbSlots*: uint32 | |
67 maxActiveReferencePictures*: uint32 | |
68 stdHeaderVersion*: VkExtensionProperties | |
69 VkVideoSessionMemoryRequirementsKHR* = object | |
70 sType*: VkStructureType | |
71 pNext*: pointer | |
72 memoryBindIndex*: uint32 | |
73 memoryRequirements*: VkMemoryRequirements | |
74 VkBindVideoSessionMemoryInfoKHR* = object | |
75 sType*: VkStructureType | |
76 pNext*: pointer | |
77 memoryBindIndex*: uint32 | |
78 memory*: VkDeviceMemory | |
79 memoryOffset*: VkDeviceSize | |
80 memorySize*: VkDeviceSize | |
81 VkVideoPictureResourceInfoKHR* = object | |
82 sType*: VkStructureType | |
83 pNext*: pointer | |
84 codedOffset*: VkOffset2D | |
85 codedExtent*: VkExtent2D | |
86 baseArrayLayer*: uint32 | |
87 imageViewBinding*: VkImageView | |
88 VkVideoReferenceSlotInfoKHR* = object | |
89 sType*: VkStructureType | |
90 pNext*: pointer | |
91 slotIndex*: int32 | |
92 pPictureResource*: ptr VkVideoPictureResourceInfoKHR | |
93 VkVideoDecodeCapabilitiesKHR* = object | |
94 sType*: VkStructureType | |
95 pNext*: pointer | |
96 flags*: VkVideoDecodeCapabilityFlagsKHR | |
97 VkVideoDecodeUsageInfoKHR* = object | |
98 sType*: VkStructureType | |
99 pNext*: pointer | |
100 videoUsageHints*: VkVideoDecodeUsageFlagsKHR | |
101 VkVideoDecodeInfoKHR* = object | |
102 sType*: VkStructureType | |
103 pNext*: pointer | |
104 flags*: VkVideoDecodeFlagsKHR | |
105 srcBuffer*: VkBuffer | |
106 srcBufferOffset*: VkDeviceSize | |
107 srcBufferRange*: VkDeviceSize | |
108 dstPictureResource*: VkVideoPictureResourceInfoKHR | |
109 pSetupReferenceSlot*: ptr VkVideoReferenceSlotInfoKHR | |
110 referenceSlotCount*: uint32 | |
111 pReferenceSlots*: ptr VkVideoReferenceSlotInfoKHR | |
112 VkVideoDecodeH264ProfileInfoKHR* = object | |
113 sType*: VkStructureType | |
114 pNext*: pointer | |
115 stdProfileIdc*: StdVideoH264ProfileIdc | |
116 pictureLayout*: VkVideoDecodeH264PictureLayoutFlagBitsKHR | |
117 VkVideoDecodeH264CapabilitiesKHR* = object | |
118 sType*: VkStructureType | |
119 pNext*: pointer | |
120 maxLevelIdc*: StdVideoH264LevelIdc | |
121 fieldOffsetGranularity*: VkOffset2D | |
122 VkVideoDecodeH264SessionParametersAddInfoKHR* = object | |
123 sType*: VkStructureType | |
124 pNext*: pointer | |
125 stdSPSCount*: uint32 | |
126 pStdSPSs*: ptr StdVideoH264SequenceParameterSet | |
127 stdPPSCount*: uint32 | |
128 pStdPPSs*: ptr StdVideoH264PictureParameterSet | |
129 VkVideoDecodeH264SessionParametersCreateInfoKHR* = object | |
130 sType*: VkStructureType | |
131 pNext*: pointer | |
132 maxStdSPSCount*: uint32 | |
133 maxStdPPSCount*: uint32 | |
134 pParametersAddInfo*: ptr VkVideoDecodeH264SessionParametersAddInfoKHR | |
135 VkVideoDecodeH264PictureInfoKHR* = object | |
136 sType*: VkStructureType | |
137 pNext*: pointer | |
138 pStdPictureInfo*: ptr StdVideoDecodeH264PictureInfo | |
139 sliceCount*: uint32 | |
140 pSliceOffsets*: ptr uint32 | |
141 VkVideoDecodeH264DpbSlotInfoKHR* = object | |
142 sType*: VkStructureType | |
143 pNext*: pointer | |
144 pStdReferenceInfo*: ptr StdVideoDecodeH264ReferenceInfo | |
145 VkVideoDecodeH265ProfileInfoKHR* = object | |
146 sType*: VkStructureType | |
147 pNext*: pointer | |
148 stdProfileIdc*: StdVideoH265ProfileIdc | |
149 VkVideoDecodeH265CapabilitiesKHR* = object | |
150 sType*: VkStructureType | |
151 pNext*: pointer | |
152 maxLevelIdc*: StdVideoH265LevelIdc | |
153 VkVideoDecodeH265SessionParametersAddInfoKHR* = object | |
154 sType*: VkStructureType | |
155 pNext*: pointer | |
156 stdVPSCount*: uint32 | |
157 pStdVPSs*: ptr StdVideoH265VideoParameterSet | |
158 stdSPSCount*: uint32 | |
159 pStdSPSs*: ptr StdVideoH265SequenceParameterSet | |
160 stdPPSCount*: uint32 | |
161 pStdPPSs*: ptr StdVideoH265PictureParameterSet | |
162 VkVideoDecodeH265SessionParametersCreateInfoKHR* = object | |
163 sType*: VkStructureType | |
164 pNext*: pointer | |
165 maxStdVPSCount*: uint32 | |
166 maxStdSPSCount*: uint32 | |
167 maxStdPPSCount*: uint32 | |
168 pParametersAddInfo*: ptr VkVideoDecodeH265SessionParametersAddInfoKHR | |
169 VkVideoDecodeH265PictureInfoKHR* = object | |
170 sType*: VkStructureType | |
171 pNext*: pointer | |
172 pStdPictureInfo*: ptr StdVideoDecodeH265PictureInfo | |
173 sliceSegmentCount*: uint32 | |
174 pSliceSegmentOffsets*: ptr uint32 | |
175 VkVideoDecodeH265DpbSlotInfoKHR* = object | |
176 sType*: VkStructureType | |
177 pNext*: pointer | |
178 pStdReferenceInfo*: ptr StdVideoDecodeH265ReferenceInfo | |
179 VkVideoSessionCreateInfoKHR* = object | |
180 sType*: VkStructureType | |
181 pNext*: pointer | |
182 queueFamilyIndex*: uint32 | |
183 flags*: VkVideoSessionCreateFlagsKHR | |
184 pVideoProfile*: ptr VkVideoProfileInfoKHR | |
185 pictureFormat*: VkFormat | |
186 maxCodedExtent*: VkExtent2D | |
187 referencePictureFormat*: VkFormat | |
188 maxDpbSlots*: uint32 | |
189 maxActiveReferencePictures*: uint32 | |
190 pStdHeaderVersion*: ptr VkExtensionProperties | |
191 VkVideoSessionParametersCreateInfoKHR* = object | |
192 sType*: VkStructureType | |
193 pNext*: pointer | |
194 flags*: VkVideoSessionParametersCreateFlagsKHR | |
195 videoSessionParametersTemplate*: VkVideoSessionParametersKHR | |
196 videoSession*: VkVideoSessionKHR | |
197 VkVideoSessionParametersUpdateInfoKHR* = object | |
198 sType*: VkStructureType | |
199 pNext*: pointer | |
200 updateSequenceCount*: uint32 | |
201 VkVideoBeginCodingInfoKHR* = object | |
202 sType*: VkStructureType | |
203 pNext*: pointer | |
204 flags*: VkVideoBeginCodingFlagsKHR | |
205 videoSession*: VkVideoSessionKHR | |
206 videoSessionParameters*: VkVideoSessionParametersKHR | |
207 referenceSlotCount*: uint32 | |
208 pReferenceSlots*: ptr VkVideoReferenceSlotInfoKHR | |
209 VkVideoEndCodingInfoKHR* = object | |
210 sType*: VkStructureType | |
211 pNext*: pointer | |
212 flags*: VkVideoEndCodingFlagsKHR | |
213 VkVideoCodingControlInfoKHR* = object | |
214 sType*: VkStructureType | |
215 pNext*: pointer | |
216 flags*: VkVideoCodingControlFlagsKHR | |
217 VkVideoEncodeUsageInfoKHR* = object | |
218 sType*: VkStructureType | |
219 pNext*: pointer | |
220 videoUsageHints*: VkVideoEncodeUsageFlagsKHR | |
221 videoContentHints*: VkVideoEncodeContentFlagsKHR | |
222 tuningMode*: VkVideoEncodeTuningModeKHR | |
223 VkVideoEncodeInfoKHR* = object | |
224 sType*: VkStructureType | |
225 pNext*: pointer | |
226 flags*: VkVideoEncodeFlagsKHR | |
227 qualityLevel*: uint32 | |
228 dstBitstreamBuffer*: VkBuffer | |
229 dstBitstreamBufferOffset*: VkDeviceSize | |
230 dstBitstreamBufferMaxRange*: VkDeviceSize | |
231 srcPictureResource*: VkVideoPictureResourceInfoKHR | |
232 pSetupReferenceSlot*: ptr VkVideoReferenceSlotInfoKHR | |
233 referenceSlotCount*: uint32 | |
234 pReferenceSlots*: ptr VkVideoReferenceSlotInfoKHR | |
235 precedingExternallyEncodedBytes*: uint32 | |
236 VkVideoEncodeRateControlInfoKHR* = object | |
237 sType*: VkStructureType | |
238 pNext*: pointer | |
239 flags*: VkVideoEncodeRateControlFlagsKHR | |
240 rateControlMode*: VkVideoEncodeRateControlModeFlagBitsKHR | |
241 layerCount*: uint8 | |
242 pLayerConfigs*: ptr VkVideoEncodeRateControlLayerInfoKHR | |
243 VkVideoEncodeRateControlLayerInfoKHR* = object | |
244 sType*: VkStructureType | |
245 pNext*: pointer | |
246 averageBitrate*: uint32 | |
247 maxBitrate*: uint32 | |
248 frameRateNumerator*: uint32 | |
249 frameRateDenominator*: uint32 | |
250 virtualBufferSizeInMs*: uint32 | |
251 initialVirtualBufferSizeInMs*: uint32 | |
252 VkVideoEncodeCapabilitiesKHR* = object | |
253 sType*: VkStructureType | |
254 pNext*: pointer | |
255 flags*: VkVideoEncodeCapabilityFlagsKHR | |
256 rateControlModes*: VkVideoEncodeRateControlModeFlagsKHR | |
257 rateControlLayerCount*: uint8 | |
258 qualityLevelCount*: uint8 | |
259 inputImageDataFillAlignment*: VkExtent2D | |
260 VkVideoEncodeH264CapabilitiesEXT* = object | |
261 sType*: VkStructureType | |
262 pNext*: pointer | |
263 flags*: VkVideoEncodeH264CapabilityFlagsEXT | |
264 inputModeFlags*: VkVideoEncodeH264InputModeFlagsEXT | |
265 outputModeFlags*: VkVideoEncodeH264OutputModeFlagsEXT | |
266 maxPPictureL0ReferenceCount*: uint8 | |
267 maxBPictureL0ReferenceCount*: uint8 | |
268 maxL1ReferenceCount*: uint8 | |
269 motionVectorsOverPicBoundariesFlag*: VkBool32 | |
270 maxBytesPerPicDenom*: uint32 | |
271 maxBitsPerMbDenom*: uint32 | |
272 log2MaxMvLengthHorizontal*: uint32 | |
273 log2MaxMvLengthVertical*: uint32 | |
274 VkVideoEncodeH264SessionParametersAddInfoEXT* = object | |
275 sType*: VkStructureType | |
276 pNext*: pointer | |
277 stdSPSCount*: uint32 | |
278 pStdSPSs*: ptr StdVideoH264SequenceParameterSet | |
279 stdPPSCount*: uint32 | |
280 pStdPPSs*: ptr StdVideoH264PictureParameterSet | |
281 VkVideoEncodeH264SessionParametersCreateInfoEXT* = object | |
282 sType*: VkStructureType | |
283 pNext*: pointer | |
284 maxStdSPSCount*: uint32 | |
285 maxStdPPSCount*: uint32 | |
286 pParametersAddInfo*: ptr VkVideoEncodeH264SessionParametersAddInfoEXT | |
287 VkVideoEncodeH264DpbSlotInfoEXT* = object | |
288 sType*: VkStructureType | |
289 pNext*: pointer | |
290 slotIndex*: int8 | |
291 pStdReferenceInfo*: ptr StdVideoEncodeH264ReferenceInfo | |
292 VkVideoEncodeH264VclFrameInfoEXT* = object | |
293 sType*: VkStructureType | |
294 pNext*: pointer | |
295 pReferenceFinalLists*: ptr VkVideoEncodeH264ReferenceListsInfoEXT | |
296 naluSliceEntryCount*: uint32 | |
297 pNaluSliceEntries*: ptr VkVideoEncodeH264NaluSliceInfoEXT | |
298 pCurrentPictureInfo*: ptr StdVideoEncodeH264PictureInfo | |
299 VkVideoEncodeH264ReferenceListsInfoEXT* = object | |
300 sType*: VkStructureType | |
301 pNext*: pointer | |
302 referenceList0EntryCount*: uint8 | |
303 pReferenceList0Entries*: ptr VkVideoEncodeH264DpbSlotInfoEXT | |
304 referenceList1EntryCount*: uint8 | |
305 pReferenceList1Entries*: ptr VkVideoEncodeH264DpbSlotInfoEXT | |
306 pMemMgmtCtrlOperations*: ptr StdVideoEncodeH264RefMemMgmtCtrlOperations | |
307 VkVideoEncodeH264EmitPictureParametersInfoEXT* = object | |
308 sType*: VkStructureType | |
309 pNext*: pointer | |
310 spsId*: uint8 | |
311 emitSpsEnable*: VkBool32 | |
312 ppsIdEntryCount*: uint32 | |
313 ppsIdEntries*: ptr uint8 | |
314 VkVideoEncodeH264ProfileInfoEXT* = object | |
315 sType*: VkStructureType | |
316 pNext*: pointer | |
317 stdProfileIdc*: StdVideoH264ProfileIdc | |
318 VkVideoEncodeH264NaluSliceInfoEXT* = object | |
319 sType*: VkStructureType | |
320 pNext*: pointer | |
321 mbCount*: uint32 | |
322 pReferenceFinalLists*: ptr VkVideoEncodeH264ReferenceListsInfoEXT | |
323 pSliceHeaderStd*: ptr StdVideoEncodeH264SliceHeader | |
324 VkVideoEncodeH264RateControlInfoEXT* = object | |
325 sType*: VkStructureType | |
326 pNext*: pointer | |
327 gopFrameCount*: uint32 | |
328 idrPeriod*: uint32 | |
329 consecutiveBFrameCount*: uint32 | |
330 rateControlStructure*: VkVideoEncodeH264RateControlStructureEXT | |
331 temporalLayerCount*: uint8 | |
332 VkVideoEncodeH264QpEXT* = object | |
333 qpI*: int32 | |
334 qpP*: int32 | |
335 qpB*: int32 | |
336 VkVideoEncodeH264FrameSizeEXT* = object | |
337 frameISize*: uint32 | |
338 framePSize*: uint32 | |
339 frameBSize*: uint32 | |
340 VkVideoEncodeH264RateControlLayerInfoEXT* = object | |
341 sType*: VkStructureType | |
342 pNext*: pointer | |
343 temporalLayerId*: uint8 | |
344 useInitialRcQp*: VkBool32 | |
345 initialRcQp*: VkVideoEncodeH264QpEXT | |
346 useMinQp*: VkBool32 | |
347 minQp*: VkVideoEncodeH264QpEXT | |
348 useMaxQp*: VkBool32 | |
349 maxQp*: VkVideoEncodeH264QpEXT | |
350 useMaxFrameSize*: VkBool32 | |
351 maxFrameSize*: VkVideoEncodeH264FrameSizeEXT | |
352 VkVideoEncodeH265CapabilitiesEXT* = object | |
353 sType*: VkStructureType | |
354 pNext*: pointer | |
355 flags*: VkVideoEncodeH265CapabilityFlagsEXT | |
356 inputModeFlags*: VkVideoEncodeH265InputModeFlagsEXT | |
357 outputModeFlags*: VkVideoEncodeH265OutputModeFlagsEXT | |
358 ctbSizes*: VkVideoEncodeH265CtbSizeFlagsEXT | |
359 transformBlockSizes*: VkVideoEncodeH265TransformBlockSizeFlagsEXT | |
360 maxPPictureL0ReferenceCount*: uint8 | |
361 maxBPictureL0ReferenceCount*: uint8 | |
362 maxL1ReferenceCount*: uint8 | |
363 maxSubLayersCount*: uint8 | |
364 minLog2MinLumaCodingBlockSizeMinus3*: uint8 | |
365 maxLog2MinLumaCodingBlockSizeMinus3*: uint8 | |
366 minLog2MinLumaTransformBlockSizeMinus2*: uint8 | |
367 maxLog2MinLumaTransformBlockSizeMinus2*: uint8 | |
368 minMaxTransformHierarchyDepthInter*: uint8 | |
369 maxMaxTransformHierarchyDepthInter*: uint8 | |
370 minMaxTransformHierarchyDepthIntra*: uint8 | |
371 maxMaxTransformHierarchyDepthIntra*: uint8 | |
372 maxDiffCuQpDeltaDepth*: uint8 | |
373 minMaxNumMergeCand*: uint8 | |
374 maxMaxNumMergeCand*: uint8 | |
375 VkVideoEncodeH265SessionParametersAddInfoEXT* = object | |
376 sType*: VkStructureType | |
377 pNext*: pointer | |
378 stdVPSCount*: uint32 | |
379 pStdVPSs*: ptr StdVideoH265VideoParameterSet | |
380 stdSPSCount*: uint32 | |
381 pStdSPSs*: ptr StdVideoH265SequenceParameterSet | |
382 stdPPSCount*: uint32 | |
383 pStdPPSs*: ptr StdVideoH265PictureParameterSet | |
384 VkVideoEncodeH265SessionParametersCreateInfoEXT* = object | |
385 sType*: VkStructureType | |
386 pNext*: pointer | |
387 maxStdVPSCount*: uint32 | |
388 maxStdSPSCount*: uint32 | |
389 maxStdPPSCount*: uint32 | |
390 pParametersAddInfo*: ptr VkVideoEncodeH265SessionParametersAddInfoEXT | |
391 VkVideoEncodeH265VclFrameInfoEXT* = object | |
392 sType*: VkStructureType | |
393 pNext*: pointer | |
394 pReferenceFinalLists*: ptr VkVideoEncodeH265ReferenceListsInfoEXT | |
395 naluSliceSegmentEntryCount*: uint32 | |
396 pNaluSliceSegmentEntries*: ptr VkVideoEncodeH265NaluSliceSegmentInfoEXT | |
397 pCurrentPictureInfo*: ptr StdVideoEncodeH265PictureInfo | |
398 VkVideoEncodeH265EmitPictureParametersInfoEXT* = object | |
399 sType*: VkStructureType | |
400 pNext*: pointer | |
401 vpsId*: uint8 | |
402 spsId*: uint8 | |
403 emitVpsEnable*: VkBool32 | |
404 emitSpsEnable*: VkBool32 | |
405 ppsIdEntryCount*: uint32 | |
406 ppsIdEntries*: ptr uint8 | |
407 VkVideoEncodeH265NaluSliceSegmentInfoEXT* = object | |
408 sType*: VkStructureType | |
409 pNext*: pointer | |
410 ctbCount*: uint32 | |
411 pReferenceFinalLists*: ptr VkVideoEncodeH265ReferenceListsInfoEXT | |
412 pSliceSegmentHeaderStd*: ptr StdVideoEncodeH265SliceSegmentHeader | |
413 VkVideoEncodeH265RateControlInfoEXT* = object | |
414 sType*: VkStructureType | |
415 pNext*: pointer | |
416 gopFrameCount*: uint32 | |
417 idrPeriod*: uint32 | |
418 consecutiveBFrameCount*: uint32 | |
419 rateControlStructure*: VkVideoEncodeH265RateControlStructureEXT | |
420 subLayerCount*: uint8 | |
421 VkVideoEncodeH265QpEXT* = object | |
422 qpI*: int32 | |
423 qpP*: int32 | |
424 qpB*: int32 | |
425 VkVideoEncodeH265FrameSizeEXT* = object | |
426 frameISize*: uint32 | |
427 framePSize*: uint32 | |
428 frameBSize*: uint32 | |
429 VkVideoEncodeH265RateControlLayerInfoEXT* = object | |
430 sType*: VkStructureType | |
431 pNext*: pointer | |
432 temporalId*: uint8 | |
433 useInitialRcQp*: VkBool32 | |
434 initialRcQp*: VkVideoEncodeH265QpEXT | |
435 useMinQp*: VkBool32 | |
436 minQp*: VkVideoEncodeH265QpEXT | |
437 useMaxQp*: VkBool32 | |
438 maxQp*: VkVideoEncodeH265QpEXT | |
439 useMaxFrameSize*: VkBool32 | |
440 maxFrameSize*: VkVideoEncodeH265FrameSizeEXT | |
441 VkVideoEncodeH265ProfileInfoEXT* = object | |
442 sType*: VkStructureType | |
443 pNext*: pointer | |
444 stdProfileIdc*: StdVideoH265ProfileIdc | |
445 VkVideoEncodeH265DpbSlotInfoEXT* = object | |
446 sType*: VkStructureType | |
447 pNext*: pointer | |
448 slotIndex*: int8 | |
449 pStdReferenceInfo*: ptr StdVideoEncodeH265ReferenceInfo | |
450 VkVideoEncodeH265ReferenceListsInfoEXT* = object | |
451 sType*: VkStructureType | |
452 pNext*: pointer | |
453 referenceList0EntryCount*: uint8 | |
454 pReferenceList0Entries*: ptr VkVideoEncodeH265DpbSlotInfoEXT | |
455 referenceList1EntryCount*: uint8 | |
456 pReferenceList1Entries*: ptr VkVideoEncodeH265DpbSlotInfoEXT | |
457 pReferenceModifications*: ptr StdVideoEncodeH265ReferenceModifications | |
458 StdVideoH264ProfileIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
459 StdVideoH264LevelIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
460 StdVideoH264ChromaFormatIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
461 StdVideoH264PocType *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
462 StdVideoH264SpsFlags *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
463 StdVideoH264ScalingLists *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
464 StdVideoH264SequenceParameterSetVui *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
465 StdVideoH264AspectRatioIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
466 StdVideoH264HrdParameters *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
467 StdVideoH264SpsVuiFlags *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
468 StdVideoH264WeightedBipredIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
469 StdVideoH264PpsFlags *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
470 StdVideoH264SliceType *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
471 StdVideoH264CabacInitIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
472 StdVideoH264DisableDeblockingFilterIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
473 StdVideoH264PictureType *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
474 StdVideoH264ModificationOfPicNumsIdc *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
475 StdVideoH264MemMgmtControlOp *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
476 StdVideoDecodeH264PictureInfo *{.header: "vk_video/vulkan_video_codec_h264std_decode.h".} = object | |
477 StdVideoDecodeH264ReferenceInfo *{.header: "vk_video/vulkan_video_codec_h264std_decode.h".} = object | |
478 StdVideoDecodeH264PictureInfoFlags *{.header: "vk_video/vulkan_video_codec_h264std_decode.h".} = object | |
479 StdVideoDecodeH264ReferenceInfoFlags *{.header: "vk_video/vulkan_video_codec_h264std_decode.h".} = object | |
480 StdVideoH264SequenceParameterSet *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
481 StdVideoH264PictureParameterSet *{.header: "vk_video/vulkan_video_codec_h264std.h".} = object | |
482 StdVideoH265ProfileIdc *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
483 StdVideoH265VideoParameterSet *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
484 StdVideoH265SequenceParameterSet *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
485 StdVideoH265PictureParameterSet *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
486 StdVideoH265DecPicBufMgr *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
487 StdVideoH265HrdParameters *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
488 StdVideoH265VpsFlags *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
489 StdVideoH265LevelIdc *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
490 StdVideoH265SpsFlags *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
491 StdVideoH265ScalingLists *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
492 StdVideoH265SequenceParameterSetVui *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
493 StdVideoH265PredictorPaletteEntries *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
494 StdVideoH265PpsFlags *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
495 StdVideoH265SubLayerHrdParameters *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
496 StdVideoH265HrdFlags *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
497 StdVideoH265SpsVuiFlags *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
498 StdVideoH265SliceType *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
499 StdVideoH265PictureType *{.header: "vk_video/vulkan_video_codec_h265std.h".} = object | |
500 StdVideoDecodeH265PictureInfo *{.header: "vk_video/vulkan_video_codec_h265std_decode.h".} = object | |
501 StdVideoDecodeH265ReferenceInfo *{.header: "vk_video/vulkan_video_codec_h265std_decode.h".} = object | |
502 StdVideoDecodeH265PictureInfoFlags *{.header: "vk_video/vulkan_video_codec_h265std_decode.h".} = object | |
503 StdVideoDecodeH265ReferenceInfoFlags *{.header: "vk_video/vulkan_video_codec_h265std_decode.h".} = object | |
504 StdVideoEncodeH264SliceHeader *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
505 StdVideoEncodeH264PictureInfo *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
506 StdVideoEncodeH264ReferenceInfo *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
507 StdVideoEncodeH264SliceHeaderFlags *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
508 StdVideoEncodeH264RefMemMgmtCtrlOperations *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
509 StdVideoEncodeH264PictureInfoFlags *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
510 StdVideoEncodeH264ReferenceInfoFlags *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
511 StdVideoEncodeH264RefMgmtFlags *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
512 StdVideoEncodeH264RefListModEntry *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
513 StdVideoEncodeH264RefPicMarkingEntry *{.header: "vk_video/vulkan_video_codec_h264std_encode.h".} = object | |
514 StdVideoEncodeH265PictureInfoFlags *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
515 StdVideoEncodeH265PictureInfo *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
516 StdVideoEncodeH265SliceSegmentHeader *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
517 StdVideoEncodeH265ReferenceInfo *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
518 StdVideoEncodeH265ReferenceModifications *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
519 StdVideoEncodeH265SliceSegmentHeaderFlags *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
520 StdVideoEncodeH265ReferenceInfoFlags *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
521 StdVideoEncodeH265ReferenceModificationFlags *{.header: "vk_video/vulkan_video_codec_h265std_encode.h".} = object | |
522 # extension VK_KHR_video_queue | |
523 var | |
524 vkGetPhysicalDeviceVideoCapabilitiesKHR*: proc(physicalDevice: VkPhysicalDevice, pVideoProfile: ptr VkVideoProfileInfoKHR, pCapabilities: ptr VkVideoCapabilitiesKHR): VkResult {.stdcall.} | |
525 vkGetPhysicalDeviceVideoFormatPropertiesKHR*: proc(physicalDevice: VkPhysicalDevice, pVideoFormatInfo: ptr VkPhysicalDeviceVideoFormatInfoKHR, pVideoFormatPropertyCount: ptr uint32, pVideoFormatProperties: ptr VkVideoFormatPropertiesKHR): VkResult {.stdcall.} | |
526 vkCreateVideoSessionKHR*: proc(device: VkDevice, pCreateInfo: ptr VkVideoSessionCreateInfoKHR, pAllocator: ptr VkAllocationCallbacks, pVideoSession: ptr VkVideoSessionKHR): VkResult {.stdcall.} | |
527 vkDestroyVideoSessionKHR*: proc(device: VkDevice, videoSession: VkVideoSessionKHR, pAllocator: ptr VkAllocationCallbacks): void {.stdcall.} | |
528 vkGetVideoSessionMemoryRequirementsKHR*: proc(device: VkDevice, videoSession: VkVideoSessionKHR, pMemoryRequirementsCount: ptr uint32, pMemoryRequirements: ptr VkVideoSessionMemoryRequirementsKHR): VkResult {.stdcall.} | |
529 vkBindVideoSessionMemoryKHR*: proc(device: VkDevice, videoSession: VkVideoSessionKHR, bindSessionMemoryInfoCount: uint32, pBindSessionMemoryInfos: ptr VkBindVideoSessionMemoryInfoKHR): VkResult {.stdcall.} | |
530 vkCreateVideoSessionParametersKHR*: proc(device: VkDevice, pCreateInfo: ptr VkVideoSessionParametersCreateInfoKHR, pAllocator: ptr VkAllocationCallbacks, pVideoSessionParameters: ptr VkVideoSessionParametersKHR): VkResult {.stdcall.} | |
531 vkUpdateVideoSessionParametersKHR*: proc(device: VkDevice, videoSessionParameters: VkVideoSessionParametersKHR, pUpdateInfo: ptr VkVideoSessionParametersUpdateInfoKHR): VkResult {.stdcall.} | |
532 vkDestroyVideoSessionParametersKHR*: proc(device: VkDevice, videoSessionParameters: VkVideoSessionParametersKHR, pAllocator: ptr VkAllocationCallbacks): void {.stdcall.} | |
533 vkCmdBeginVideoCodingKHR*: proc(commandBuffer: VkCommandBuffer, pBeginInfo: ptr VkVideoBeginCodingInfoKHR): void {.stdcall.} | |
534 vkCmdEndVideoCodingKHR*: proc(commandBuffer: VkCommandBuffer, pEndCodingInfo: ptr VkVideoEndCodingInfoKHR): void {.stdcall.} | |
535 vkCmdControlVideoCodingKHR*: proc(commandBuffer: VkCommandBuffer, pCodingControlInfo: ptr VkVideoCodingControlInfoKHR): void {.stdcall.} | |
536 proc loadVK_KHR_video_queue*(instance: VkInstance) = | |
537 loadVK_VERSION_1_1(instance) | |
538 loadVK_VERSION_1_3(instance) | |
539 vkGetPhysicalDeviceVideoCapabilitiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pVideoProfile: ptr VkVideoProfileInfoKHR, pCapabilities: ptr VkVideoCapabilitiesKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceVideoCapabilitiesKHR")) | |
540 vkGetPhysicalDeviceVideoFormatPropertiesKHR = cast[proc(physicalDevice: VkPhysicalDevice, pVideoFormatInfo: ptr VkPhysicalDeviceVideoFormatInfoKHR, pVideoFormatPropertyCount: ptr uint32, pVideoFormatProperties: ptr VkVideoFormatPropertiesKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkGetPhysicalDeviceVideoFormatPropertiesKHR")) | |
541 vkCreateVideoSessionKHR = cast[proc(device: VkDevice, pCreateInfo: ptr VkVideoSessionCreateInfoKHR, pAllocator: ptr VkAllocationCallbacks, pVideoSession: ptr VkVideoSessionKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCreateVideoSessionKHR")) | |
542 vkDestroyVideoSessionKHR = cast[proc(device: VkDevice, videoSession: VkVideoSessionKHR, pAllocator: ptr VkAllocationCallbacks): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkDestroyVideoSessionKHR")) | |
543 vkGetVideoSessionMemoryRequirementsKHR = cast[proc(device: VkDevice, videoSession: VkVideoSessionKHR, pMemoryRequirementsCount: ptr uint32, pMemoryRequirements: ptr VkVideoSessionMemoryRequirementsKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkGetVideoSessionMemoryRequirementsKHR")) | |
544 vkBindVideoSessionMemoryKHR = cast[proc(device: VkDevice, videoSession: VkVideoSessionKHR, bindSessionMemoryInfoCount: uint32, pBindSessionMemoryInfos: ptr VkBindVideoSessionMemoryInfoKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkBindVideoSessionMemoryKHR")) | |
545 vkCreateVideoSessionParametersKHR = cast[proc(device: VkDevice, pCreateInfo: ptr VkVideoSessionParametersCreateInfoKHR, pAllocator: ptr VkAllocationCallbacks, pVideoSessionParameters: ptr VkVideoSessionParametersKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCreateVideoSessionParametersKHR")) | |
546 vkUpdateVideoSessionParametersKHR = cast[proc(device: VkDevice, videoSessionParameters: VkVideoSessionParametersKHR, pUpdateInfo: ptr VkVideoSessionParametersUpdateInfoKHR): VkResult {.stdcall.}](vkGetInstanceProcAddr(instance, "vkUpdateVideoSessionParametersKHR")) | |
547 vkDestroyVideoSessionParametersKHR = cast[proc(device: VkDevice, videoSessionParameters: VkVideoSessionParametersKHR, pAllocator: ptr VkAllocationCallbacks): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkDestroyVideoSessionParametersKHR")) | |
548 vkCmdBeginVideoCodingKHR = cast[proc(commandBuffer: VkCommandBuffer, pBeginInfo: ptr VkVideoBeginCodingInfoKHR): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdBeginVideoCodingKHR")) | |
549 vkCmdEndVideoCodingKHR = cast[proc(commandBuffer: VkCommandBuffer, pEndCodingInfo: ptr VkVideoEndCodingInfoKHR): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdEndVideoCodingKHR")) | |
550 vkCmdControlVideoCodingKHR = cast[proc(commandBuffer: VkCommandBuffer, pCodingControlInfo: ptr VkVideoCodingControlInfoKHR): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdControlVideoCodingKHR")) | |
551 | |
552 # extension VK_KHR_video_encode_queue | |
553 var | |
554 vkCmdEncodeVideoKHR*: proc(commandBuffer: VkCommandBuffer, pEncodeInfo: ptr VkVideoEncodeInfoKHR): void {.stdcall.} | |
555 proc loadVK_KHR_video_encode_queue*(instance: VkInstance) = | |
556 loadVK_KHR_video_queue(instance) | |
557 loadVK_VERSION_1_3(instance) | |
558 vkCmdEncodeVideoKHR = cast[proc(commandBuffer: VkCommandBuffer, pEncodeInfo: ptr VkVideoEncodeInfoKHR): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdEncodeVideoKHR")) | |
559 | |
560 # extension VK_KHR_video_decode_queue | |
561 var | |
562 vkCmdDecodeVideoKHR*: proc(commandBuffer: VkCommandBuffer, pDecodeInfo: ptr VkVideoDecodeInfoKHR): void {.stdcall.} | |
563 proc loadVK_KHR_video_decode_queue*(instance: VkInstance) = | |
564 loadVK_KHR_video_queue(instance) | |
565 loadVK_VERSION_1_3(instance) | |
566 vkCmdDecodeVideoKHR = cast[proc(commandBuffer: VkCommandBuffer, pDecodeInfo: ptr VkVideoDecodeInfoKHR): void {.stdcall.}](vkGetInstanceProcAddr(instance, "vkCmdDecodeVideoKHR")) | |
567 | |
568 proc loadVK_KHR_portability_subset*(instance: VkInstance) = | |
569 loadVK_VERSION_1_1(instance) | |
570 | |
571 proc loadVK_EXT_video_encode_h264*(instance: VkInstance) = | |
572 loadVK_KHR_video_encode_queue(instance) | |
573 | |
574 proc loadVK_EXT_video_encode_h265*(instance: VkInstance) = | |
575 loadVK_KHR_video_encode_queue(instance) | |
576 | |
577 proc loadVK_KHR_video_decode_h265*(instance: VkInstance) = | |
578 loadVK_KHR_video_decode_queue(instance) | |
579 | |
580 proc loadVK_KHR_video_decode_h264*(instance: VkInstance) = | |
581 loadVK_KHR_video_decode_queue(instance) |