Record Class StdVideoH264SequenceParameterSetVui
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH264SequenceParameterSetVui
- All Implemented Interfaces:
IPointer,IStdVideoH264SequenceParameterSetVui
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoH264SequenceParameterSetVui(@NotNull MemorySegment segment)
extends Record
implements IStdVideoH264SequenceParameterSetVui
Represents a pointer to a StdVideoH264SequenceParameterSetVui structure in native memory.
Structure
typedef struct StdVideoH264SequenceParameterSetVui {
StdVideoH264SpsVuiFlags flags;
StdVideoH264AspectRatioIdc aspect_ratio_idc;
uint16_t sar_width;
uint16_t sar_height;
uint8_t video_format;
uint8_t colour_primaries;
uint8_t transfer_characteristics;
uint8_t matrix_coefficients;
uint32_t num_units_in_tick;
uint32_t time_scale;
uint8_t max_num_reorder_frames;
uint8_t max_dec_frame_buffering;
uint8_t chroma_sample_loc_type_top_field;
uint8_t chroma_sample_loc_type_bottom_field;
uint32_t reserved1;
StdVideoH264HrdParameters const* pHrdParameters;
} StdVideoH264SequenceParameterSetVui;
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 ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final StructLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final AddressLayoutstatic final ValueLayout.OfShortstatic final ValueLayout.OfShortstatic final ValueLayout.OfIntstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic 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 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 longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH264SequenceParameterSetVui(@NotNull MemorySegment segment) Creates an instance of aStdVideoH264SequenceParameterSetVuirecord class. -
Method Summary
Modifier and TypeMethodDescriptionintaspect_ratio_idc(int value) bytechroma_sample_loc_type_bottom_field(byte value) bytechroma_sample_loc_type_top_field(byte value) clone(Arena arena, StdVideoH264SequenceParameterSetVui src) bytecolour_primaries(byte value) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoH264SpsVuiFlagsflags()flags(@NotNull StdVideoH264SpsVuiFlags value) flags(Consumer<@NotNull StdVideoH264SpsVuiFlags> consumer) final inthashCode()Returns a hash code value for this object.bytematrix_coefficients(byte value) bytemax_dec_frame_buffering(byte value) bytemax_num_reorder_frames(byte value) intnum_units_in_tick(int value) @Nullable StdVideoH264HrdParameterspHrdParameters(int assumedCount) pHrdParameters(@Nullable IStdVideoH264HrdParameters value) @NotNull MemorySegmentvoidpHrdParametersRaw(@NotNull MemorySegment value) shortsar_height(short value) shortsar_width(short value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.inttime_scale(int value) final StringtoString()Returns a string representation of this record class.bytetransfer_characteristics(byte value) bytevideo_format(byte value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$flags
-
PATH$aspect_ratio_idc
-
PATH$sar_width
-
PATH$sar_height
-
PATH$video_format
-
PATH$colour_primaries
-
PATH$transfer_characteristics
-
PATH$matrix_coefficients
-
PATH$num_units_in_tick
-
PATH$time_scale
-
PATH$max_num_reorder_frames
-
PATH$max_dec_frame_buffering
-
PATH$chroma_sample_loc_type_top_field
-
PATH$chroma_sample_loc_type_bottom_field
-
PATH$pHrdParameters
-
LAYOUT$flags
-
LAYOUT$aspect_ratio_idc
-
LAYOUT$sar_width
-
LAYOUT$sar_height
-
LAYOUT$video_format
-
LAYOUT$colour_primaries
-
LAYOUT$transfer_characteristics
-
LAYOUT$matrix_coefficients
-
LAYOUT$num_units_in_tick
-
LAYOUT$time_scale
-
LAYOUT$max_num_reorder_frames
-
LAYOUT$max_dec_frame_buffering
-
LAYOUT$chroma_sample_loc_type_top_field
-
LAYOUT$chroma_sample_loc_type_bottom_field
-
LAYOUT$pHrdParameters
-
SIZE$flags
public static final long SIZE$flags -
SIZE$aspect_ratio_idc
public static final long SIZE$aspect_ratio_idc -
SIZE$sar_width
public static final long SIZE$sar_width -
SIZE$sar_height
public static final long SIZE$sar_height -
SIZE$video_format
public static final long SIZE$video_format -
SIZE$colour_primaries
public static final long SIZE$colour_primaries -
SIZE$transfer_characteristics
public static final long SIZE$transfer_characteristics -
SIZE$matrix_coefficients
public static final long SIZE$matrix_coefficients -
SIZE$num_units_in_tick
public static final long SIZE$num_units_in_tick -
SIZE$time_scale
public static final long SIZE$time_scale -
SIZE$max_num_reorder_frames
public static final long SIZE$max_num_reorder_frames -
SIZE$max_dec_frame_buffering
public static final long SIZE$max_dec_frame_buffering -
SIZE$chroma_sample_loc_type_top_field
public static final long SIZE$chroma_sample_loc_type_top_field -
SIZE$chroma_sample_loc_type_bottom_field
public static final long SIZE$chroma_sample_loc_type_bottom_field -
SIZE$pHrdParameters
public static final long SIZE$pHrdParameters -
OFFSET$flags
public static final long OFFSET$flags -
OFFSET$aspect_ratio_idc
public static final long OFFSET$aspect_ratio_idc -
OFFSET$sar_width
public static final long OFFSET$sar_width -
OFFSET$sar_height
public static final long OFFSET$sar_height -
OFFSET$video_format
public static final long OFFSET$video_format -
OFFSET$colour_primaries
public static final long OFFSET$colour_primaries -
OFFSET$transfer_characteristics
public static final long OFFSET$transfer_characteristics -
OFFSET$matrix_coefficients
public static final long OFFSET$matrix_coefficients -
OFFSET$num_units_in_tick
public static final long OFFSET$num_units_in_tick -
OFFSET$time_scale
public static final long OFFSET$time_scale -
OFFSET$max_num_reorder_frames
public static final long OFFSET$max_num_reorder_frames -
OFFSET$max_dec_frame_buffering
public static final long OFFSET$max_dec_frame_buffering -
OFFSET$chroma_sample_loc_type_top_field
public static final long OFFSET$chroma_sample_loc_type_top_field -
OFFSET$chroma_sample_loc_type_bottom_field
public static final long OFFSET$chroma_sample_loc_type_bottom_field -
OFFSET$pHrdParameters
public static final long OFFSET$pHrdParameters
-
-
Constructor Details
-
StdVideoH264SequenceParameterSetVui
Creates an instance of aStdVideoH264SequenceParameterSetVuirecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoH264SequenceParameterSetVui clone(Arena arena, StdVideoH264SequenceParameterSetVui src) -
flags
-
flags
-
flags
public StdVideoH264SequenceParameterSetVui flags(Consumer<@NotNull StdVideoH264SpsVuiFlags> consumer) -
aspect_ratio_idc
-
aspect_ratio_idc
public StdVideoH264SequenceParameterSetVui aspect_ratio_idc(@EnumType(StdVideoH264AspectRatioIdc.class) int value) -
sar_width
-
sar_width
-
sar_height
-
sar_height
-
video_format
-
video_format
-
colour_primaries
-
colour_primaries
-
transfer_characteristics
-
transfer_characteristics
-
matrix_coefficients
-
matrix_coefficients
-
num_units_in_tick
-
num_units_in_tick
-
time_scale
-
time_scale
-
max_num_reorder_frames
-
max_num_reorder_frames
-
max_dec_frame_buffering
-
max_dec_frame_buffering
-
chroma_sample_loc_type_top_field
-
chroma_sample_loc_type_top_field
-
chroma_sample_loc_type_bottom_field
-
chroma_sample_loc_type_bottom_field
public StdVideoH264SequenceParameterSetVui chroma_sample_loc_type_bottom_field(@Unsigned byte value) -
pHrdParameters
public StdVideoH264SequenceParameterSetVui pHrdParameters(@Nullable @Nullable IStdVideoH264HrdParameters value) -
pHrdParameters
-
pHrdParameters
-
pHrdParametersRaw
@Pointer(target=StdVideoH264HrdParameters.class) @NotNull public @NotNull MemorySegment pHrdParametersRaw() -
pHrdParametersRaw
public void pHrdParametersRaw(@Pointer(target=StdVideoH264HrdParameters.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.
-