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.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 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
ConstructorsConstructorDescriptionStdVideoH265HrdFlags
(ByteBuffer container) Creates aStdVideoH265HrdFlags
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionstatic StdVideoH265HrdFlags
calloc()
Returns a newStdVideoH265HrdFlags
instance allocated withmemCalloc
.static StdVideoH265HrdFlags.Buffer
calloc
(int capacity) Returns a newStdVideoH265HrdFlags.Buffer
instance allocated withmemCalloc
.static StdVideoH265HrdFlags.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265HrdFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265HrdFlags
calloc
(MemoryStack stack) Returns a newStdVideoH265HrdFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH265HrdFlags
create()
Returns a newStdVideoH265HrdFlags
instance allocated withBufferUtils
.static StdVideoH265HrdFlags.Buffer
create
(int capacity) Returns a newStdVideoH265HrdFlags.Buffer
instance allocated withBufferUtils
.static StdVideoH265HrdFlags
create
(long address) Returns a newStdVideoH265HrdFlags
instance for the specified memory address.static StdVideoH265HrdFlags.Buffer
create
(long address, int capacity) Create aStdVideoH265HrdFlags.Buffer
instance at the specified memory.static @Nullable StdVideoH265HrdFlags
createSafe
(long address) static @Nullable StdVideoH265HrdFlags.Buffer
createSafe
(long address, int capacity) int
fixed_pic_rate_general_flag
(int value) Sets the specified value to thefixed_pic_rate_general_flag
field.int
fixed_pic_rate_within_cvs_flag
(int value) Sets the specified value to thefixed_pic_rate_within_cvs_flag
field.int
low_delay_hrd_flag
(int value) Sets the specified value to thelow_delay_hrd_flag
field.static StdVideoH265HrdFlags
malloc()
Returns a newStdVideoH265HrdFlags
instance allocated withmemAlloc
.static StdVideoH265HrdFlags.Buffer
malloc
(int capacity) Returns a newStdVideoH265HrdFlags.Buffer
instance allocated withmemAlloc
.static StdVideoH265HrdFlags.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH265HrdFlags.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoH265HrdFlags
malloc
(MemoryStack stack) Returns a newStdVideoH265HrdFlags
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
nbitfield0
(long struct) static void
nbitfield0
(long struct, int value) static int
nbitfield1
(long struct) static void
nbitfield1
(long struct, int value) static int
nfixed_pic_rate_general_flag
(long struct) Unsafe version offixed_pic_rate_general_flag()
.static void
nfixed_pic_rate_general_flag
(long struct, int value) Unsafe version offixed_pic_rate_general_flag
.static int
nfixed_pic_rate_within_cvs_flag
(long struct) Unsafe version offixed_pic_rate_within_cvs_flag()
.static void
nfixed_pic_rate_within_cvs_flag
(long struct, int value) Unsafe version offixed_pic_rate_within_cvs_flag
.static int
nlow_delay_hrd_flag
(long struct) Unsafe version oflow_delay_hrd_flag()
.static void
nlow_delay_hrd_flag
(long struct, int value) Unsafe version oflow_delay_hrd_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
nsub_pic_cpb_params_in_pic_timing_sei_flag
(long struct) Unsafe version ofsub_pic_cpb_params_in_pic_timing_sei_flag()
.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
.static int
nsub_pic_hrd_params_present_flag
(long struct) Unsafe version ofsub_pic_hrd_params_present_flag()
.static void
nsub_pic_hrd_params_present_flag
(long struct, int value) Unsafe version ofsub_pic_hrd_params_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
.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.int
sizeof()
Returnssizeof(struct)
.boolean
sub_pic_cpb_params_in_pic_timing_sei_flag
(boolean value) Sets the specified value to thesub_pic_cpb_params_in_pic_timing_sei_flag
field.boolean
sub_pic_hrd_params_present_flag
(boolean value) Sets the specified value to thesub_pic_hrd_params_present_flag
field.boolean
vcl_hrd_parameters_present_flag
(boolean value) Sets the specified value to thevcl_hrd_parameters_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. -
BITFIELD1
public static final int BITFIELD1The struct member offsets.
-
-
Constructor Details
-
StdVideoH265HrdFlags
Creates aStdVideoH265HrdFlags
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<StdVideoH265HrdFlags>
-
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.
-
sub_pic_hrd_params_present_flag
public boolean sub_pic_hrd_params_present_flag()- Returns:
- the value of the
sub_pic_hrd_params_present_flag
field.
-
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_flag
field.
-
fixed_pic_rate_general_flag
public int fixed_pic_rate_general_flag()- Returns:
- the value of the
fixed_pic_rate_general_flag
field.
-
fixed_pic_rate_within_cvs_flag
public int fixed_pic_rate_within_cvs_flag()- Returns:
- the value of the
fixed_pic_rate_within_cvs_flag
field.
-
low_delay_hrd_flag
public int low_delay_hrd_flag()- Returns:
- the value of the
low_delay_hrd_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. -
sub_pic_hrd_params_present_flag
Sets the specified value to thesub_pic_hrd_params_present_flag
field. -
sub_pic_cpb_params_in_pic_timing_sei_flag
Sets the specified value to thesub_pic_cpb_params_in_pic_timing_sei_flag
field. -
fixed_pic_rate_general_flag
Sets the specified value to thefixed_pic_rate_general_flag
field. -
fixed_pic_rate_within_cvs_flag
Sets the specified value to thefixed_pic_rate_within_cvs_flag
field. -
low_delay_hrd_flag
Sets the specified value to thelow_delay_hrd_flag
field. -
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 newStdVideoH265HrdFlags
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH265HrdFlags
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH265HrdFlags
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH265HrdFlags
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH265HrdFlags.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH265HrdFlags.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH265HrdFlags.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH265HrdFlags.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH265HrdFlags
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265HrdFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH265HrdFlags.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH265HrdFlags.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) -
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
.
-