Class VkVideoDecodeH264InlineSessionParametersInfoKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoDecodeH264InlineSessionParametersInfoKHR
- All Implemented Interfaces:
Addressable
Represents VkVideoDecodeH264InlineSessionParametersInfoKHR.
Layout
struct VkVideoDecodeH264InlineSessionParametersInfoKHR {
(int) VkStructureType sType;
const void* pNext;
const StdVideoH264SequenceParameterSet* pStdSPS;
const StdVideoH264PictureParameterSet* pStdPPS;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkVideoDecodeH264InlineSessionParametersInfoKHR.static final MemoryLayoutThe memory layout ofpNext.static final MemoryLayoutThe memory layout ofpStdPPS.static final MemoryLayoutThe memory layout ofpStdSPS.static final MemoryLayoutThe memory layout ofsType.static final longThe byte offset ofpNext.static final longThe byte offset ofpStdPPS.static final longThe byte offset ofpStdSPS.static final longThe byte offset ofsType.static final VarHandlestatic final VarHandlestatic final VarHandlestatic final VarHandle -
Constructor Summary
ConstructorsConstructorDescriptionVkVideoDecodeH264InlineSessionParametersInfoKHR(MemorySegment segment, long elementCount) CreatesVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkVideoDecodeH264InlineSessionParametersInfoKHR.asSlice(long index, long count) Creates a slice ofVkVideoDecodeH264InlineSessionParametersInfoKHR.at(long index, Consumer<VkVideoDecodeH264InlineSessionParametersInfoKHR> func) VisitsVkVideoDecodeH264InlineSessionParametersInfoKHRbuffer at the given index.Copies from the given source.of(MemorySegment segment) CreatesVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment.ofNative(MemorySegment segment) CreatesVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment.pNext()ReturnspNext.pNext(MemorySegment value) SetspNextwith the given value.static MemorySegmentpNext(MemorySegment segment, long index) ReturnspNextat the given index.static voidpNext(MemorySegment segment, long index, MemorySegment value) SetspNextwith the given value at the given index.pNextAt(long index) ReturnspNextat the given index.pNextAt(long index, MemorySegment value) SetspNextwith the given value at the given index.pStdPPS()ReturnspStdPPS.pStdPPS(MemorySegment value) SetspStdPPSwith the given value.static MemorySegmentpStdPPS(MemorySegment segment, long index) ReturnspStdPPSat the given index.static voidpStdPPS(MemorySegment segment, long index, MemorySegment value) SetspStdPPSwith the given value at the given index.pStdPPSAt(long index) ReturnspStdPPSat the given index.pStdPPSAt(long index, MemorySegment value) SetspStdPPSwith the given value at the given index.pStdSPS()ReturnspStdSPS.pStdSPS(MemorySegment value) SetspStdSPSwith the given value.static MemorySegmentpStdSPS(MemorySegment segment, long index) ReturnspStdSPSat the given index.static voidpStdSPS(MemorySegment segment, long index, MemorySegment value) SetspStdSPSwith the given value at the given index.pStdSPSAt(long index) ReturnspStdSPSat the given index.pStdSPSAt(long index, MemorySegment value) SetspStdSPSwith the given value at the given index.reinterpret(long count) Reinterprets this buffer with the given count.intsType()ReturnssType.sType(int value) SetssTypewith the given value.static intsType(MemorySegment segment, long index) ReturnssTypeat the given index.static voidsType(MemorySegment segment, long index, int value) SetssTypewith the given value at the given index.intsTypeAt(long index) ReturnssTypeat the given index.sTypeAt(long index, int value) SetssTypewith the given value at the given index.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkVideoDecodeH264InlineSessionParametersInfoKHR. -
OFFSET_sType
public static final long OFFSET_sTypeThe byte offset ofsType. -
LAYOUT_sType
The memory layout ofsType. -
VH_sType
-
OFFSET_pNext
public static final long OFFSET_pNextThe byte offset ofpNext. -
LAYOUT_pNext
The memory layout ofpNext. -
VH_pNext
-
OFFSET_pStdSPS
public static final long OFFSET_pStdSPSThe byte offset ofpStdSPS. -
LAYOUT_pStdSPS
The memory layout ofpStdSPS. -
VH_pStdSPS
-
OFFSET_pStdPPS
public static final long OFFSET_pStdPPSThe byte offset ofpStdPPS. -
LAYOUT_pStdPPS
The memory layout ofpStdPPS. -
VH_pStdPPS
-
-
Constructor Details
-
VkVideoDecodeH264InlineSessionParametersInfoKHR
CreatesVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment.- Parameters:
segment- the memory segmentelementCount- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment.- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
Creates
VkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segment- Returns:
- the created instance or
nullif the segment isNULL
-
ofNative
public static VkVideoDecodeH264InlineSessionParametersInfoKHR ofNative(MemorySegment segment, long count) Creates
VkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment- the memory segmentcount- the count of the buffer- Returns:
- the created instance or
nullif the segment isNULL
-
alloc
Allocates aVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment allocator.- Parameters:
allocator- the segment allocator- Returns:
- the allocated
VkVideoDecodeH264InlineSessionParametersInfoKHR
-
alloc
public static VkVideoDecodeH264InlineSessionParametersInfoKHR alloc(SegmentAllocator allocator, long count) Allocates aVkVideoDecodeH264InlineSessionParametersInfoKHRwith the given segment allocator and count.- Parameters:
allocator- the segment allocatorcount- the count- Returns:
- the allocated
VkVideoDecodeH264InlineSessionParametersInfoKHR
-
copyFrom
public VkVideoDecodeH264InlineSessionParametersInfoKHR copyFrom(VkVideoDecodeH264InlineSessionParametersInfoKHR src) Copies from the given source.- Parameters:
src- the source- Returns:
this
-
reinterpret
Reinterprets this buffer with the given count.- Parameters:
count- the new count- Returns:
- the reinterpreted buffer
-
sType
ReturnssTypeat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
sTypeat the given index
-
sType
public int sType()ReturnssType.- Returns:
sType
-
sType
SetssTypewith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
sType
SetssTypewith the given value.- Parameters:
value- the value- Returns:
this
-
pNext
ReturnspNextat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pNextat the given index
-
pNext
-
pNext
SetspNextwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pNext
SetspNextwith the given value.- Parameters:
value- the value- Returns:
this
-
pStdSPS
ReturnspStdSPSat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pStdSPSat the given index
-
pStdSPS
-
pStdSPS
SetspStdSPSwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pStdSPS
SetspStdSPSwith the given value.- Parameters:
value- the value- Returns:
this
-
pStdPPS
ReturnspStdPPSat the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffer- Returns:
pStdPPSat the given index
-
pStdPPS
-
pStdPPS
SetspStdPPSwith the given value at the given index.- Parameters:
segment- the segment of the structindex- the index of the struct buffervalue- the value
-
pStdPPS
SetspStdPPSwith the given value.- Parameters:
value- the value- Returns:
this
-
asSlice
Creates a slice ofVkVideoDecodeH264InlineSessionParametersInfoKHR.- Parameters:
index- the index of the struct buffer- Returns:
- the slice of
VkVideoDecodeH264InlineSessionParametersInfoKHR
-
asSlice
Creates a slice ofVkVideoDecodeH264InlineSessionParametersInfoKHR.- Parameters:
index- the index of the struct buffercount- the count- Returns:
- the slice of
VkVideoDecodeH264InlineSessionParametersInfoKHR
-
at
public VkVideoDecodeH264InlineSessionParametersInfoKHR at(long index, Consumer<VkVideoDecodeH264InlineSessionParametersInfoKHR> func) VisitsVkVideoDecodeH264InlineSessionParametersInfoKHRbuffer at the given index.- Parameters:
index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
this
-
sTypeAt
public int sTypeAt(long index) ReturnssTypeat the given index.- Parameters:
index- the index of the struct buffer- Returns:
sTypeat the given index
-
sTypeAt
SetssTypewith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pNextAt
ReturnspNextat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pNextat the given index
-
pNextAt
SetspNextwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pStdSPSAt
ReturnspStdSPSat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pStdSPSat the given index
-
pStdSPSAt
SetspStdSPSwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-
pStdPPSAt
ReturnspStdPPSat the given index.- Parameters:
index- the index of the struct buffer- Returns:
pStdPPSat the given index
-
pStdPPSAt
SetspStdPPSwith the given value at the given index.- Parameters:
index- the index of the struct buffervalue- the value- Returns:
this
-