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.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe 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 aStdVideoH264SpsVuiFlagsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanaspect_ratio_info_present_flag(boolean value) Sets the specified value to theaspect_ratio_info_present_flagfield.booleanbitstream_restriction_flag(boolean value) Sets the specified value to thebitstream_restriction_flagfield.static StdVideoH264SpsVuiFlagscalloc()Returns a newStdVideoH264SpsVuiFlagsinstance allocated withmemCalloc.calloc(int capacity) Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH264SpsVuiFlagscalloc(MemoryStack stack) Returns a newStdVideoH264SpsVuiFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleanchroma_loc_info_present_flag(boolean value) Sets the specified value to thechroma_loc_info_present_flagfield.booleancolor_description_present_flag(boolean value) Sets the specified value to thecolor_description_present_flagfield.static StdVideoH264SpsVuiFlagscreate()Returns a newStdVideoH264SpsVuiFlagsinstance allocated withBufferUtils.create(int capacity) Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated withBufferUtils.static StdVideoH264SpsVuiFlagscreate(long address) Returns a newStdVideoH264SpsVuiFlagsinstance for the specified memory address.create(long address, int capacity) Create aStdVideoH264SpsVuiFlags.Bufferinstance at the specified memory.static @Nullable StdVideoH264SpsVuiFlagscreateSafe(long address) static @Nullable StdVideoH264SpsVuiFlags.BuffercreateSafe(long address, int capacity) booleanfixed_frame_rate_flag(boolean value) Sets the specified value to thefixed_frame_rate_flagfield.static StdVideoH264SpsVuiFlagsmalloc()Returns a newStdVideoH264SpsVuiFlagsinstance allocated withmemAlloc.malloc(int capacity) Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH264SpsVuiFlagsmalloc(MemoryStack stack) Returns a newStdVideoH264SpsVuiFlagsinstance allocated on the specifiedMemoryStack.booleannal_hrd_parameters_present_flag(boolean value) Sets the specified value to thenal_hrd_parameters_present_flagfield.static intnaspect_ratio_info_present_flag(long struct) Unsafe version ofaspect_ratio_info_present_flag().static voidnaspect_ratio_info_present_flag(long struct, int value) Unsafe version ofaspect_ratio_info_present_flag.static intnbitfield0(long struct) static voidnbitfield0(long struct, int value) static intnbitstream_restriction_flag(long struct) Unsafe version ofbitstream_restriction_flag().static voidnbitstream_restriction_flag(long struct, int value) Unsafe version ofbitstream_restriction_flag.static intnchroma_loc_info_present_flag(long struct) Unsafe version ofchroma_loc_info_present_flag().static voidnchroma_loc_info_present_flag(long struct, int value) Unsafe version ofchroma_loc_info_present_flag.static intncolor_description_present_flag(long struct) Unsafe version ofcolor_description_present_flag().static voidncolor_description_present_flag(long struct, int value) Unsafe version ofcolor_description_present_flag.static intnfixed_frame_rate_flag(long struct) Unsafe version offixed_frame_rate_flag().static voidnfixed_frame_rate_flag(long struct, int value) Unsafe version offixed_frame_rate_flag.static intnnal_hrd_parameters_present_flag(long struct) Unsafe version ofnal_hrd_parameters_present_flag().static voidnnal_hrd_parameters_present_flag(long struct, int value) Unsafe version ofnal_hrd_parameters_present_flag.static intnoverscan_appropriate_flag(long struct) Unsafe version ofoverscan_appropriate_flag().static voidnoverscan_appropriate_flag(long struct, int value) Unsafe version ofoverscan_appropriate_flag.static intnoverscan_info_present_flag(long struct) Unsafe version ofoverscan_info_present_flag().static voidnoverscan_info_present_flag(long struct, int value) Unsafe version ofoverscan_info_present_flag.static intntiming_info_present_flag(long struct) Unsafe version oftiming_info_present_flag().static voidntiming_info_present_flag(long struct, int value) Unsafe version oftiming_info_present_flag.static intnvcl_hrd_parameters_present_flag(long struct) Unsafe version ofvcl_hrd_parameters_present_flag().static voidnvcl_hrd_parameters_present_flag(long struct, int value) Unsafe version ofvcl_hrd_parameters_present_flag.static intnvideo_full_range_flag(long struct) Unsafe version ofvideo_full_range_flag().static voidnvideo_full_range_flag(long struct, int value) Unsafe version ofvideo_full_range_flag.static intnvideo_signal_type_present_flag(long struct) Unsafe version ofvideo_signal_type_present_flag().static voidnvideo_signal_type_present_flag(long struct, int value) Unsafe version ofvideo_signal_type_present_flag.booleanoverscan_appropriate_flag(boolean value) Sets the specified value to theoverscan_appropriate_flagfield.booleanoverscan_info_present_flag(boolean value) Sets the specified value to theoverscan_info_present_flagfield.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.intsizeof()Returnssizeof(struct).booleantiming_info_present_flag(boolean value) Sets the specified value to thetiming_info_present_flagfield.booleanvcl_hrd_parameters_present_flag(boolean value) Sets the specified value to thevcl_hrd_parameters_present_flagfield.booleanvideo_full_range_flag(boolean value) Sets the specified value to thevideo_full_range_flagfield.booleanvideo_signal_type_present_flag(boolean value) Sets the specified value to thevideo_signal_type_present_flagfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods 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 aStdVideoH264SpsVuiFlagsinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<StdVideoH264SpsVuiFlags>
-
aspect_ratio_info_present_flag
public boolean aspect_ratio_info_present_flag()- Returns:
- the value of the
aspect_ratio_info_present_flagfield.
-
overscan_info_present_flag
public boolean overscan_info_present_flag()- Returns:
- the value of the
overscan_info_present_flagfield.
-
overscan_appropriate_flag
public boolean overscan_appropriate_flag()- Returns:
- the value of the
overscan_appropriate_flagfield.
-
video_signal_type_present_flag
public boolean video_signal_type_present_flag()- Returns:
- the value of the
video_signal_type_present_flagfield.
-
video_full_range_flag
public boolean video_full_range_flag()- Returns:
- the value of the
video_full_range_flagfield.
-
color_description_present_flag
public boolean color_description_present_flag()- Returns:
- the value of the
color_description_present_flagfield.
-
chroma_loc_info_present_flag
public boolean chroma_loc_info_present_flag()- Returns:
- the value of the
chroma_loc_info_present_flagfield.
-
timing_info_present_flag
public boolean timing_info_present_flag()- Returns:
- the value of the
timing_info_present_flagfield.
-
fixed_frame_rate_flag
public boolean fixed_frame_rate_flag()- Returns:
- the value of the
fixed_frame_rate_flagfield.
-
bitstream_restriction_flag
public boolean bitstream_restriction_flag()- Returns:
- the value of the
bitstream_restriction_flagfield.
-
nal_hrd_parameters_present_flag
public boolean nal_hrd_parameters_present_flag()- Returns:
- the value of the
nal_hrd_parameters_present_flagfield.
-
vcl_hrd_parameters_present_flag
public boolean vcl_hrd_parameters_present_flag()- Returns:
- the value of the
vcl_hrd_parameters_present_flagfield.
-
aspect_ratio_info_present_flag
Sets the specified value to theaspect_ratio_info_present_flagfield. -
overscan_info_present_flag
Sets the specified value to theoverscan_info_present_flagfield. -
overscan_appropriate_flag
Sets the specified value to theoverscan_appropriate_flagfield. -
video_signal_type_present_flag
Sets the specified value to thevideo_signal_type_present_flagfield. -
video_full_range_flag
Sets the specified value to thevideo_full_range_flagfield. -
color_description_present_flag
Sets the specified value to thecolor_description_present_flagfield. -
chroma_loc_info_present_flag
Sets the specified value to thechroma_loc_info_present_flagfield. -
timing_info_present_flag
Sets the specified value to thetiming_info_present_flagfield. -
fixed_frame_rate_flag
Sets the specified value to thefixed_frame_rate_flagfield. -
bitstream_restriction_flag
Sets the specified value to thebitstream_restriction_flagfield. -
nal_hrd_parameters_present_flag
Sets the specified value to thenal_hrd_parameters_present_flagfield. -
vcl_hrd_parameters_present_flag
Sets the specified value to thevcl_hrd_parameters_present_flagfield. -
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 newStdVideoH264SpsVuiFlagsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH264SpsVuiFlagsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH264SpsVuiFlagsinstance allocated withBufferUtils. -
create
Returns a newStdVideoH264SpsVuiFlagsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH264SpsVuiFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH264SpsVuiFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SpsVuiFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH264SpsVuiFlags.Bufferinstance allocated on the specifiedMemoryStackand 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.
-