Package org.lwjgl.vulkan.video
Class StdVideoH264SpsVuiFlags
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
public class StdVideoH264SpsVuiFlags
extends Struct<StdVideoH264SpsVuiFlags>
implements NativeResource
struct StdVideoH264SpsVuiFlags {
uint32_t aspect_ratio_info_present_flag : 1;
uint32_t overscan_info_present_flag : 1;
uint32_t overscan_appropriate_flag : 1;
uint32_t video_signal_type_present_flag : 1;
uint32_t video_full_range_flag : 1;
uint32_t color_description_present_flag : 1;
uint32_t chroma_loc_info_present_flag : 1;
uint32_t timing_info_present_flag : 1;
uint32_t fixed_frame_rate_flag : 1;
uint32_t bitstream_restriction_flag : 1;
uint32_t nal_hrd_parameters_present_flag : 1;
uint32_t vcl_hrd_parameters_present_flag : 1;
}
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidation
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The struct alignment in bytes.static final int
The struct member offsets.static final int
The struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionStdVideoH264SpsVuiFlags
(ByteBuffer container) Creates aStdVideoH264SpsVuiFlags
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
aspect_ratio_info_present_flag
(boolean value) Sets the specified value to theaspect_ratio_info_present_flag
field.boolean
bitstream_restriction_flag
(boolean value) Sets the specified value to thebitstream_restriction_flag
field.static StdVideoH264SpsVuiFlags
calloc()
Returns a newStdVideoH264SpsVuiFlags
instance allocated withmemCalloc
.calloc
(int capacity) Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated withmemCalloc
.calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH264SpsVuiFlags
calloc
(MemoryStack stack) Returns a newStdVideoH264SpsVuiFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.boolean
chroma_loc_info_present_flag
(boolean value) Sets the specified value to thechroma_loc_info_present_flag
field.boolean
color_description_present_flag
(boolean value) Sets the specified value to thecolor_description_present_flag
field.static StdVideoH264SpsVuiFlags
create()
Returns a newStdVideoH264SpsVuiFlags
instance allocated withBufferUtils
.create
(int capacity) Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated withBufferUtils
.static StdVideoH264SpsVuiFlags
create
(long address) Returns a newStdVideoH264SpsVuiFlags
instance for the specified memory address.create
(long address, int capacity) Create aStdVideoH264SpsVuiFlags.Buffer
instance at the specified memory.static @Nullable StdVideoH264SpsVuiFlags
createSafe
(long address) static @Nullable StdVideoH264SpsVuiFlags.Buffer
createSafe
(long address, int capacity) boolean
fixed_frame_rate_flag
(boolean value) Sets the specified value to thefixed_frame_rate_flag
field.static StdVideoH264SpsVuiFlags
malloc()
Returns a newStdVideoH264SpsVuiFlags
instance allocated withmemAlloc
.malloc
(int capacity) Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated withmemAlloc
.malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoH264SpsVuiFlags
malloc
(MemoryStack stack) Returns a newStdVideoH264SpsVuiFlags
instance allocated on the specifiedMemoryStack
.boolean
nal_hrd_parameters_present_flag
(boolean value) Sets the specified value to thenal_hrd_parameters_present_flag
field.static int
naspect_ratio_info_present_flag
(long struct) Unsafe version ofaspect_ratio_info_present_flag()
.static void
naspect_ratio_info_present_flag
(long struct, int value) Unsafe version ofaspect_ratio_info_present_flag
.static int
nbitfield0
(long struct) static void
nbitfield0
(long struct, int value) static int
nbitstream_restriction_flag
(long struct) Unsafe version ofbitstream_restriction_flag()
.static void
nbitstream_restriction_flag
(long struct, int value) Unsafe version ofbitstream_restriction_flag
.static int
nchroma_loc_info_present_flag
(long struct) Unsafe version ofchroma_loc_info_present_flag()
.static void
nchroma_loc_info_present_flag
(long struct, int value) Unsafe version ofchroma_loc_info_present_flag
.static int
ncolor_description_present_flag
(long struct) Unsafe version ofcolor_description_present_flag()
.static void
ncolor_description_present_flag
(long struct, int value) Unsafe version ofcolor_description_present_flag
.static int
nfixed_frame_rate_flag
(long struct) Unsafe version offixed_frame_rate_flag()
.static void
nfixed_frame_rate_flag
(long struct, int value) Unsafe version offixed_frame_rate_flag
.static int
nnal_hrd_parameters_present_flag
(long struct) Unsafe version ofnal_hrd_parameters_present_flag()
.static void
nnal_hrd_parameters_present_flag
(long struct, int value) Unsafe version ofnal_hrd_parameters_present_flag
.static int
noverscan_appropriate_flag
(long struct) Unsafe version ofoverscan_appropriate_flag()
.static void
noverscan_appropriate_flag
(long struct, int value) Unsafe version ofoverscan_appropriate_flag
.static int
noverscan_info_present_flag
(long struct) Unsafe version ofoverscan_info_present_flag()
.static void
noverscan_info_present_flag
(long struct, int value) Unsafe version ofoverscan_info_present_flag
.static int
ntiming_info_present_flag
(long struct) Unsafe version oftiming_info_present_flag()
.static void
ntiming_info_present_flag
(long struct, int value) Unsafe version oftiming_info_present_flag
.static int
nvcl_hrd_parameters_present_flag
(long struct) Unsafe version ofvcl_hrd_parameters_present_flag()
.static void
nvcl_hrd_parameters_present_flag
(long struct, int value) Unsafe version ofvcl_hrd_parameters_present_flag
.static int
nvideo_full_range_flag
(long struct) Unsafe version ofvideo_full_range_flag()
.static void
nvideo_full_range_flag
(long struct, int value) Unsafe version ofvideo_full_range_flag
.static int
nvideo_signal_type_present_flag
(long struct) Unsafe version ofvideo_signal_type_present_flag()
.static void
nvideo_signal_type_present_flag
(long struct, int value) Unsafe version ofvideo_signal_type_present_flag
.boolean
overscan_appropriate_flag
(boolean value) Sets the specified value to theoverscan_appropriate_flag
field.boolean
overscan_info_present_flag
(boolean value) Sets the specified value to theoverscan_info_present_flag
field.set
(boolean aspect_ratio_info_present_flag, boolean overscan_info_present_flag, boolean overscan_appropriate_flag, boolean video_signal_type_present_flag, boolean video_full_range_flag, boolean color_description_present_flag, boolean chroma_loc_info_present_flag, boolean timing_info_present_flag, boolean fixed_frame_rate_flag, boolean bitstream_restriction_flag, boolean nal_hrd_parameters_present_flag, boolean vcl_hrd_parameters_present_flag) Initializes this struct with the specified values.Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.boolean
timing_info_present_flag
(boolean value) Sets the specified value to thetiming_info_present_flag
field.boolean
vcl_hrd_parameters_present_flag
(boolean value) Sets the specified value to thevcl_hrd_parameters_present_flag
field.boolean
video_full_range_flag
(boolean value) Sets the specified value to thevideo_full_range_flag
field.boolean
video_signal_type_present_flag
(boolean value) Sets the specified value to thevideo_signal_type_present_flag
field.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
BITFIELD0
public static final int BITFIELD0The struct member offsets.
-
-
Constructor Details
-
StdVideoH264SpsVuiFlags
Creates aStdVideoH264SpsVuiFlags
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:Struct
Returnssizeof(struct)
.- Specified by:
sizeof
in classStruct<StdVideoH264SpsVuiFlags>
-
aspect_ratio_info_present_flag
public boolean aspect_ratio_info_present_flag()- Returns:
- the value of the
aspect_ratio_info_present_flag
field.
-
overscan_info_present_flag
public boolean overscan_info_present_flag()- Returns:
- the value of the
overscan_info_present_flag
field.
-
overscan_appropriate_flag
public boolean overscan_appropriate_flag()- Returns:
- the value of the
overscan_appropriate_flag
field.
-
video_signal_type_present_flag
public boolean video_signal_type_present_flag()- Returns:
- the value of the
video_signal_type_present_flag
field.
-
video_full_range_flag
public boolean video_full_range_flag()- Returns:
- the value of the
video_full_range_flag
field.
-
color_description_present_flag
public boolean color_description_present_flag()- Returns:
- the value of the
color_description_present_flag
field.
-
chroma_loc_info_present_flag
public boolean chroma_loc_info_present_flag()- Returns:
- the value of the
chroma_loc_info_present_flag
field.
-
timing_info_present_flag
public boolean timing_info_present_flag()- Returns:
- the value of the
timing_info_present_flag
field.
-
fixed_frame_rate_flag
public boolean fixed_frame_rate_flag()- Returns:
- the value of the
fixed_frame_rate_flag
field.
-
bitstream_restriction_flag
public boolean bitstream_restriction_flag()- Returns:
- the value of the
bitstream_restriction_flag
field.
-
nal_hrd_parameters_present_flag
public boolean nal_hrd_parameters_present_flag()- Returns:
- the value of the
nal_hrd_parameters_present_flag
field.
-
vcl_hrd_parameters_present_flag
public boolean vcl_hrd_parameters_present_flag()- Returns:
- the value of the
vcl_hrd_parameters_present_flag
field.
-
aspect_ratio_info_present_flag
Sets the specified value to theaspect_ratio_info_present_flag
field. -
overscan_info_present_flag
Sets the specified value to theoverscan_info_present_flag
field. -
overscan_appropriate_flag
Sets the specified value to theoverscan_appropriate_flag
field. -
video_signal_type_present_flag
Sets the specified value to thevideo_signal_type_present_flag
field. -
video_full_range_flag
Sets the specified value to thevideo_full_range_flag
field. -
color_description_present_flag
Sets the specified value to thecolor_description_present_flag
field. -
chroma_loc_info_present_flag
Sets the specified value to thechroma_loc_info_present_flag
field. -
timing_info_present_flag
Sets the specified value to thetiming_info_present_flag
field. -
fixed_frame_rate_flag
Sets the specified value to thefixed_frame_rate_flag
field. -
bitstream_restriction_flag
Sets the specified value to thebitstream_restriction_flag
field. -
nal_hrd_parameters_present_flag
Sets the specified value to thenal_hrd_parameters_present_flag
field. -
vcl_hrd_parameters_present_flag
Sets the specified value to thevcl_hrd_parameters_present_flag
field. -
set
public StdVideoH264SpsVuiFlags set(boolean aspect_ratio_info_present_flag, boolean overscan_info_present_flag, boolean overscan_appropriate_flag, boolean video_signal_type_present_flag, boolean video_full_range_flag, boolean color_description_present_flag, boolean chroma_loc_info_present_flag, boolean timing_info_present_flag, boolean fixed_frame_rate_flag, boolean bitstream_restriction_flag, boolean nal_hrd_parameters_present_flag, boolean vcl_hrd_parameters_present_flag) Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
Returns a newStdVideoH264SpsVuiFlags
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH264SpsVuiFlags
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH264SpsVuiFlags
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH264SpsVuiFlags
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH264SpsVuiFlags.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH264SpsVuiFlags
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SpsVuiFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SpsVuiFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
nbitfield0
public static int nbitfield0(long struct) -
naspect_ratio_info_present_flag
public static int naspect_ratio_info_present_flag(long struct) Unsafe version ofaspect_ratio_info_present_flag()
. -
noverscan_info_present_flag
public static int noverscan_info_present_flag(long struct) Unsafe version ofoverscan_info_present_flag()
. -
noverscan_appropriate_flag
public static int noverscan_appropriate_flag(long struct) Unsafe version ofoverscan_appropriate_flag()
. -
nvideo_signal_type_present_flag
public static int nvideo_signal_type_present_flag(long struct) Unsafe version ofvideo_signal_type_present_flag()
. -
nvideo_full_range_flag
public static int nvideo_full_range_flag(long struct) Unsafe version ofvideo_full_range_flag()
. -
ncolor_description_present_flag
public static int ncolor_description_present_flag(long struct) Unsafe version ofcolor_description_present_flag()
. -
nchroma_loc_info_present_flag
public static int nchroma_loc_info_present_flag(long struct) Unsafe version ofchroma_loc_info_present_flag()
. -
ntiming_info_present_flag
public static int ntiming_info_present_flag(long struct) Unsafe version oftiming_info_present_flag()
. -
nfixed_frame_rate_flag
public static int nfixed_frame_rate_flag(long struct) Unsafe version offixed_frame_rate_flag()
. -
nbitstream_restriction_flag
public static int nbitstream_restriction_flag(long struct) Unsafe version ofbitstream_restriction_flag()
. -
nnal_hrd_parameters_present_flag
public static int nnal_hrd_parameters_present_flag(long struct) Unsafe version ofnal_hrd_parameters_present_flag()
. -
nvcl_hrd_parameters_present_flag
public static int nvcl_hrd_parameters_present_flag(long struct) Unsafe version ofvcl_hrd_parameters_present_flag()
. -
nbitfield0
public static void nbitfield0(long struct, int value) -
naspect_ratio_info_present_flag
public static void naspect_ratio_info_present_flag(long struct, int value) Unsafe version ofaspect_ratio_info_present_flag
. -
noverscan_info_present_flag
public static void noverscan_info_present_flag(long struct, int value) Unsafe version ofoverscan_info_present_flag
. -
noverscan_appropriate_flag
public static void noverscan_appropriate_flag(long struct, int value) Unsafe version ofoverscan_appropriate_flag
. -
nvideo_signal_type_present_flag
public static void nvideo_signal_type_present_flag(long struct, int value) Unsafe version ofvideo_signal_type_present_flag
. -
nvideo_full_range_flag
public static void nvideo_full_range_flag(long struct, int value) Unsafe version ofvideo_full_range_flag
. -
ncolor_description_present_flag
public static void ncolor_description_present_flag(long struct, int value) Unsafe version ofcolor_description_present_flag
. -
nchroma_loc_info_present_flag
public static void nchroma_loc_info_present_flag(long struct, int value) Unsafe version ofchroma_loc_info_present_flag
. -
ntiming_info_present_flag
public static void ntiming_info_present_flag(long struct, int value) Unsafe version oftiming_info_present_flag
. -
nfixed_frame_rate_flag
public static void nfixed_frame_rate_flag(long struct, int value) Unsafe version offixed_frame_rate_flag
. -
nbitstream_restriction_flag
public static void nbitstream_restriction_flag(long struct, int value) Unsafe version ofbitstream_restriction_flag
. -
nnal_hrd_parameters_present_flag
public static void nnal_hrd_parameters_present_flag(long struct, int value) Unsafe version ofnal_hrd_parameters_present_flag
. -
nvcl_hrd_parameters_present_flag
public static void nvcl_hrd_parameters_present_flag(long struct, int value) Unsafe version ofvcl_hrd_parameters_present_flag
.
-