Package org.lwjgl.vulkan.video
Class StdVideoDecodeH264ReferenceInfoFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoDecodeH264ReferenceInfoFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoDecodeH264ReferenceInfoFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoDecodeH264ReferenceInfoFlags { uint32_ttop_field_flag(): 1; uint32_tbottom_field_flag(): 1; uint32_tis_long_term(): 1; uint32_tis_non_existing(): 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoDecodeH264ReferenceInfoFlags.BufferAn array ofStdVideoDecodeH264ReferenceInfoFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoDecodeH264ReferenceInfoFlags(java.nio.ByteBuffer container)Creates aStdVideoDecodeH264ReferenceInfoFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanbottom_field_flag()reference is used for bottom field referenceStdVideoDecodeH264ReferenceInfoFlagsbottom_field_flag(boolean value)Sets the specified value to thebottom_field_flag()field.static StdVideoDecodeH264ReferenceInfoFlagscalloc()Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated withmemCalloc.static StdVideoDecodeH264ReferenceInfoFlags.Buffercalloc(int capacity)Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated withmemCalloc.static StdVideoDecodeH264ReferenceInfoFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264ReferenceInfoFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoDecodeH264ReferenceInfoFlagscreate()Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated withBufferUtils.static StdVideoDecodeH264ReferenceInfoFlags.Buffercreate(int capacity)Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.static StdVideoDecodeH264ReferenceInfoFlagscreate(long address)Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance for the specified memory address.static StdVideoDecodeH264ReferenceInfoFlags.Buffercreate(long address, int capacity)Create aStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance at the specified memory.static StdVideoDecodeH264ReferenceInfoFlagscreateSafe(long address)static StdVideoDecodeH264ReferenceInfoFlags.BuffercreateSafe(long address, int capacity)booleanis_long_term()this is a long term referenceStdVideoDecodeH264ReferenceInfoFlagsis_long_term(boolean value)Sets the specified value to theis_long_term()field.booleanis_non_existing()must be handled in accordance with 8.2.5.2: Decoding process for gaps in frame_numStdVideoDecodeH264ReferenceInfoFlagsis_non_existing(boolean value)Sets the specified value to theis_non_existing()field.static StdVideoDecodeH264ReferenceInfoFlagsmalloc()Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated withmemAlloc.static StdVideoDecodeH264ReferenceInfoFlags.Buffermalloc(int capacity)Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated withmemAlloc.static StdVideoDecodeH264ReferenceInfoFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoDecodeH264ReferenceInfoFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intnbottom_field_flag(long struct)Unsafe version ofbottom_field_flag().static voidnbottom_field_flag(long struct, int value)Unsafe version ofbottom_field_flag.static intnis_long_term(long struct)Unsafe version ofis_long_term().static voidnis_long_term(long struct, int value)Unsafe version ofis_long_term.static intnis_non_existing(long struct)Unsafe version ofis_non_existing().static voidnis_non_existing(long struct, int value)Unsafe version ofis_non_existing.static intntop_field_flag(long struct)Unsafe version oftop_field_flag().static voidntop_field_flag(long struct, int value)Unsafe version oftop_field_flag.StdVideoDecodeH264ReferenceInfoFlagsset(boolean top_field_flag, boolean bottom_field_flag, boolean is_long_term, boolean is_non_existing)Initializes this struct with the specified values.StdVideoDecodeH264ReferenceInfoFlagsset(StdVideoDecodeH264ReferenceInfoFlags src)Copies the specified struct data to this struct.intsizeof()booleantop_field_flag()reference is used for top field referenceStdVideoDecodeH264ReferenceInfoFlagstop_field_flag(boolean value)Sets the specified value to thetop_field_flag()field.
-
-
-
Constructor Detail
-
StdVideoDecodeH264ReferenceInfoFlags
public StdVideoDecodeH264ReferenceInfoFlags(java.nio.ByteBuffer container)
Creates aStdVideoDecodeH264ReferenceInfoFlagsinstance 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
-
top_field_flag
public boolean top_field_flag()
reference is used for top field reference
-
bottom_field_flag
public boolean bottom_field_flag()
reference is used for bottom field reference
-
is_long_term
public boolean is_long_term()
this is a long term reference
-
is_non_existing
public boolean is_non_existing()
must be handled in accordance with 8.2.5.2: Decoding process for gaps in frame_num
-
top_field_flag
public StdVideoDecodeH264ReferenceInfoFlags top_field_flag(boolean value)
Sets the specified value to thetop_field_flag()field.
-
bottom_field_flag
public StdVideoDecodeH264ReferenceInfoFlags bottom_field_flag(boolean value)
Sets the specified value to thebottom_field_flag()field.
-
is_long_term
public StdVideoDecodeH264ReferenceInfoFlags is_long_term(boolean value)
Sets the specified value to theis_long_term()field.
-
is_non_existing
public StdVideoDecodeH264ReferenceInfoFlags is_non_existing(boolean value)
Sets the specified value to theis_non_existing()field.
-
set
public StdVideoDecodeH264ReferenceInfoFlags set(boolean top_field_flag, boolean bottom_field_flag, boolean is_long_term, boolean is_non_existing)
Initializes this struct with the specified values.
-
set
public StdVideoDecodeH264ReferenceInfoFlags set(StdVideoDecodeH264ReferenceInfoFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoDecodeH264ReferenceInfoFlags malloc()
Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoDecodeH264ReferenceInfoFlags calloc()
Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoDecodeH264ReferenceInfoFlags create()
Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoDecodeH264ReferenceInfoFlags create(long address)
Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoDecodeH264ReferenceInfoFlags createSafe(long address)
-
malloc
public static StdVideoDecodeH264ReferenceInfoFlags.Buffer malloc(int capacity)
Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264ReferenceInfoFlags.Buffer calloc(int capacity)
Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264ReferenceInfoFlags.Buffer create(int capacity)
Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoDecodeH264ReferenceInfoFlags.Buffer create(long address, int capacity)
Create aStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoDecodeH264ReferenceInfoFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoDecodeH264ReferenceInfoFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoDecodeH264ReferenceInfoFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoDecodeH264ReferenceInfoFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoDecodeH264ReferenceInfoFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoDecodeH264ReferenceInfoFlags.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)
-
ntop_field_flag
public static int ntop_field_flag(long struct)
Unsafe version oftop_field_flag().
-
nbottom_field_flag
public static int nbottom_field_flag(long struct)
Unsafe version ofbottom_field_flag().
-
nis_long_term
public static int nis_long_term(long struct)
Unsafe version ofis_long_term().
-
nis_non_existing
public static int nis_non_existing(long struct)
Unsafe version ofis_non_existing().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
ntop_field_flag
public static void ntop_field_flag(long struct, int value)Unsafe version oftop_field_flag.
-
nbottom_field_flag
public static void nbottom_field_flag(long struct, int value)Unsafe version ofbottom_field_flag.
-
nis_long_term
public static void nis_long_term(long struct, int value)Unsafe version ofis_long_term.
-
nis_non_existing
public static void nis_non_existing(long struct, int value)Unsafe version ofis_non_existing.
-
-