Package org.lwjgl.vulkan.video
Class StdVideoH264PpsFlags
- All Implemented Interfaces:
AutoCloseable
,NativeResource
,Pointer
struct StdVideoH264PpsFlags {
uint32_t transform_8x8_mode_flag : 1;
uint32_t redundant_pic_cnt_present_flag : 1;
uint32_t constrained_intra_pred_flag : 1;
uint32_t deblocking_filter_control_present_flag : 1;
uint32_t weighted_pred_flag : 1;
uint32_t bottom_field_pic_order_in_frame_present_flag : 1;
uint32_t entropy_coding_mode_flag : 1;
uint32_t pic_scaling_matrix_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
ConstructorsConstructorDescriptionStdVideoH264PpsFlags
(ByteBuffer container) Creates aStdVideoH264PpsFlags
instance at the current position of the specifiedByteBuffer
container. -
Method Summary
Modifier and TypeMethodDescriptionboolean
bottom_field_pic_order_in_frame_present_flag
(boolean value) Sets the specified value to thebottom_field_pic_order_in_frame_present_flag
field.static StdVideoH264PpsFlags
calloc()
Returns a newStdVideoH264PpsFlags
instance allocated withmemCalloc
.static StdVideoH264PpsFlags.Buffer
calloc
(int capacity) Returns a newStdVideoH264PpsFlags.Buffer
instance allocated withmemCalloc
.static StdVideoH264PpsFlags.Buffer
calloc
(int capacity, MemoryStack stack) Returns a newStdVideoH264PpsFlags.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static StdVideoH264PpsFlags
calloc
(MemoryStack stack) Returns a newStdVideoH264PpsFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.boolean
constrained_intra_pred_flag
(boolean value) Sets the specified value to theconstrained_intra_pred_flag
field.static StdVideoH264PpsFlags
create()
Returns a newStdVideoH264PpsFlags
instance allocated withBufferUtils
.static StdVideoH264PpsFlags.Buffer
create
(int capacity) Returns a newStdVideoH264PpsFlags.Buffer
instance allocated withBufferUtils
.static StdVideoH264PpsFlags
create
(long address) Returns a newStdVideoH264PpsFlags
instance for the specified memory address.static StdVideoH264PpsFlags.Buffer
create
(long address, int capacity) Create aStdVideoH264PpsFlags.Buffer
instance at the specified memory.static @Nullable StdVideoH264PpsFlags
createSafe
(long address) static @Nullable StdVideoH264PpsFlags.Buffer
createSafe
(long address, int capacity) boolean
deblocking_filter_control_present_flag
(boolean value) Sets the specified value to thedeblocking_filter_control_present_flag
field.boolean
entropy_coding_mode_flag
(boolean value) Sets the specified value to theentropy_coding_mode_flag
field.static StdVideoH264PpsFlags
malloc()
Returns a newStdVideoH264PpsFlags
instance allocated withmemAlloc
.static StdVideoH264PpsFlags.Buffer
malloc
(int capacity) Returns a newStdVideoH264PpsFlags.Buffer
instance allocated withmemAlloc
.static StdVideoH264PpsFlags.Buffer
malloc
(int capacity, MemoryStack stack) Returns a newStdVideoH264PpsFlags.Buffer
instance allocated on the specifiedMemoryStack
.static StdVideoH264PpsFlags
malloc
(MemoryStack stack) Returns a newStdVideoH264PpsFlags
instance allocated on the specifiedMemoryStack
.static int
nbitfield0
(long struct) static void
nbitfield0
(long struct, int value) static int
nbottom_field_pic_order_in_frame_present_flag
(long struct) Unsafe version ofbottom_field_pic_order_in_frame_present_flag()
.static void
nbottom_field_pic_order_in_frame_present_flag
(long struct, int value) Unsafe version ofbottom_field_pic_order_in_frame_present_flag
.static int
nconstrained_intra_pred_flag
(long struct) Unsafe version ofconstrained_intra_pred_flag()
.static void
nconstrained_intra_pred_flag
(long struct, int value) Unsafe version ofconstrained_intra_pred_flag
.static int
ndeblocking_filter_control_present_flag
(long struct) Unsafe version ofdeblocking_filter_control_present_flag()
.static void
ndeblocking_filter_control_present_flag
(long struct, int value) Unsafe version ofdeblocking_filter_control_present_flag
.static int
nentropy_coding_mode_flag
(long struct) Unsafe version ofentropy_coding_mode_flag()
.static void
nentropy_coding_mode_flag
(long struct, int value) Unsafe version ofentropy_coding_mode_flag
.static int
npic_scaling_matrix_present_flag
(long struct) Unsafe version ofpic_scaling_matrix_present_flag()
.static void
npic_scaling_matrix_present_flag
(long struct, int value) Unsafe version ofpic_scaling_matrix_present_flag
.static int
nredundant_pic_cnt_present_flag
(long struct) Unsafe version ofredundant_pic_cnt_present_flag()
.static void
nredundant_pic_cnt_present_flag
(long struct, int value) Unsafe version ofredundant_pic_cnt_present_flag
.static int
ntransform_8x8_mode_flag
(long struct) Unsafe version oftransform_8x8_mode_flag()
.static void
ntransform_8x8_mode_flag
(long struct, int value) Unsafe version oftransform_8x8_mode_flag
.static int
nweighted_pred_flag
(long struct) Unsafe version ofweighted_pred_flag()
.static void
nweighted_pred_flag
(long struct, int value) Unsafe version ofweighted_pred_flag
.boolean
pic_scaling_matrix_present_flag
(boolean value) Sets the specified value to thepic_scaling_matrix_present_flag
field.boolean
redundant_pic_cnt_present_flag
(boolean value) Sets the specified value to theredundant_pic_cnt_present_flag
field.set
(boolean transform_8x8_mode_flag, boolean redundant_pic_cnt_present_flag, boolean constrained_intra_pred_flag, boolean deblocking_filter_control_present_flag, boolean weighted_pred_flag, boolean bottom_field_pic_order_in_frame_present_flag, boolean entropy_coding_mode_flag, boolean pic_scaling_matrix_present_flag) Initializes this struct with the specified values.set
(StdVideoH264PpsFlags src) Copies the specified struct data to this struct.int
sizeof()
Returnssizeof(struct)
.boolean
transform_8x8_mode_flag
(boolean value) Sets the specified value to thetransform_8x8_mode_flag
field.boolean
weighted_pred_flag
(boolean value) Sets the specified value to theweighted_pred_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
-
StdVideoH264PpsFlags
Creates aStdVideoH264PpsFlags
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<StdVideoH264PpsFlags>
-
transform_8x8_mode_flag
public boolean transform_8x8_mode_flag()- Returns:
- the value of the
transform_8x8_mode_flag
field.
-
redundant_pic_cnt_present_flag
public boolean redundant_pic_cnt_present_flag()- Returns:
- the value of the
redundant_pic_cnt_present_flag
field.
-
constrained_intra_pred_flag
public boolean constrained_intra_pred_flag()- Returns:
- the value of the
constrained_intra_pred_flag
field.
-
deblocking_filter_control_present_flag
public boolean deblocking_filter_control_present_flag()- Returns:
- the value of the
deblocking_filter_control_present_flag
field.
-
weighted_pred_flag
public boolean weighted_pred_flag()- Returns:
- the value of the
weighted_pred_flag
field.
-
bottom_field_pic_order_in_frame_present_flag
public boolean bottom_field_pic_order_in_frame_present_flag()- Returns:
- the value of the
bottom_field_pic_order_in_frame_present_flag
field.
-
entropy_coding_mode_flag
public boolean entropy_coding_mode_flag()- Returns:
- the value of the
entropy_coding_mode_flag
field.
-
pic_scaling_matrix_present_flag
public boolean pic_scaling_matrix_present_flag()- Returns:
- the value of the
pic_scaling_matrix_present_flag
field.
-
transform_8x8_mode_flag
Sets the specified value to thetransform_8x8_mode_flag
field. -
redundant_pic_cnt_present_flag
Sets the specified value to theredundant_pic_cnt_present_flag
field. -
constrained_intra_pred_flag
Sets the specified value to theconstrained_intra_pred_flag
field. -
deblocking_filter_control_present_flag
Sets the specified value to thedeblocking_filter_control_present_flag
field. -
weighted_pred_flag
Sets the specified value to theweighted_pred_flag
field. -
bottom_field_pic_order_in_frame_present_flag
Sets the specified value to thebottom_field_pic_order_in_frame_present_flag
field. -
entropy_coding_mode_flag
Sets the specified value to theentropy_coding_mode_flag
field. -
pic_scaling_matrix_present_flag
Sets the specified value to thepic_scaling_matrix_present_flag
field. -
set
public StdVideoH264PpsFlags set(boolean transform_8x8_mode_flag, boolean redundant_pic_cnt_present_flag, boolean constrained_intra_pred_flag, boolean deblocking_filter_control_present_flag, boolean weighted_pred_flag, boolean bottom_field_pic_order_in_frame_present_flag, boolean entropy_coding_mode_flag, boolean pic_scaling_matrix_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 newStdVideoH264PpsFlags
instance allocated withmemAlloc
. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH264PpsFlags
instance allocated withmemCalloc
. The instance must be explicitly freed. -
create
Returns a newStdVideoH264PpsFlags
instance allocated withBufferUtils
. -
create
Returns a newStdVideoH264PpsFlags
instance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH264PpsFlags.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
Returns a newStdVideoH264PpsFlags.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
Returns a newStdVideoH264PpsFlags.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
Create aStdVideoH264PpsFlags.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH264PpsFlags
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH264PpsFlags
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
malloc
Returns a newStdVideoH264PpsFlags.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
capacity
- the buffer capacitystack
- the stack from which to allocate
-
calloc
Returns a newStdVideoH264PpsFlags.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) -
ntransform_8x8_mode_flag
public static int ntransform_8x8_mode_flag(long struct) Unsafe version oftransform_8x8_mode_flag()
. -
nredundant_pic_cnt_present_flag
public static int nredundant_pic_cnt_present_flag(long struct) Unsafe version ofredundant_pic_cnt_present_flag()
. -
nconstrained_intra_pred_flag
public static int nconstrained_intra_pred_flag(long struct) Unsafe version ofconstrained_intra_pred_flag()
. -
ndeblocking_filter_control_present_flag
public static int ndeblocking_filter_control_present_flag(long struct) Unsafe version ofdeblocking_filter_control_present_flag()
. -
nweighted_pred_flag
public static int nweighted_pred_flag(long struct) Unsafe version ofweighted_pred_flag()
. -
nbottom_field_pic_order_in_frame_present_flag
public static int nbottom_field_pic_order_in_frame_present_flag(long struct) Unsafe version ofbottom_field_pic_order_in_frame_present_flag()
. -
nentropy_coding_mode_flag
public static int nentropy_coding_mode_flag(long struct) Unsafe version ofentropy_coding_mode_flag()
. -
npic_scaling_matrix_present_flag
public static int npic_scaling_matrix_present_flag(long struct) Unsafe version ofpic_scaling_matrix_present_flag()
. -
nbitfield0
public static void nbitfield0(long struct, int value) -
ntransform_8x8_mode_flag
public static void ntransform_8x8_mode_flag(long struct, int value) Unsafe version oftransform_8x8_mode_flag
. -
nredundant_pic_cnt_present_flag
public static void nredundant_pic_cnt_present_flag(long struct, int value) Unsafe version ofredundant_pic_cnt_present_flag
. -
nconstrained_intra_pred_flag
public static void nconstrained_intra_pred_flag(long struct, int value) Unsafe version ofconstrained_intra_pred_flag
. -
ndeblocking_filter_control_present_flag
public static void ndeblocking_filter_control_present_flag(long struct, int value) Unsafe version ofdeblocking_filter_control_present_flag
. -
nweighted_pred_flag
public static void nweighted_pred_flag(long struct, int value) Unsafe version ofweighted_pred_flag
. -
nbottom_field_pic_order_in_frame_present_flag
public static void nbottom_field_pic_order_in_frame_present_flag(long struct, int value) Unsafe version ofbottom_field_pic_order_in_frame_present_flag
. -
nentropy_coding_mode_flag
public static void nentropy_coding_mode_flag(long struct, int value) Unsafe version ofentropy_coding_mode_flag
. -
npic_scaling_matrix_present_flag
public static void npic_scaling_matrix_present_flag(long struct, int value) Unsafe version ofpic_scaling_matrix_present_flag
.
-