Class VkVideoEncodeH264FrameSizeKHR
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.khr.struct.VkVideoEncodeH264FrameSizeKHR
- All Implemented Interfaces:
Addressable
Layout
struct VkVideoEncodeH264FrameSizeKHR {
uint32_t frameISize;
uint32_t framePSize;
uint32_t frameBSize;
};
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final GroupLayout
The struct layout ofVkVideoEncodeH264FrameSizeKHR
.static final MemoryLayout
The memory layout offrameBSize
.static final MemoryLayout
The memory layout offrameISize
.static final MemoryLayout
The memory layout offramePSize
.static final long
The byte offset offrameBSize
.static final long
The byte offset offrameISize
.static final long
The byte offset offramePSize
.static final VarHandle
static final VarHandle
static final VarHandle
-
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeH264FrameSizeKHR
(MemorySegment segment, long elementCount) CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionalloc
(SegmentAllocator allocator) Allocates aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator.alloc
(SegmentAllocator allocator, long count) Allocates aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator and count.asSlice
(long index) Creates a slice ofVkVideoEncodeH264FrameSizeKHR
.asSlice
(long index, long count) Creates a slice ofVkVideoEncodeH264FrameSizeKHR
.at
(long index, Consumer<VkVideoEncodeH264FrameSizeKHR> func) VisitsVkVideoEncodeH264FrameSizeKHR
buffer at the given index.Copies from the given source.int
ReturnsframeBSize
.frameBSize
(int value) SetsframeBSize
with the given value.static int
frameBSize
(MemorySegment segment, long index) ReturnsframeBSize
at the given index.static void
frameBSize
(MemorySegment segment, long index, int value) SetsframeBSize
with the given value at the given index.int
frameBSizeAt
(long index) ReturnsframeBSize
at the given index.frameBSizeAt
(long index, int value) SetsframeBSize
with the given value at the given index.int
ReturnsframeISize
.frameISize
(int value) SetsframeISize
with the given value.static int
frameISize
(MemorySegment segment, long index) ReturnsframeISize
at the given index.static void
frameISize
(MemorySegment segment, long index, int value) SetsframeISize
with the given value at the given index.int
frameISizeAt
(long index) ReturnsframeISize
at the given index.frameISizeAt
(long index, int value) SetsframeISize
with the given value at the given index.int
ReturnsframePSize
.framePSize
(int value) SetsframePSize
with the given value.static int
framePSize
(MemorySegment segment, long index) ReturnsframePSize
at the given index.static void
framePSize
(MemorySegment segment, long index, int value) SetsframePSize
with the given value at the given index.int
framePSizeAt
(long index) ReturnsframePSize
at the given index.framePSizeAt
(long index, int value) SetsframePSize
with the given value at the given index.of
(MemorySegment segment) CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.ofNative
(MemorySegment segment) CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.ofNative
(MemorySegment segment, long count) CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.reinterpret
(long count) Reinterprets this buffer with the given count.Methods inherited from class overrungl.struct.GroupType
estimateCount, estimateCount, groupLayout, segment
-
Field Details
-
LAYOUT
The struct layout ofVkVideoEncodeH264FrameSizeKHR
. -
OFFSET_frameISize
public static final long OFFSET_frameISizeThe byte offset offrameISize
. -
LAYOUT_frameISize
The memory layout offrameISize
. -
VH_frameISize
-
OFFSET_framePSize
public static final long OFFSET_framePSizeThe byte offset offramePSize
. -
LAYOUT_framePSize
The memory layout offramePSize
. -
VH_framePSize
-
OFFSET_frameBSize
public static final long OFFSET_frameBSizeThe byte offset offrameBSize
. -
LAYOUT_frameBSize
The memory layout offrameBSize
. -
VH_frameBSize
-
-
Constructor Details
-
VkVideoEncodeH264FrameSizeKHR
CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count of this struct buffer
-
-
Method Details
-
of
CreatesVkVideoEncodeH264FrameSizeKHR
with the given segment.- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkVideoEncodeH264FrameSizeKHR
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segment- Returns:
- the created instance or
null
if the segment isNULL
-
ofNative
Creates
VkVideoEncodeH264FrameSizeKHR
with the given segment.Reinterprets the segment if zero-length.
- Parameters:
segment
- the memory segmentcount
- the count of the buffer- Returns:
- the created instance or
null
if the segment isNULL
-
alloc
Allocates aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator.- Parameters:
allocator
- the segment allocator- Returns:
- the allocated
VkVideoEncodeH264FrameSizeKHR
-
alloc
Allocates aVkVideoEncodeH264FrameSizeKHR
with the given segment allocator and count.- Parameters:
allocator
- the segment allocatorcount
- the count- Returns:
- the allocated
VkVideoEncodeH264FrameSizeKHR
-
copyFrom
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
-
frameISize
ReturnsframeISize
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
frameISize
at the given index
-
frameISize
public int frameISize()ReturnsframeISize
.- Returns:
frameISize
-
frameISize
SetsframeISize
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
frameISize
SetsframeISize
with the given value.- Parameters:
value
- the value- Returns:
this
-
framePSize
ReturnsframePSize
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
framePSize
at the given index
-
framePSize
public int framePSize()ReturnsframePSize
.- Returns:
framePSize
-
framePSize
SetsframePSize
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
framePSize
SetsframePSize
with the given value.- Parameters:
value
- the value- Returns:
this
-
frameBSize
ReturnsframeBSize
at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffer- Returns:
frameBSize
at the given index
-
frameBSize
public int frameBSize()ReturnsframeBSize
.- Returns:
frameBSize
-
frameBSize
SetsframeBSize
with the given value at the given index.- Parameters:
segment
- the segment of the structindex
- the index of the struct buffervalue
- the value
-
frameBSize
SetsframeBSize
with the given value.- Parameters:
value
- the value- Returns:
this
-
asSlice
Creates a slice ofVkVideoEncodeH264FrameSizeKHR
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
VkVideoEncodeH264FrameSizeKHR
-
asSlice
Creates a slice ofVkVideoEncodeH264FrameSizeKHR
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
VkVideoEncodeH264FrameSizeKHR
-
at
VisitsVkVideoEncodeH264FrameSizeKHR
buffer at the given index.- Parameters:
index
- the index of this bufferfunc
- the function to run with the slice of this buffer- Returns:
this
-
frameISizeAt
public int frameISizeAt(long index) ReturnsframeISize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
frameISize
at the given index
-
frameISizeAt
SetsframeISize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
framePSizeAt
public int framePSizeAt(long index) ReturnsframePSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
framePSize
at the given index
-
framePSizeAt
SetsframePSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
frameBSizeAt
public int frameBSizeAt(long index) ReturnsframeBSize
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
frameBSize
at the given index
-
frameBSizeAt
SetsframeBSize
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-