Package org.lwjgl.vulkan.video
Class StdVideoH264PpsFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoH264PpsFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoH264PpsFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
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_bipred_idc_flag : 1; uint32_t weighted_pred_flag : 1; uint32_t pic_order_present_flag : 1; uint32_t entropy_coding_mode_flag : 1; uint32_t pic_scaling_matrix_present_flag : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoH264PpsFlags.BufferAn array ofStdVideoH264PpsFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoH264PpsFlags(java.nio.ByteBuffer container)Creates aStdVideoH264PpsFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoH264PpsFlagscalloc()Returns a newStdVideoH264PpsFlagsinstance allocated withmemCalloc.static StdVideoH264PpsFlags.Buffercalloc(int capacity)Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withmemCalloc.static StdVideoH264PpsFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264PpsFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoH264PpsFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleanconstrained_intra_pred_flag()StdVideoH264PpsFlagsconstrained_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 StdVideoH264PpsFlagscreateSafe(long address)static StdVideoH264PpsFlags.BuffercreateSafe(long address, int capacity)booleandeblocking_filter_control_present_flag()StdVideoH264PpsFlagsdeblocking_filter_control_present_flag(boolean value)Sets the specified value to thedeblocking_filter_control_present_flagfield.booleanentropy_coding_mode_flag()StdVideoH264PpsFlagsentropy_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, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264PpsFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoH264PpsFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)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_order_present_flag(long struct)Unsafe version ofpic_order_present_flag().static voidnpic_order_present_flag(long struct, int value)Unsafe version ofpic_order_present_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_bipred_idc_flag(long struct)Unsafe version ofweighted_bipred_idc_flag().static voidnweighted_bipred_idc_flag(long struct, int value)Unsafe version ofweighted_bipred_idc_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_order_present_flag()StdVideoH264PpsFlagspic_order_present_flag(boolean value)Sets the specified value to thepic_order_present_flagfield.booleanpic_scaling_matrix_present_flag()StdVideoH264PpsFlagspic_scaling_matrix_present_flag(boolean value)Sets the specified value to thepic_scaling_matrix_present_flagfield.booleanredundant_pic_cnt_present_flag()StdVideoH264PpsFlagsredundant_pic_cnt_present_flag(boolean value)Sets the specified value to theredundant_pic_cnt_present_flagfield.StdVideoH264PpsFlagsset(boolean transform_8x8_mode_flag, boolean redundant_pic_cnt_present_flag, boolean constrained_intra_pred_flag, boolean deblocking_filter_control_present_flag, boolean weighted_bipred_idc_flag, boolean weighted_pred_flag, boolean pic_order_present_flag, boolean entropy_coding_mode_flag, boolean pic_scaling_matrix_present_flag)Initializes this struct with the specified values.StdVideoH264PpsFlagsset(StdVideoH264PpsFlags src)Copies the specified struct data to this struct.intsizeof()booleantransform_8x8_mode_flag()StdVideoH264PpsFlagstransform_8x8_mode_flag(boolean value)Sets the specified value to thetransform_8x8_mode_flagfield.booleanweighted_bipred_idc_flag()StdVideoH264PpsFlagsweighted_bipred_idc_flag(boolean value)Sets the specified value to theweighted_bipred_idc_flagfield.booleanweighted_pred_flag()StdVideoH264PpsFlagsweighted_pred_flag(boolean value)Sets the specified value to theweighted_pred_flagfield.
-
-
-
Constructor Detail
-
StdVideoH264PpsFlags
public StdVideoH264PpsFlags(java.nio.ByteBuffer container)
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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
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_bipred_idc_flag
public boolean weighted_bipred_idc_flag()
- Returns:
- the value of the
weighted_bipred_idc_flagfield.
-
weighted_pred_flag
public boolean weighted_pred_flag()
- Returns:
- the value of the
weighted_pred_flagfield.
-
pic_order_present_flag
public boolean pic_order_present_flag()
- Returns:
- the value of the
pic_order_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
public StdVideoH264PpsFlags transform_8x8_mode_flag(boolean value)
Sets the specified value to thetransform_8x8_mode_flagfield.
-
redundant_pic_cnt_present_flag
public StdVideoH264PpsFlags redundant_pic_cnt_present_flag(boolean value)
Sets the specified value to theredundant_pic_cnt_present_flagfield.
-
constrained_intra_pred_flag
public StdVideoH264PpsFlags constrained_intra_pred_flag(boolean value)
Sets the specified value to theconstrained_intra_pred_flagfield.
-
deblocking_filter_control_present_flag
public StdVideoH264PpsFlags deblocking_filter_control_present_flag(boolean value)
Sets the specified value to thedeblocking_filter_control_present_flagfield.
-
weighted_bipred_idc_flag
public StdVideoH264PpsFlags weighted_bipred_idc_flag(boolean value)
Sets the specified value to theweighted_bipred_idc_flagfield.
-
weighted_pred_flag
public StdVideoH264PpsFlags weighted_pred_flag(boolean value)
Sets the specified value to theweighted_pred_flagfield.
-
pic_order_present_flag
public StdVideoH264PpsFlags pic_order_present_flag(boolean value)
Sets the specified value to thepic_order_present_flagfield.
-
entropy_coding_mode_flag
public StdVideoH264PpsFlags entropy_coding_mode_flag(boolean value)
Sets the specified value to theentropy_coding_mode_flagfield.
-
pic_scaling_matrix_present_flag
public StdVideoH264PpsFlags pic_scaling_matrix_present_flag(boolean value)
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_bipred_idc_flag, boolean weighted_pred_flag, boolean pic_order_present_flag, boolean entropy_coding_mode_flag, boolean pic_scaling_matrix_present_flag)
Initializes this struct with the specified values.
-
set
public StdVideoH264PpsFlags set(StdVideoH264PpsFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoH264PpsFlags malloc()
Returns a newStdVideoH264PpsFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoH264PpsFlags calloc()
Returns a newStdVideoH264PpsFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoH264PpsFlags create()
Returns a newStdVideoH264PpsFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoH264PpsFlags create(long address)
Returns a newStdVideoH264PpsFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoH264PpsFlags createSafe(long address)
-
malloc
public static StdVideoH264PpsFlags.Buffer malloc(int capacity)
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoH264PpsFlags.Buffer calloc(int capacity)
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH264PpsFlags.Buffer create(int capacity)
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoH264PpsFlags.Buffer create(long address, int capacity)
Create aStdVideoH264PpsFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoH264PpsFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoH264PpsFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoH264PpsFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264PpsFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoH264PpsFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoH264PpsFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoH264PpsFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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_bipred_idc_flag
public static int nweighted_bipred_idc_flag(long struct)
Unsafe version ofweighted_bipred_idc_flag().
-
nweighted_pred_flag
public static int nweighted_pred_flag(long struct)
Unsafe version ofweighted_pred_flag().
-
npic_order_present_flag
public static int npic_order_present_flag(long struct)
Unsafe version ofpic_order_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_bipred_idc_flag
public static void nweighted_bipred_idc_flag(long struct, int value)Unsafe version ofweighted_bipred_idc_flag.
-
nweighted_pred_flag
public static void nweighted_pred_flag(long struct, int value)Unsafe version ofweighted_pred_flag.
-
npic_order_present_flag
public static void npic_order_present_flag(long struct, int value)Unsafe version ofpic_order_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.
-
-