Package org.lwjgl.vulkan.video
Class StdVideoH265HrdFlags
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
struct StdVideoH265HrdFlags {
uint32_t nal_hrd_parameters_present_flag : 1;
uint32_t vcl_hrd_parameters_present_flag : 1;
uint32_t sub_pic_hrd_params_present_flag : 1;
uint32_t sub_pic_cpb_params_in_pic_timing_sei_flag : 1;
uint32_t fixed_pic_rate_general_flag : 8;
uint32_t fixed_pic_rate_within_cvs_flag : 8;
uint32_t low_delay_hrd_flag : 8;
}-
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 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
ConstructorsConstructorDescriptionStdVideoH265HrdFlags(ByteBuffer container) Creates aStdVideoH265HrdFlagsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265HrdFlagscalloc()Returns a newStdVideoH265HrdFlagsinstance allocated withmemCalloc.static StdVideoH265HrdFlags.Buffercalloc(int capacity) Returns a newStdVideoH265HrdFlags.Bufferinstance allocated withmemCalloc.static StdVideoH265HrdFlags.Buffercalloc(int capacity, MemoryStack stack) Returns a newStdVideoH265HrdFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265HrdFlagscalloc(MemoryStack stack) Returns a newStdVideoH265HrdFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH265HrdFlagscreate()Returns a newStdVideoH265HrdFlagsinstance allocated withBufferUtils.static StdVideoH265HrdFlags.Buffercreate(int capacity) Returns a newStdVideoH265HrdFlags.Bufferinstance allocated withBufferUtils.static StdVideoH265HrdFlagscreate(long address) Returns a newStdVideoH265HrdFlagsinstance for the specified memory address.static StdVideoH265HrdFlags.Buffercreate(long address, int capacity) Create aStdVideoH265HrdFlags.Bufferinstance at the specified memory.static @Nullable StdVideoH265HrdFlagscreateSafe(long address) static @Nullable StdVideoH265HrdFlags.BuffercreateSafe(long address, int capacity) intfixed_pic_rate_general_flag(int value) Sets the specified value to thefixed_pic_rate_general_flagfield.intfixed_pic_rate_within_cvs_flag(int value) Sets the specified value to thefixed_pic_rate_within_cvs_flagfield.intlow_delay_hrd_flag(int value) Sets the specified value to thelow_delay_hrd_flagfield.static StdVideoH265HrdFlagsmalloc()Returns a newStdVideoH265HrdFlagsinstance allocated withmemAlloc.static StdVideoH265HrdFlags.Buffermalloc(int capacity) Returns a newStdVideoH265HrdFlags.Bufferinstance allocated withmemAlloc.static StdVideoH265HrdFlags.Buffermalloc(int capacity, MemoryStack stack) Returns a newStdVideoH265HrdFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH265HrdFlagsmalloc(MemoryStack stack) Returns a newStdVideoH265HrdFlagsinstance allocated on the specifiedMemoryStack.booleannal_hrd_parameters_present_flag(boolean value) Sets the specified value to thenal_hrd_parameters_present_flagfield.static intnbitfield0(long struct) static voidnbitfield0(long struct, int value) static intnbitfield1(long struct) static voidnbitfield1(long struct, int value) static intnfixed_pic_rate_general_flag(long struct) Unsafe version offixed_pic_rate_general_flag().static voidnfixed_pic_rate_general_flag(long struct, int value) Unsafe version offixed_pic_rate_general_flag.static intnfixed_pic_rate_within_cvs_flag(long struct) Unsafe version offixed_pic_rate_within_cvs_flag().static voidnfixed_pic_rate_within_cvs_flag(long struct, int value) Unsafe version offixed_pic_rate_within_cvs_flag.static intnlow_delay_hrd_flag(long struct) Unsafe version oflow_delay_hrd_flag().static voidnlow_delay_hrd_flag(long struct, int value) Unsafe version oflow_delay_hrd_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 intnsub_pic_cpb_params_in_pic_timing_sei_flag(long struct) Unsafe version ofsub_pic_cpb_params_in_pic_timing_sei_flag().static voidnsub_pic_cpb_params_in_pic_timing_sei_flag(long struct, int value) Unsafe version ofsub_pic_cpb_params_in_pic_timing_sei_flag.static intnsub_pic_hrd_params_present_flag(long struct) Unsafe version ofsub_pic_hrd_params_present_flag().static voidnsub_pic_hrd_params_present_flag(long struct, int value) Unsafe version ofsub_pic_hrd_params_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.set(boolean nal_hrd_parameters_present_flag, boolean vcl_hrd_parameters_present_flag, boolean sub_pic_hrd_params_present_flag, boolean sub_pic_cpb_params_in_pic_timing_sei_flag, int fixed_pic_rate_general_flag, int fixed_pic_rate_within_cvs_flag, int low_delay_hrd_flag) Initializes this struct with the specified values.set(StdVideoH265HrdFlags src) Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).booleansub_pic_cpb_params_in_pic_timing_sei_flag(boolean value) Sets the specified value to thesub_pic_cpb_params_in_pic_timing_sei_flagfield.booleansub_pic_hrd_params_present_flag(boolean value) Sets the specified value to thesub_pic_hrd_params_present_flagfield.booleanvcl_hrd_parameters_present_flag(boolean value) Sets the specified value to thevcl_hrd_parameters_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. -
BITFIELD1
public static final int BITFIELD1The struct member offsets.
-
-
Constructor Details
-
StdVideoH265HrdFlags
Creates aStdVideoH265HrdFlagsinstance 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<StdVideoH265HrdFlags>
-
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.
-
sub_pic_hrd_params_present_flag
public boolean sub_pic_hrd_params_present_flag()- Returns:
- the value of the
sub_pic_hrd_params_present_flagfield.
-
sub_pic_cpb_params_in_pic_timing_sei_flag
public boolean sub_pic_cpb_params_in_pic_timing_sei_flag()- Returns:
- the value of the
sub_pic_cpb_params_in_pic_timing_sei_flagfield.
-
fixed_pic_rate_general_flag
public int fixed_pic_rate_general_flag()- Returns:
- the value of the
fixed_pic_rate_general_flagfield.
-
fixed_pic_rate_within_cvs_flag
public int fixed_pic_rate_within_cvs_flag()- Returns:
- the value of the
fixed_pic_rate_within_cvs_flagfield.
-
low_delay_hrd_flag
public int low_delay_hrd_flag()- Returns:
- the value of the
low_delay_hrd_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. -
sub_pic_hrd_params_present_flag
Sets the specified value to thesub_pic_hrd_params_present_flagfield. -
sub_pic_cpb_params_in_pic_timing_sei_flag
Sets the specified value to thesub_pic_cpb_params_in_pic_timing_sei_flagfield. -
fixed_pic_rate_general_flag
Sets the specified value to thefixed_pic_rate_general_flagfield. -
fixed_pic_rate_within_cvs_flag
Sets the specified value to thefixed_pic_rate_within_cvs_flagfield. -
low_delay_hrd_flag
Sets the specified value to thelow_delay_hrd_flagfield. -
set
public StdVideoH265HrdFlags set(boolean nal_hrd_parameters_present_flag, boolean vcl_hrd_parameters_present_flag, boolean sub_pic_hrd_params_present_flag, boolean sub_pic_cpb_params_in_pic_timing_sei_flag, int fixed_pic_rate_general_flag, int fixed_pic_rate_within_cvs_flag, int low_delay_hrd_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 newStdVideoH265HrdFlagsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265HrdFlagsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH265HrdFlagsinstance allocated withBufferUtils. -
create
Returns a newStdVideoH265HrdFlagsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265HrdFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH265HrdFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH265HrdFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH265HrdFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265HrdFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265HrdFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH265HrdFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH265HrdFlags.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) -
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(). -
nsub_pic_hrd_params_present_flag
public static int nsub_pic_hrd_params_present_flag(long struct) Unsafe version ofsub_pic_hrd_params_present_flag(). -
nsub_pic_cpb_params_in_pic_timing_sei_flag
public static int nsub_pic_cpb_params_in_pic_timing_sei_flag(long struct) Unsafe version ofsub_pic_cpb_params_in_pic_timing_sei_flag(). -
nbitfield1
public static int nbitfield1(long struct) -
nfixed_pic_rate_general_flag
public static int nfixed_pic_rate_general_flag(long struct) Unsafe version offixed_pic_rate_general_flag(). -
nfixed_pic_rate_within_cvs_flag
public static int nfixed_pic_rate_within_cvs_flag(long struct) Unsafe version offixed_pic_rate_within_cvs_flag(). -
nlow_delay_hrd_flag
public static int nlow_delay_hrd_flag(long struct) Unsafe version oflow_delay_hrd_flag(). -
nbitfield0
public static void nbitfield0(long struct, int value) -
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. -
nsub_pic_hrd_params_present_flag
public static void nsub_pic_hrd_params_present_flag(long struct, int value) Unsafe version ofsub_pic_hrd_params_present_flag. -
nsub_pic_cpb_params_in_pic_timing_sei_flag
public static void nsub_pic_cpb_params_in_pic_timing_sei_flag(long struct, int value) Unsafe version ofsub_pic_cpb_params_in_pic_timing_sei_flag. -
nbitfield1
public static void nbitfield1(long struct, int value) -
nfixed_pic_rate_general_flag
public static void nfixed_pic_rate_general_flag(long struct, int value) Unsafe version offixed_pic_rate_general_flag. -
nfixed_pic_rate_within_cvs_flag
public static void nfixed_pic_rate_within_cvs_flag(long struct, int value) Unsafe version offixed_pic_rate_within_cvs_flag. -
nlow_delay_hrd_flag
public static void nlow_delay_hrd_flag(long struct, int value) Unsafe version oflow_delay_hrd_flag.
-