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.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
ConstructorsConstructorDescriptionStdVideoH264PpsFlags(ByteBuffer container) Creates aStdVideoH264PpsFlagsinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbottom_field_pic_order_in_frame_present_flag(boolean value) Sets the specified value to thebottom_field_pic_order_in_frame_present_flagfield.static StdVideoH264PpsFlagscalloc()Returns a newStdVideoH264PpsFlagsinstance allocated withmemCalloc.static StdVideoH264PpsFlags.Buffercalloc(int capacity) Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withmemCalloc.static StdVideoH264PpsFlags.Buffercalloc(int capacity, MemoryStack stack) Returns a newStdVideoH264PpsFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH264PpsFlagscalloc(MemoryStack stack) Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleanconstrained_intra_pred_flag(boolean value) Sets the specified value to theconstrained_intra_pred_flagfield.static StdVideoH264PpsFlagscreate()Returns a newStdVideoH264PpsFlagsinstance allocated withBufferUtils.static StdVideoH264PpsFlags.Buffercreate(int capacity) Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withBufferUtils.static StdVideoH264PpsFlagscreate(long address) Returns a newStdVideoH264PpsFlagsinstance for the specified memory address.static StdVideoH264PpsFlags.Buffercreate(long address, int capacity) Create aStdVideoH264PpsFlags.Bufferinstance at the specified memory.static @Nullable StdVideoH264PpsFlagscreateSafe(long address) static @Nullable StdVideoH264PpsFlags.BuffercreateSafe(long address, int capacity) booleandeblocking_filter_control_present_flag(boolean value) Sets the specified value to thedeblocking_filter_control_present_flagfield.booleanentropy_coding_mode_flag(boolean value) Sets the specified value to theentropy_coding_mode_flagfield.static StdVideoH264PpsFlagsmalloc()Returns a newStdVideoH264PpsFlagsinstance allocated withmemAlloc.static StdVideoH264PpsFlags.Buffermalloc(int capacity) Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withmemAlloc.static StdVideoH264PpsFlags.Buffermalloc(int capacity, MemoryStack stack) Returns a newStdVideoH264PpsFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH264PpsFlagsmalloc(MemoryStack stack) Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct) static voidnbitfield0(long struct, int value) static intnbottom_field_pic_order_in_frame_present_flag(long struct) Unsafe version ofbottom_field_pic_order_in_frame_present_flag().static voidnbottom_field_pic_order_in_frame_present_flag(long struct, int value) Unsafe version ofbottom_field_pic_order_in_frame_present_flag.static intnconstrained_intra_pred_flag(long struct) Unsafe version ofconstrained_intra_pred_flag().static voidnconstrained_intra_pred_flag(long struct, int value) Unsafe version ofconstrained_intra_pred_flag.static intndeblocking_filter_control_present_flag(long struct) Unsafe version ofdeblocking_filter_control_present_flag().static voidndeblocking_filter_control_present_flag(long struct, int value) Unsafe version ofdeblocking_filter_control_present_flag.static intnentropy_coding_mode_flag(long struct) Unsafe version ofentropy_coding_mode_flag().static voidnentropy_coding_mode_flag(long struct, int value) Unsafe version ofentropy_coding_mode_flag.static intnpic_scaling_matrix_present_flag(long struct) Unsafe version ofpic_scaling_matrix_present_flag().static voidnpic_scaling_matrix_present_flag(long struct, int value) Unsafe version ofpic_scaling_matrix_present_flag.static intnredundant_pic_cnt_present_flag(long struct) Unsafe version ofredundant_pic_cnt_present_flag().static voidnredundant_pic_cnt_present_flag(long struct, int value) Unsafe version ofredundant_pic_cnt_present_flag.static intntransform_8x8_mode_flag(long struct) Unsafe version oftransform_8x8_mode_flag().static voidntransform_8x8_mode_flag(long struct, int value) Unsafe version oftransform_8x8_mode_flag.static intnweighted_pred_flag(long struct) Unsafe version ofweighted_pred_flag().static voidnweighted_pred_flag(long struct, int value) Unsafe version ofweighted_pred_flag.booleanpic_scaling_matrix_present_flag(boolean value) Sets the specified value to thepic_scaling_matrix_present_flagfield.booleanredundant_pic_cnt_present_flag(boolean value) Sets the specified value to theredundant_pic_cnt_present_flagfield.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.intsizeof()Returnssizeof(struct).booleantransform_8x8_mode_flag(boolean value) Sets the specified value to thetransform_8x8_mode_flagfield.booleanweighted_pred_flag(boolean value) Sets the specified value to theweighted_pred_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
-
StdVideoH264PpsFlags
Creates aStdVideoH264PpsFlagsinstance 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<StdVideoH264PpsFlags>
-
transform_8x8_mode_flag
public boolean transform_8x8_mode_flag()- Returns:
- the value of the
transform_8x8_mode_flagfield.
-
redundant_pic_cnt_present_flag
public boolean redundant_pic_cnt_present_flag()- Returns:
- the value of the
redundant_pic_cnt_present_flagfield.
-
constrained_intra_pred_flag
public boolean constrained_intra_pred_flag()- Returns:
- the value of the
constrained_intra_pred_flagfield.
-
deblocking_filter_control_present_flag
public boolean deblocking_filter_control_present_flag()- Returns:
- the value of the
deblocking_filter_control_present_flagfield.
-
weighted_pred_flag
public boolean weighted_pred_flag()- Returns:
- the value of the
weighted_pred_flagfield.
-
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_flagfield.
-
entropy_coding_mode_flag
public boolean entropy_coding_mode_flag()- Returns:
- the value of the
entropy_coding_mode_flagfield.
-
pic_scaling_matrix_present_flag
public boolean pic_scaling_matrix_present_flag()- Returns:
- the value of the
pic_scaling_matrix_present_flagfield.
-
transform_8x8_mode_flag
Sets the specified value to thetransform_8x8_mode_flagfield. -
redundant_pic_cnt_present_flag
Sets the specified value to theredundant_pic_cnt_present_flagfield. -
constrained_intra_pred_flag
Sets the specified value to theconstrained_intra_pred_flagfield. -
deblocking_filter_control_present_flag
Sets the specified value to thedeblocking_filter_control_present_flagfield. -
weighted_pred_flag
Sets the specified value to theweighted_pred_flagfield. -
bottom_field_pic_order_in_frame_present_flag
Sets the specified value to thebottom_field_pic_order_in_frame_present_flagfield. -
entropy_coding_mode_flag
Sets the specified value to theentropy_coding_mode_flagfield. -
pic_scaling_matrix_present_flag
Sets the specified value to thepic_scaling_matrix_present_flagfield. -
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 newStdVideoH264PpsFlagsinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newStdVideoH264PpsFlagsinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newStdVideoH264PpsFlagsinstance allocated withBufferUtils. -
create
Returns a newStdVideoH264PpsFlagsinstance for the specified memory address. -
createSafe
-
malloc
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aStdVideoH264PpsFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newStdVideoH264PpsFlags.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) -
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.
-