Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264SliceHeaderFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264SliceHeaderFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH264SliceHeaderFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH264SliceHeaderFlags { uint32_t direct_spatial_mv_pred_flag : 1; uint32_t num_ref_idx_active_override_flag : 1; uint32_t no_output_of_prior_pics_flag : 1; uint32_t adaptive_ref_pic_marking_mode_flag : 1; uint32_t no_prior_references_available_flag : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH264SliceHeaderFlags.BufferAn array ofStdVideoEncodeH264SliceHeaderFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH264SliceHeaderFlags(java.nio.ByteBuffer container)Creates aStdVideoEncodeH264SliceHeaderFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanadaptive_ref_pic_marking_mode_flag()StdVideoEncodeH264SliceHeaderFlagsadaptive_ref_pic_marking_mode_flag(boolean value)Sets the specified value to theadaptive_ref_pic_marking_mode_flagfield.static StdVideoEncodeH264SliceHeaderFlagscalloc()Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated withmemCalloc.static StdVideoEncodeH264SliceHeaderFlags.Buffercalloc(int capacity)Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH264SliceHeaderFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264SliceHeaderFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264SliceHeaderFlagscreate()Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated withBufferUtils.static StdVideoEncodeH264SliceHeaderFlags.Buffercreate(int capacity)Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH264SliceHeaderFlagscreate(long address)Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance for the specified memory address.static StdVideoEncodeH264SliceHeaderFlags.Buffercreate(long address, int capacity)Create aStdVideoEncodeH264SliceHeaderFlags.Bufferinstance at the specified memory.static StdVideoEncodeH264SliceHeaderFlagscreateSafe(long address)static StdVideoEncodeH264SliceHeaderFlags.BuffercreateSafe(long address, int capacity)booleandirect_spatial_mv_pred_flag()StdVideoEncodeH264SliceHeaderFlagsdirect_spatial_mv_pred_flag(boolean value)Sets the specified value to thedirect_spatial_mv_pred_flagfield.static StdVideoEncodeH264SliceHeaderFlagsmalloc()Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated withmemAlloc.static StdVideoEncodeH264SliceHeaderFlags.Buffermalloc(int capacity)Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH264SliceHeaderFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264SliceHeaderFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated on the specifiedMemoryStack.static intnadaptive_ref_pic_marking_mode_flag(long struct)Unsafe version ofadaptive_ref_pic_marking_mode_flag().static voidnadaptive_ref_pic_marking_mode_flag(long struct, int value)Unsafe version ofadaptive_ref_pic_marking_mode_flag.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intndirect_spatial_mv_pred_flag(long struct)Unsafe version ofdirect_spatial_mv_pred_flag().static voidndirect_spatial_mv_pred_flag(long struct, int value)Unsafe version ofdirect_spatial_mv_pred_flag.static intnno_output_of_prior_pics_flag(long struct)Unsafe version ofno_output_of_prior_pics_flag().static voidnno_output_of_prior_pics_flag(long struct, int value)Unsafe version ofno_output_of_prior_pics_flag.static intnno_prior_references_available_flag(long struct)Unsafe version ofno_prior_references_available_flag().static voidnno_prior_references_available_flag(long struct, int value)Unsafe version ofno_prior_references_available_flag.static intnnum_ref_idx_active_override_flag(long struct)Unsafe version ofnum_ref_idx_active_override_flag().static voidnnum_ref_idx_active_override_flag(long struct, int value)Unsafe version ofnum_ref_idx_active_override_flag.booleanno_output_of_prior_pics_flag()StdVideoEncodeH264SliceHeaderFlagsno_output_of_prior_pics_flag(boolean value)Sets the specified value to theno_output_of_prior_pics_flagfield.booleanno_prior_references_available_flag()StdVideoEncodeH264SliceHeaderFlagsno_prior_references_available_flag(boolean value)Sets the specified value to theno_prior_references_available_flagfield.booleannum_ref_idx_active_override_flag()StdVideoEncodeH264SliceHeaderFlagsnum_ref_idx_active_override_flag(boolean value)Sets the specified value to thenum_ref_idx_active_override_flagfield.StdVideoEncodeH264SliceHeaderFlagsset(boolean direct_spatial_mv_pred_flag, boolean num_ref_idx_active_override_flag, boolean no_output_of_prior_pics_flag, boolean adaptive_ref_pic_marking_mode_flag, boolean no_prior_references_available_flag)Initializes this struct with the specified values.StdVideoEncodeH264SliceHeaderFlagsset(StdVideoEncodeH264SliceHeaderFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH264SliceHeaderFlags
public StdVideoEncodeH264SliceHeaderFlags(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH264SliceHeaderFlagsinstance 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
-
direct_spatial_mv_pred_flag
public boolean direct_spatial_mv_pred_flag()
- Returns:
- the value of the
direct_spatial_mv_pred_flagfield.
-
num_ref_idx_active_override_flag
public boolean num_ref_idx_active_override_flag()
- Returns:
- the value of the
num_ref_idx_active_override_flagfield.
-
no_output_of_prior_pics_flag
public boolean no_output_of_prior_pics_flag()
- Returns:
- the value of the
no_output_of_prior_pics_flagfield.
-
adaptive_ref_pic_marking_mode_flag
public boolean adaptive_ref_pic_marking_mode_flag()
- Returns:
- the value of the
adaptive_ref_pic_marking_mode_flagfield.
-
no_prior_references_available_flag
public boolean no_prior_references_available_flag()
- Returns:
- the value of the
no_prior_references_available_flagfield.
-
direct_spatial_mv_pred_flag
public StdVideoEncodeH264SliceHeaderFlags direct_spatial_mv_pred_flag(boolean value)
Sets the specified value to thedirect_spatial_mv_pred_flagfield.
-
num_ref_idx_active_override_flag
public StdVideoEncodeH264SliceHeaderFlags num_ref_idx_active_override_flag(boolean value)
Sets the specified value to thenum_ref_idx_active_override_flagfield.
-
no_output_of_prior_pics_flag
public StdVideoEncodeH264SliceHeaderFlags no_output_of_prior_pics_flag(boolean value)
Sets the specified value to theno_output_of_prior_pics_flagfield.
-
adaptive_ref_pic_marking_mode_flag
public StdVideoEncodeH264SliceHeaderFlags adaptive_ref_pic_marking_mode_flag(boolean value)
Sets the specified value to theadaptive_ref_pic_marking_mode_flagfield.
-
no_prior_references_available_flag
public StdVideoEncodeH264SliceHeaderFlags no_prior_references_available_flag(boolean value)
Sets the specified value to theno_prior_references_available_flagfield.
-
set
public StdVideoEncodeH264SliceHeaderFlags set(boolean direct_spatial_mv_pred_flag, boolean num_ref_idx_active_override_flag, boolean no_output_of_prior_pics_flag, boolean adaptive_ref_pic_marking_mode_flag, boolean no_prior_references_available_flag)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH264SliceHeaderFlags set(StdVideoEncodeH264SliceHeaderFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH264SliceHeaderFlags malloc()
Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH264SliceHeaderFlags calloc()
Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH264SliceHeaderFlags create()
Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH264SliceHeaderFlags create(long address)
Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH264SliceHeaderFlags createSafe(long address)
-
malloc
public static StdVideoEncodeH264SliceHeaderFlags.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264SliceHeaderFlags.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264SliceHeaderFlags.Buffer create(int capacity)
Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264SliceHeaderFlags.Buffer create(long address, int capacity)
Create aStdVideoEncodeH264SliceHeaderFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH264SliceHeaderFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH264SliceHeaderFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH264SliceHeaderFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264SliceHeaderFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH264SliceHeaderFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264SliceHeaderFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264SliceHeaderFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264SliceHeaderFlags.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)
-
ndirect_spatial_mv_pred_flag
public static int ndirect_spatial_mv_pred_flag(long struct)
Unsafe version ofdirect_spatial_mv_pred_flag().
-
nnum_ref_idx_active_override_flag
public static int nnum_ref_idx_active_override_flag(long struct)
Unsafe version ofnum_ref_idx_active_override_flag().
-
nno_output_of_prior_pics_flag
public static int nno_output_of_prior_pics_flag(long struct)
Unsafe version ofno_output_of_prior_pics_flag().
-
nadaptive_ref_pic_marking_mode_flag
public static int nadaptive_ref_pic_marking_mode_flag(long struct)
Unsafe version ofadaptive_ref_pic_marking_mode_flag().
-
nno_prior_references_available_flag
public static int nno_prior_references_available_flag(long struct)
Unsafe version ofno_prior_references_available_flag().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
ndirect_spatial_mv_pred_flag
public static void ndirect_spatial_mv_pred_flag(long struct, int value)Unsafe version ofdirect_spatial_mv_pred_flag.
-
nnum_ref_idx_active_override_flag
public static void nnum_ref_idx_active_override_flag(long struct, int value)Unsafe version ofnum_ref_idx_active_override_flag.
-
nno_output_of_prior_pics_flag
public static void nno_output_of_prior_pics_flag(long struct, int value)Unsafe version ofno_output_of_prior_pics_flag.
-
nadaptive_ref_pic_marking_mode_flag
public static void nadaptive_ref_pic_marking_mode_flag(long struct, int value)Unsafe version ofadaptive_ref_pic_marking_mode_flag.
-
nno_prior_references_available_flag
public static void nno_prior_references_available_flag(long struct, int value)Unsafe version ofno_prior_references_available_flag.
-
-