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 recordRepresents a pointer to / an array of null structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final StructLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final AddressLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265VideoParameterSet(@NotNull MemorySegment segment) Creates an instance of aStdVideoH265VideoParameterSetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionclone(Arena arena, StdVideoH265VideoParameterSet src) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoH265VpsFlagsflags()flags(@NotNull StdVideoH265VpsFlags value) flags(Consumer<@NotNull StdVideoH265VpsFlags> consumer) final inthashCode()Returns a hash code value for this object.@Nullable StdVideoH265DecPicBufMgrpDecPicBufMgr(int assumedCount) pDecPicBufMgr(@Nullable IStdVideoH265DecPicBufMgr value) @NotNull MemorySegmentvoidpDecPicBufMgrRaw(@NotNull MemorySegment value) @Nullable StdVideoH265HrdParameterspHrdParameters(int assumedCount) pHrdParameters(@Nullable IStdVideoH265HrdParameters value) @NotNull MemorySegmentvoidpHrdParametersRaw(@NotNull MemorySegment value) @Nullable StdVideoH265ProfileTierLevelpProfileTierLevel(int assumedCount) pProfileTierLevel(@Nullable IStdVideoH265ProfileTierLevel value) @NotNull MemorySegmentvoidpProfileTierLevelRaw(@NotNull MemorySegment value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.bytevps_max_sub_layers_minus1(byte value) intvps_num_ticks_poc_diff_one_minus1(int value) intvps_num_units_in_tick(int value) intvps_time_scale(int value) bytevps_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 aStdVideoH265VideoParameterSetrecord class.- Parameters:
segment- the value for thesegmentrecord 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
@Pointer(target=StdVideoH265DecPicBufMgr.class) @NotNull public @NotNull MemorySegment pDecPicBufMgrRaw() -
pDecPicBufMgrRaw
public void pDecPicBufMgrRaw(@Pointer(target=StdVideoH265DecPicBufMgr.class) @NotNull @NotNull MemorySegment value) -
pHrdParameters
public StdVideoH265VideoParameterSet pHrdParameters(@Nullable @Nullable IStdVideoH265HrdParameters value) -
pHrdParameters
-
pHrdParameters
-
pHrdParametersRaw
@Pointer(target=StdVideoH265HrdParameters.class) @NotNull public @NotNull MemorySegment pHrdParametersRaw() -
pHrdParametersRaw
public void pHrdParametersRaw(@Pointer(target=StdVideoH265HrdParameters.class) @NotNull @NotNull MemorySegment value) -
pProfileTierLevel
public StdVideoH265VideoParameterSet pProfileTierLevel(@Nullable @Nullable IStdVideoH265ProfileTierLevel value) -
pProfileTierLevel
-
pProfileTierLevel
-
pProfileTierLevelRaw
@Pointer(target=StdVideoH265ProfileTierLevel.class) @NotNull public @NotNull MemorySegment pProfileTierLevelRaw() -
pProfileTierLevelRaw
public void pProfileTierLevelRaw(@Pointer(target=StdVideoH265ProfileTierLevel.class) @NotNull @NotNull 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 thesegmentrecord component.
-