Record Class StdVideoH265SequenceParameterSetVui
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoH265SequenceParameterSetVui
- All Implemented Interfaces:
IPointer,IStdVideoH265SequenceParameterSetVui
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoH265SequenceParameterSetVui(@NotNull MemorySegment segment)
extends Record
implements IStdVideoH265SequenceParameterSetVui
Represents a pointer to a StdVideoH265SequenceParameterSetVui structure in native memory.
Structure
typedef struct StdVideoH265SequenceParameterSetVui {
StdVideoH265SpsVuiFlags flags;
StdVideoH265AspectRatioIdc 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_coeffs;
uint8_t chroma_sample_loc_type_top_field;
uint8_t chroma_sample_loc_type_bottom_field;
uint8_t reserved1;
uint8_t reserved2;
uint16_t def_disp_win_left_offset;
uint16_t def_disp_win_right_offset;
uint16_t def_disp_win_top_offset;
uint16_t def_disp_win_bottom_offset;
uint32_t vui_num_units_in_tick;
uint32_t vui_time_scale;
uint32_t vui_num_ticks_poc_diff_one_minus1;
uint16_t min_spatial_segmentation_idc;
uint16_t reserved3;
uint8_t max_bytes_per_pic_denom;
uint8_t max_bits_per_min_cu_denom;
uint8_t log2_max_mv_length_horizontal;
uint8_t log2_max_mv_length_vertical;
StdVideoH265HrdParameters const* pHrdParameters;
} StdVideoH265SequenceParameterSetVui;
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 ValueLayout.OfShortstatic final ValueLayout.OfShortstatic final ValueLayout.OfShortstatic final ValueLayout.OfShortstatic final StructLayoutstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfShortstatic final AddressLayoutstatic final ValueLayout.OfShortstatic final ValueLayout.OfShortstatic final ValueLayout.OfBytestatic final ValueLayout.OfBytestatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic 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 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 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 longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH265SequenceParameterSetVui(@NotNull MemorySegment segment) Creates an instance of aStdVideoH265SequenceParameterSetVuirecord 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, StdVideoH265SequenceParameterSetVui src) bytecolour_primaries(byte value) shortdef_disp_win_bottom_offset(short value) shortdef_disp_win_left_offset(short value) shortdef_disp_win_right_offset(short value) shortdef_disp_win_top_offset(short value) final booleanIndicates whether some other object is "equal to" this one.@NotNull StdVideoH265SpsVuiFlagsflags()flags(@NotNull StdVideoH265SpsVuiFlags value) flags(Consumer<@NotNull StdVideoH265SpsVuiFlags> consumer) final inthashCode()Returns a hash code value for this object.bytelog2_max_mv_length_horizontal(byte value) bytelog2_max_mv_length_vertical(byte value) bytematrix_coeffs(byte value) bytemax_bits_per_min_cu_denom(byte value) bytemax_bytes_per_pic_denom(byte value) shortmin_spatial_segmentation_idc(short value) @Nullable StdVideoH265HrdParameterspHrdParameters(int assumedCount) pHrdParameters(@Nullable IStdVideoH265HrdParameters value) @NotNull MemorySegmentvoidpHrdParametersRaw(@NotNull MemorySegment value) shortsar_height(short value) shortsar_width(short value) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.final StringtoString()Returns a string representation of this record class.bytetransfer_characteristics(byte value) bytevideo_format(byte value) intvui_num_ticks_poc_diff_one_minus1(int value) intvui_num_units_in_tick(int value) intvui_time_scale(int 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_coeffs
-
PATH$chroma_sample_loc_type_top_field
-
PATH$chroma_sample_loc_type_bottom_field
-
PATH$def_disp_win_left_offset
-
PATH$def_disp_win_right_offset
-
PATH$def_disp_win_top_offset
-
PATH$def_disp_win_bottom_offset
-
PATH$vui_num_units_in_tick
-
PATH$vui_time_scale
-
PATH$vui_num_ticks_poc_diff_one_minus1
-
PATH$min_spatial_segmentation_idc
-
PATH$max_bytes_per_pic_denom
-
PATH$max_bits_per_min_cu_denom
-
PATH$log2_max_mv_length_horizontal
-
PATH$log2_max_mv_length_vertical
-
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_coeffs
-
LAYOUT$chroma_sample_loc_type_top_field
-
LAYOUT$chroma_sample_loc_type_bottom_field
-
LAYOUT$def_disp_win_left_offset
-
LAYOUT$def_disp_win_right_offset
-
LAYOUT$def_disp_win_top_offset
-
LAYOUT$def_disp_win_bottom_offset
-
LAYOUT$vui_num_units_in_tick
-
LAYOUT$vui_time_scale
-
LAYOUT$vui_num_ticks_poc_diff_one_minus1
-
LAYOUT$min_spatial_segmentation_idc
-
LAYOUT$max_bytes_per_pic_denom
-
LAYOUT$max_bits_per_min_cu_denom
-
LAYOUT$log2_max_mv_length_horizontal
-
LAYOUT$log2_max_mv_length_vertical
-
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_coeffs
public static final long SIZE$matrix_coeffs -
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$def_disp_win_left_offset
public static final long SIZE$def_disp_win_left_offset -
SIZE$def_disp_win_right_offset
public static final long SIZE$def_disp_win_right_offset -
SIZE$def_disp_win_top_offset
public static final long SIZE$def_disp_win_top_offset -
SIZE$def_disp_win_bottom_offset
public static final long SIZE$def_disp_win_bottom_offset -
SIZE$vui_num_units_in_tick
public static final long SIZE$vui_num_units_in_tick -
SIZE$vui_time_scale
public static final long SIZE$vui_time_scale -
SIZE$vui_num_ticks_poc_diff_one_minus1
public static final long SIZE$vui_num_ticks_poc_diff_one_minus1 -
SIZE$min_spatial_segmentation_idc
public static final long SIZE$min_spatial_segmentation_idc -
SIZE$max_bytes_per_pic_denom
public static final long SIZE$max_bytes_per_pic_denom -
SIZE$max_bits_per_min_cu_denom
public static final long SIZE$max_bits_per_min_cu_denom -
SIZE$log2_max_mv_length_horizontal
public static final long SIZE$log2_max_mv_length_horizontal -
SIZE$log2_max_mv_length_vertical
public static final long SIZE$log2_max_mv_length_vertical -
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_coeffs
public static final long OFFSET$matrix_coeffs -
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$def_disp_win_left_offset
public static final long OFFSET$def_disp_win_left_offset -
OFFSET$def_disp_win_right_offset
public static final long OFFSET$def_disp_win_right_offset -
OFFSET$def_disp_win_top_offset
public static final long OFFSET$def_disp_win_top_offset -
OFFSET$def_disp_win_bottom_offset
public static final long OFFSET$def_disp_win_bottom_offset -
OFFSET$vui_num_units_in_tick
public static final long OFFSET$vui_num_units_in_tick -
OFFSET$vui_time_scale
public static final long OFFSET$vui_time_scale -
OFFSET$vui_num_ticks_poc_diff_one_minus1
public static final long OFFSET$vui_num_ticks_poc_diff_one_minus1 -
OFFSET$min_spatial_segmentation_idc
public static final long OFFSET$min_spatial_segmentation_idc -
OFFSET$max_bytes_per_pic_denom
public static final long OFFSET$max_bytes_per_pic_denom -
OFFSET$max_bits_per_min_cu_denom
public static final long OFFSET$max_bits_per_min_cu_denom -
OFFSET$log2_max_mv_length_horizontal
public static final long OFFSET$log2_max_mv_length_horizontal -
OFFSET$log2_max_mv_length_vertical
public static final long OFFSET$log2_max_mv_length_vertical -
OFFSET$pHrdParameters
public static final long OFFSET$pHrdParameters
-
-
Constructor Details
-
StdVideoH265SequenceParameterSetVui
Creates an instance of aStdVideoH265SequenceParameterSetVuirecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoH265SequenceParameterSetVui clone(Arena arena, StdVideoH265SequenceParameterSetVui src) -
flags
-
flags
-
flags
public StdVideoH265SequenceParameterSetVui flags(Consumer<@NotNull StdVideoH265SpsVuiFlags> consumer) -
aspect_ratio_idc
-
aspect_ratio_idc
public StdVideoH265SequenceParameterSetVui aspect_ratio_idc(@EnumType(StdVideoH265AspectRatioIdc.class) int value) -
sar_width
-
sar_width
-
sar_height
-
sar_height
-
video_format
-
video_format
-
colour_primaries
-
colour_primaries
-
transfer_characteristics
-
transfer_characteristics
-
matrix_coeffs
-
matrix_coeffs
-
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 StdVideoH265SequenceParameterSetVui chroma_sample_loc_type_bottom_field(@Unsigned byte value) -
def_disp_win_left_offset
-
def_disp_win_left_offset
-
def_disp_win_right_offset
-
def_disp_win_right_offset
-
def_disp_win_top_offset
-
def_disp_win_top_offset
-
def_disp_win_bottom_offset
-
def_disp_win_bottom_offset
-
vui_num_units_in_tick
-
vui_num_units_in_tick
-
vui_time_scale
-
vui_time_scale
-
vui_num_ticks_poc_diff_one_minus1
-
vui_num_ticks_poc_diff_one_minus1
-
min_spatial_segmentation_idc
-
min_spatial_segmentation_idc
-
max_bytes_per_pic_denom
-
max_bytes_per_pic_denom
-
max_bits_per_min_cu_denom
-
max_bits_per_min_cu_denom
-
log2_max_mv_length_horizontal
-
log2_max_mv_length_horizontal
-
log2_max_mv_length_vertical
-
log2_max_mv_length_vertical
-
pHrdParameters
public StdVideoH265SequenceParameterSetVui 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) -
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.
-