Class StdVideoH264ScalingLists.Buffer
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.video.StdVideoH264ScalingLists
overrungl.vulkan.video.StdVideoH264ScalingLists.Buffer
- All Implemented Interfaces:
Addressable
- Enclosing class:
StdVideoH264ScalingLists
A buffer of
StdVideoH264ScalingLists
.-
Nested Class Summary
Nested classes/interfaces inherited from class overrungl.vulkan.video.StdVideoH264ScalingLists
StdVideoH264ScalingLists.Buffer
-
Field Summary
Fields inherited from class overrungl.vulkan.video.StdVideoH264ScalingLists
LAYOUT, LAYOUT_scaling_list_present_mask, LAYOUT_ScalingList4x4, LAYOUT_ScalingList8x8, LAYOUT_use_default_scaling_matrix_mask, OFFSET_scaling_list_present_mask, OFFSET_ScalingList4x4, OFFSET_ScalingList8x8, OFFSET_use_default_scaling_matrix_mask, VH_scaling_list_present_mask, VH_ScalingList4x4, VH_ScalingList8x8, VH_use_default_scaling_matrix_mask
-
Constructor Summary
ConstructorsConstructorDescriptionBuffer
(MemorySegment segment, long elementCount) CreatesStdVideoH264ScalingLists.Buffer
with the given segment. -
Method Summary
Modifier and TypeMethodDescriptionasSlice
(long index) Creates a slice ofStdVideoH264ScalingLists
.asSlice
(long index, long count) Creates a slice ofStdVideoH264ScalingLists
.long
Estimates the element count of this group type buffer.short
scaling_list_present_maskAt
(long index) Returnsscaling_list_present_mask
at the given index.scaling_list_present_maskAt
(long index, short value) Setsscaling_list_present_mask
with the given value at the given index.ScalingList4x4At
(long index) ReturnsScalingList4x4
at the given index.byte
ScalingList4x4At
(long index, long index0, long index1) ReturnsScalingList4x4
at the given index.ScalingList4x4At
(long index, long index0, long index1, byte value) SetsScalingList4x4
with the given value at the given index.ScalingList4x4At
(long index, MemorySegment value) SetsScalingList4x4
with the given value at the given index.ScalingList8x8At
(long index) ReturnsScalingList8x8
at the given index.byte
ScalingList8x8At
(long index, long index0, long index1) ReturnsScalingList8x8
at the given index.ScalingList8x8At
(long index, long index0, long index1, byte value) SetsScalingList8x8
with the given value at the given index.ScalingList8x8At
(long index, MemorySegment value) SetsScalingList8x8
with the given value at the given index.short
use_default_scaling_matrix_maskAt
(long index) Returnsuse_default_scaling_matrix_mask
at the given index.use_default_scaling_matrix_maskAt
(long index, short value) Setsuse_default_scaling_matrix_mask
with the given value at the given index.Methods inherited from class overrungl.vulkan.video.StdVideoH264ScalingLists
alloc, alloc, asBuffer, copyFrom, of, ofNative, ofNative, scaling_list_present_mask, scaling_list_present_mask, scaling_list_present_mask, scaling_list_present_mask, ScalingList4x4, ScalingList4x4, ScalingList4x4, ScalingList4x4, ScalingList4x4, ScalingList4x4, ScalingList4x4, ScalingList4x4, ScalingList8x8, ScalingList8x8, ScalingList8x8, ScalingList8x8, ScalingList8x8, ScalingList8x8, ScalingList8x8, ScalingList8x8, use_default_scaling_matrix_mask, use_default_scaling_matrix_mask, use_default_scaling_matrix_mask, use_default_scaling_matrix_mask
Methods inherited from class overrungl.struct.GroupType
estimateCount, groupLayout, segment
-
Constructor Details
-
Buffer
CreatesStdVideoH264ScalingLists.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 ofStdVideoH264ScalingLists
.- Parameters:
index
- the index of the struct buffer- Returns:
- the slice of
StdVideoH264ScalingLists
-
asSlice
Creates a slice ofStdVideoH264ScalingLists
.- Parameters:
index
- the index of the struct buffercount
- the count- Returns:
- the slice of
StdVideoH264ScalingLists
-
scaling_list_present_maskAt
public short scaling_list_present_maskAt(long index) Returnsscaling_list_present_mask
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
scaling_list_present_mask
at the given index
-
scaling_list_present_maskAt
Setsscaling_list_present_mask
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
use_default_scaling_matrix_maskAt
public short use_default_scaling_matrix_maskAt(long index) Returnsuse_default_scaling_matrix_mask
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
use_default_scaling_matrix_mask
at the given index
-
use_default_scaling_matrix_maskAt
Setsuse_default_scaling_matrix_mask
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
ScalingList4x4At
ReturnsScalingList4x4
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
ScalingList4x4
at the given index
-
ScalingList4x4At
public byte ScalingList4x4At(long index, long index0, long index1) ReturnsScalingList4x4
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:
ScalingList4x4
at the given index
-
ScalingList4x4At
SetsScalingList4x4
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
ScalingList4x4At
public StdVideoH264ScalingLists.Buffer ScalingList4x4At(long index, long index0, long index1, byte value) SetsScalingList4x4
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
-
ScalingList8x8At
ReturnsScalingList8x8
at the given index.- Parameters:
index
- the index of the struct buffer- Returns:
ScalingList8x8
at the given index
-
ScalingList8x8At
public byte ScalingList8x8At(long index, long index0, long index1) ReturnsScalingList8x8
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:
ScalingList8x8
at the given index
-
ScalingList8x8At
SetsScalingList8x8
with the given value at the given index.- Parameters:
index
- the index of the struct buffervalue
- the value- Returns:
this
-
ScalingList8x8At
public StdVideoH264ScalingLists.Buffer ScalingList8x8At(long index, long index0, long index1, byte value) SetsScalingList8x8
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
-