Class StdVideoAV1Segmentation.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoAV1Segmentation
overrungl.vulkan.video.StdVideoAV1Segmentation.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
StdVideoAV1Segmentation
A buffer of
StdVideoAV1Segmentation
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.video.StdVideoAV1Segmentation
StdVideoAV1Segmentation.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.video.StdVideoAV1Segmentation
LAYOUT, LAYOUT_FeatureData, LAYOUT_FeatureEnabled, OFFSET_FeatureData, OFFSET_FeatureEnabled, VH_FeatureData, VH_FeatureEnabled
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesStdVideoAV1Segmentation.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofStdVideoAV1Segmentation
.asSlice
(long index, long count) Creates a slice ofStdVideoAV1Segmentation
.long
Estimates the element count of this group type buffer.FeatureDataAt
(long index) ReturnsFeatureData
at the given index.short
FeatureDataAt
(long index, long index0, long index1) ReturnsFeatureData
at the given index.FeatureDataAt
(long index, long index0, long index1, short value) SetsFeatureData
with the given value at the given index.FeatureDataAt
(long index, MemorySegment value) SetsFeatureData
with the given value at the given index.FeatureEnabledAt
(long index) ReturnsFeatureEnabled
at the given index.byte
FeatureEnabledAt
(long index, long index0) ReturnsFeatureEnabled
at the given index.FeatureEnabledAt
(long index, long index0, byte value) SetsFeatureEnabled
with the given value at the given index.FeatureEnabledAt
(long index, MemorySegment value) SetsFeatureEnabled
with the given value at the given index.Methods inherited from class overrungl.vulkan.video.StdVideoAV1Segmentation
alloc, alloc, asBuffer, copyFrom, FeatureData, FeatureData, FeatureData, FeatureData, FeatureData, FeatureData, FeatureData, FeatureData, FeatureEnabled, FeatureEnabled, FeatureEnabled, FeatureEnabled, FeatureEnabled, FeatureEnabled, FeatureEnabled, FeatureEnabled, of, ofNative, ofNative
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesStdVideoAV1Segmentation.Buffer
with the given segment.- Parameters:
segment
- the memory segmentelementCount
- the element count
-
-
Method Details
-
estimateCount
public long estimateCount()Description copied from class:GroupType
Estimates the element count of this group type buffer.- Overrides:
estimateCount
in classGroupType
- Returns:
- the estimated element count of the group type buffer
-
asSlice
Creates a slice ofStdVideoAV1Segmentation
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
StdVideoAV1Segmentation
-
asSlice
Creates a slice ofStdVideoAV1Segmentation
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
StdVideoAV1Segmentation
-
FeatureEnabledAt
ReturnsFeatureEnabled
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
FeatureEnabled
at the given index
-
FeatureEnabledAt
public byte FeatureEnabledAt(long index, long index0) ReturnsFeatureEnabled
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the array- Returns:
FeatureEnabled
at the given index
-
FeatureEnabledAt
SetsFeatureEnabled
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
FeatureEnabledAt
SetsFeatureEnabled
with the given value at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayvalue
- the value- Returns:
this
-
FeatureDataAt
ReturnsFeatureData
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
FeatureData
at the given index
-
FeatureDataAt
public short FeatureDataAt(long index, long index0, long index1) ReturnsFeatureData
at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayindex1
- the Index 1 of the array- Returns:
FeatureData
at the given index
-
FeatureDataAt
SetsFeatureData
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
FeatureDataAt
public StdVideoAV1Segmentation.Buffer FeatureDataAt(long index, long index0, long index1, short value) SetsFeatureData
with the given value at the given index.- Parameters:
index
- the index of the struct bufferindex0
- the Index 0 of the arrayindex1
- the Index 1 of the arrayvalue
- the value- Returns:
this
-