Record Class StdVideoDecodeH264PictureInfoFlags
java.lang.Object
java.lang.Record
club.doki7.vulkan.datatype.StdVideoDecodeH264PictureInfoFlags
- All Implemented Interfaces:
IPointer
,IStdVideoDecodeH264PictureInfoFlags
@ValueBasedCandidate
@UnsafeConstructor
public record StdVideoDecodeH264PictureInfoFlags(@NotNull MemorySegment segment)
extends Record
implements IStdVideoDecodeH264PictureInfoFlags
Represents a pointer to a StdVideoDecodeH264PictureInfoFlags
structure in native memory.
Structure
typedef struct StdVideoDecodeH264PictureInfoFlags {
uint32_t field_pic_flag
: 1;
uint32_t is_intra
: 1;
uint32_t IdrPicFlag
: 1;
uint32_t bottom_field_flag
: 1;
uint32_t is_reference
: 1;
uint32_t complementary_field_pair
: 1;
} StdVideoDecodeH264PictureInfoFlags;
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 ValueLayout.OfInt
static final long
static final MemoryLayout.PathElement
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoDecodeH264PictureInfoFlags
(@NotNull MemorySegment segment) Creates an instance of aStdVideoDecodeH264PictureInfoFlags
record class. -
Method Summary
Modifier and TypeMethodDescriptionboolean
bottom_field_flag
(boolean value) clone
(Arena arena, StdVideoDecodeH264PictureInfoFlags src) boolean
complementary_field_pair
(boolean value) final boolean
Indicates whether some other object is "equal to" this one.boolean
field_pic_flag
(boolean value) final int
hashCode()
Returns a hash code value for this object.boolean
IdrPicFlag
(boolean value) boolean
is_intra()
is_intra
(boolean value) boolean
is_reference
(boolean value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$bitfield$field_pic_flag$complementary_field_pair
-
LAYOUT$bitfield$field_pic_flag$complementary_field_pair
-
OFFSET$bitfield$field_pic_flag$complementary_field_pair
public static final long OFFSET$bitfield$field_pic_flag$complementary_field_pair
-
-
Constructor Details
-
StdVideoDecodeH264PictureInfoFlags
Creates an instance of aStdVideoDecodeH264PictureInfoFlags
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static StdVideoDecodeH264PictureInfoFlags clone(Arena arena, StdVideoDecodeH264PictureInfoFlags src) -
field_pic_flag
public boolean field_pic_flag() -
field_pic_flag
-
is_intra
public boolean is_intra() -
is_intra
-
IdrPicFlag
public boolean IdrPicFlag() -
IdrPicFlag
-
bottom_field_flag
public boolean bottom_field_flag() -
bottom_field_flag
-
is_reference
public boolean is_reference() -
is_reference
-
complementary_field_pair
public boolean complementary_field_pair() -
complementary_field_pair
-
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.
-