Record Class StdVideoH265VideoParameterSet
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265VideoParameterSet
- All Implemented Interfaces:
IPointer
,IStdVideoH265VideoParameterSet
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoH265VideoParameterSet(@NotNull MemorySegment segment)
extends Record
implements IStdVideoH265VideoParameterSet
Represents a pointer to a StdVideoH265VideoParameterSet
structure in native memory.
Structure
typedef struct StdVideoH265VideoParameterSet {
StdVideoH265VpsFlags
flags
;
uint8_t vps_video_parameter_set_id
;
uint8_t vps_max_sub_layers_minus1
;
uint8_t reserved1;
uint8_t reserved2;
uint32_t vps_num_units_in_tick
;
uint32_t vps_time_scale
;
uint32_t vps_num_ticks_poc_diff_one_minus1
;
uint32_t reserved3;
StdVideoH265DecPicBufMgr
const* pDecPicBufMgr
;
StdVideoH265HrdParameters
const* pHrdParameters
;
StdVideoH265ProfileTierLevel
const* pProfileTierLevel
;
} StdVideoH265VideoParameterSet;
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final StructLayout
static final AddressLayout
static final AddressLayout
static final AddressLayout
static final ValueLayout.OfByte
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfByte
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265VideoParameterSet
(@NotNull MemorySegment segment) Creates an instance of aStdVideoH265VideoParameterSet
record class. -
Method Summary
Modifier and TypeMethodDescriptionclone
(Arena arena, StdVideoH265VideoParameterSet src) final boolean
Indicates whether some other object is "equal to" this one.@NotNull StdVideoH265VpsFlags
flags()
flags
(@NotNull StdVideoH265VpsFlags value) flags
(Consumer<@NotNull StdVideoH265VpsFlags> consumer) final int
hashCode()
Returns a hash code value for this object.@Nullable StdVideoH265DecPicBufMgr
pDecPicBufMgr
(int assumedCount) pDecPicBufMgr
(@Nullable IStdVideoH265DecPicBufMgr value) void
pDecPicBufMgrRaw
(MemorySegment value) @Nullable StdVideoH265HrdParameters
pHrdParameters
(int assumedCount) pHrdParameters
(@Nullable IStdVideoH265HrdParameters value) void
pHrdParametersRaw
(MemorySegment value) @Nullable StdVideoH265ProfileTierLevel
pProfileTierLevel
(int assumedCount) pProfileTierLevel
(@Nullable IStdVideoH265ProfileTierLevel value) void
@NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.byte
vps_max_sub_layers_minus1
(byte value) int
vps_num_ticks_poc_diff_one_minus1
(int value) int
vps_num_units_in_tick
(int value) int
vps_time_scale
(int value) byte
vps_video_parameter_set_id
(byte value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$vps_video_parameter_set_id
-
PATH$vps_max_sub_layers_minus1
-
PATH$vps_num_units_in_tick
-
PATH$vps_time_scale
-
PATH$vps_num_ticks_poc_diff_one_minus1
-
PATH$pDecPicBufMgr
-
PATH$pHrdParameters
-
PATH$pProfileTierLevel
-
LAYOUT$flags
-
LAYOUT$vps_video_parameter_set_id
-
LAYOUT$vps_max_sub_layers_minus1
-
LAYOUT$vps_num_units_in_tick
-
LAYOUT$vps_time_scale
-
LAYOUT$vps_num_ticks_poc_diff_one_minus1
-
LAYOUT$pDecPicBufMgr
-
LAYOUT$pHrdParameters
-
LAYOUT$pProfileTierLevel
-
SIZE$flags
public static final long SIZE$flags -
SIZE$vps_video_parameter_set_id
public static final long SIZE$vps_video_parameter_set_id -
SIZE$vps_max_sub_layers_minus1
public static final long SIZE$vps_max_sub_layers_minus1 -
SIZE$vps_num_units_in_tick
public static final long SIZE$vps_num_units_in_tick -
SIZE$vps_time_scale
public static final long SIZE$vps_time_scale -
SIZE$vps_num_ticks_poc_diff_one_minus1
public static final long SIZE$vps_num_ticks_poc_diff_one_minus1 -
SIZE$pDecPicBufMgr
public static final long SIZE$pDecPicBufMgr -
SIZE$pHrdParameters
public static final long SIZE$pHrdParameters -
SIZE$pProfileTierLevel
public static final long SIZE$pProfileTierLevel -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$vps_video_parameter_set_id
public static final long OFFSET$vps_video_parameter_set_id -
OFFSET$vps_max_sub_layers_minus1
public static final long OFFSET$vps_max_sub_layers_minus1 -
OFFSET$vps_num_units_in_tick
public static final long OFFSET$vps_num_units_in_tick -
OFFSET$vps_time_scale
public static final long OFFSET$vps_time_scale -
OFFSET$vps_num_ticks_poc_diff_one_minus1
public static final long OFFSET$vps_num_ticks_poc_diff_one_minus1 -
OFFSET$pDecPicBufMgr
public static final long OFFSET$pDecPicBufMgr -
OFFSET$pHrdParameters
public static final long OFFSET$pHrdParameters -
OFFSET$pProfileTierLevel
public static final long OFFSET$pProfileTierLevel
-
-
Constructor Details
-
StdVideoH265VideoParameterSet
Creates an instance of aStdVideoH265VideoParameterSet
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
-
flags
-
flags
-
flags
-
vps_video_parameter_set_id
-
vps_video_parameter_set_id
-
vps_max_sub_layers_minus1
-
vps_max_sub_layers_minus1
-
vps_num_units_in_tick
-
vps_num_units_in_tick
-
vps_time_scale
-
vps_time_scale
-
vps_num_ticks_poc_diff_one_minus1
-
vps_num_ticks_poc_diff_one_minus1
-
pDecPicBufMgr
public StdVideoH265VideoParameterSet pDecPicBufMgr(@Nullable @Nullable IStdVideoH265DecPicBufMgr value) -
pDecPicBufMgr
-
pDecPicBufMgr
-
pDecPicBufMgrRaw
-
pDecPicBufMgrRaw
-
pHrdParameters
public StdVideoH265VideoParameterSet pHrdParameters(@Nullable @Nullable IStdVideoH265HrdParameters value) -
pHrdParameters
-
pHrdParameters
-
pHrdParametersRaw
-
pHrdParametersRaw
-
pProfileTierLevel
public StdVideoH265VideoParameterSet pProfileTierLevel(@Nullable @Nullable IStdVideoH265ProfileTierLevel value) -
pProfileTierLevel
-
pProfileTierLevel
-
pProfileTierLevelRaw
-
pProfileTierLevelRaw
public void pProfileTierLevelRaw(@Pointer(target=StdVideoH265ProfileTierLevel.class) MemorySegment value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-