Package org.lwjgl.vulkan.video
Class StdVideoEncodeH264PictureInfoFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH264PictureInfoFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH264PictureInfoFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH264PictureInfoFlags { uint32_t idr_flag : 1; uint32_t is_reference_flag : 1; uint32_t long_term_reference_flag : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH264PictureInfoFlags.BufferAn array ofStdVideoEncodeH264PictureInfoFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH264PictureInfoFlags(java.nio.ByteBuffer container)Creates aStdVideoEncodeH264PictureInfoFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH264PictureInfoFlagscalloc()Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated withmemCalloc.static StdVideoEncodeH264PictureInfoFlags.Buffercalloc(int capacity)Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH264PictureInfoFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264PictureInfoFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH264PictureInfoFlagscreate()Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated withBufferUtils.static StdVideoEncodeH264PictureInfoFlags.Buffercreate(int capacity)Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH264PictureInfoFlagscreate(long address)Returns a newStdVideoEncodeH264PictureInfoFlagsinstance for the specified memory address.static StdVideoEncodeH264PictureInfoFlags.Buffercreate(long address, int capacity)Create aStdVideoEncodeH264PictureInfoFlags.Bufferinstance at the specified memory.static StdVideoEncodeH264PictureInfoFlagscreateSafe(long address)static StdVideoEncodeH264PictureInfoFlags.BuffercreateSafe(long address, int capacity)booleanidr_flag()StdVideoEncodeH264PictureInfoFlagsidr_flag(boolean value)Sets the specified value to theidr_flagfield.booleanis_reference_flag()StdVideoEncodeH264PictureInfoFlagsis_reference_flag(boolean value)Sets the specified value to theis_reference_flagfield.booleanlong_term_reference_flag()StdVideoEncodeH264PictureInfoFlagslong_term_reference_flag(boolean value)Sets the specified value to thelong_term_reference_flagfield.static StdVideoEncodeH264PictureInfoFlagsmalloc()Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated withmemAlloc.static StdVideoEncodeH264PictureInfoFlags.Buffermalloc(int capacity)Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH264PictureInfoFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH264PictureInfoFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intnidr_flag(long struct)Unsafe version ofidr_flag().static voidnidr_flag(long struct, int value)Unsafe version ofidr_flag.static intnis_reference_flag(long struct)Unsafe version ofis_reference_flag().static voidnis_reference_flag(long struct, int value)Unsafe version ofis_reference_flag.static intnlong_term_reference_flag(long struct)Unsafe version oflong_term_reference_flag().static voidnlong_term_reference_flag(long struct, int value)Unsafe version oflong_term_reference_flag.StdVideoEncodeH264PictureInfoFlagsset(boolean idr_flag, boolean is_reference_flag, boolean long_term_reference_flag)Initializes this struct with the specified values.StdVideoEncodeH264PictureInfoFlagsset(StdVideoEncodeH264PictureInfoFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH264PictureInfoFlags
public StdVideoEncodeH264PictureInfoFlags(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH264PictureInfoFlagsinstance 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
-
idr_flag
public boolean idr_flag()
- Returns:
- the value of the
idr_flagfield.
-
is_reference_flag
public boolean is_reference_flag()
- Returns:
- the value of the
is_reference_flagfield.
-
long_term_reference_flag
public boolean long_term_reference_flag()
- Returns:
- the value of the
long_term_reference_flagfield.
-
idr_flag
public StdVideoEncodeH264PictureInfoFlags idr_flag(boolean value)
Sets the specified value to theidr_flagfield.
-
is_reference_flag
public StdVideoEncodeH264PictureInfoFlags is_reference_flag(boolean value)
Sets the specified value to theis_reference_flagfield.
-
long_term_reference_flag
public StdVideoEncodeH264PictureInfoFlags long_term_reference_flag(boolean value)
Sets the specified value to thelong_term_reference_flagfield.
-
set
public StdVideoEncodeH264PictureInfoFlags set(boolean idr_flag, boolean is_reference_flag, boolean long_term_reference_flag)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH264PictureInfoFlags set(StdVideoEncodeH264PictureInfoFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH264PictureInfoFlags malloc()
Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH264PictureInfoFlags calloc()
Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH264PictureInfoFlags create()
Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH264PictureInfoFlags create(long address)
Returns a newStdVideoEncodeH264PictureInfoFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH264PictureInfoFlags createSafe(long address)
-
malloc
public static StdVideoEncodeH264PictureInfoFlags.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264PictureInfoFlags.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264PictureInfoFlags.Buffer create(int capacity)
Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH264PictureInfoFlags.Buffer create(long address, int capacity)
Create aStdVideoEncodeH264PictureInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH264PictureInfoFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH264PictureInfoFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH264PictureInfoFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH264PictureInfoFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH264PictureInfoFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH264PictureInfoFlags.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)
-
nidr_flag
public static int nidr_flag(long struct)
Unsafe version ofidr_flag().
-
nis_reference_flag
public static int nis_reference_flag(long struct)
Unsafe version ofis_reference_flag().
-
nlong_term_reference_flag
public static int nlong_term_reference_flag(long struct)
Unsafe version oflong_term_reference_flag().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
nidr_flag
public static void nidr_flag(long struct, int value)Unsafe version ofidr_flag.
-
nis_reference_flag
public static void nis_reference_flag(long struct, int value)Unsafe version ofis_reference_flag.
-
nlong_term_reference_flag
public static void nlong_term_reference_flag(long struct, int value)Unsafe version oflong_term_reference_flag.
-
-