Package org.lwjgl.vulkan.video
Class StdVideoEncodeH265PictureInfoFlags
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.video.StdVideoEncodeH265PictureInfoFlags
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class StdVideoEncodeH265PictureInfoFlags extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceLayout
struct StdVideoEncodeH265PictureInfoFlags { uint32_t is_reference_flag : 1; uint32_t IrapPicFlag : 1; uint32_t long_term_flag : 1; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStdVideoEncodeH265PictureInfoFlags.BufferAn array ofStdVideoEncodeH265PictureInfoFlagsstructs.
-
Constructor Summary
Constructors Constructor Description StdVideoEncodeH265PictureInfoFlags(java.nio.ByteBuffer container)Creates aStdVideoEncodeH265PictureInfoFlagsinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static StdVideoEncodeH265PictureInfoFlagscalloc()Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated withmemCalloc.static StdVideoEncodeH265PictureInfoFlags.Buffercalloc(int capacity)Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated withmemCalloc.static StdVideoEncodeH265PictureInfoFlags.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265PictureInfoFlagscalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static StdVideoEncodeH265PictureInfoFlagscreate()Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated withBufferUtils.static StdVideoEncodeH265PictureInfoFlags.Buffercreate(int capacity)Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated withBufferUtils.static StdVideoEncodeH265PictureInfoFlagscreate(long address)Returns a newStdVideoEncodeH265PictureInfoFlagsinstance for the specified memory address.static StdVideoEncodeH265PictureInfoFlags.Buffercreate(long address, int capacity)Create aStdVideoEncodeH265PictureInfoFlags.Bufferinstance at the specified memory.static StdVideoEncodeH265PictureInfoFlagscreateSafe(long address)static StdVideoEncodeH265PictureInfoFlags.BuffercreateSafe(long address, int capacity)intIrapPicFlag()StdVideoEncodeH265PictureInfoFlagsIrapPicFlag(int value)Sets the specified value to theIrapPicFlagfield.intis_reference_flag()StdVideoEncodeH265PictureInfoFlagsis_reference_flag(int value)Sets the specified value to theis_reference_flagfield.intlong_term_flag()StdVideoEncodeH265PictureInfoFlagslong_term_flag(int value)Sets the specified value to thelong_term_flagfield.static StdVideoEncodeH265PictureInfoFlagsmalloc()Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated withmemAlloc.static StdVideoEncodeH265PictureInfoFlags.Buffermalloc(int capacity)Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated withmemAlloc.static StdVideoEncodeH265PictureInfoFlags.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.static StdVideoEncodeH265PictureInfoFlagsmalloc(org.lwjgl.system.MemoryStack stack)Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated on the specifiedMemoryStack.static intnbitfield0(long struct)static voidnbitfield0(long struct, int value)static intnIrapPicFlag(long struct)Unsafe version ofIrapPicFlag().static voidnIrapPicFlag(long struct, int value)Unsafe version ofIrapPicFlag.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_flag(long struct)Unsafe version oflong_term_flag().static voidnlong_term_flag(long struct, int value)Unsafe version oflong_term_flag.StdVideoEncodeH265PictureInfoFlagsset(int is_reference_flag, int IrapPicFlag, int long_term_flag)Initializes this struct with the specified values.StdVideoEncodeH265PictureInfoFlagsset(StdVideoEncodeH265PictureInfoFlags src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
StdVideoEncodeH265PictureInfoFlags
public StdVideoEncodeH265PictureInfoFlags(java.nio.ByteBuffer container)
Creates aStdVideoEncodeH265PictureInfoFlagsinstance 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
-
is_reference_flag
public int is_reference_flag()
- Returns:
- the value of the
is_reference_flagfield.
-
IrapPicFlag
public int IrapPicFlag()
- Returns:
- the value of the
IrapPicFlagfield.
-
long_term_flag
public int long_term_flag()
- Returns:
- the value of the
long_term_flagfield.
-
is_reference_flag
public StdVideoEncodeH265PictureInfoFlags is_reference_flag(int value)
Sets the specified value to theis_reference_flagfield.
-
IrapPicFlag
public StdVideoEncodeH265PictureInfoFlags IrapPicFlag(int value)
Sets the specified value to theIrapPicFlagfield.
-
long_term_flag
public StdVideoEncodeH265PictureInfoFlags long_term_flag(int value)
Sets the specified value to thelong_term_flagfield.
-
set
public StdVideoEncodeH265PictureInfoFlags set(int is_reference_flag, int IrapPicFlag, int long_term_flag)
Initializes this struct with the specified values.
-
set
public StdVideoEncodeH265PictureInfoFlags set(StdVideoEncodeH265PictureInfoFlags src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static StdVideoEncodeH265PictureInfoFlags malloc()
Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static StdVideoEncodeH265PictureInfoFlags calloc()
Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static StdVideoEncodeH265PictureInfoFlags create()
Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated withBufferUtils.
-
create
public static StdVideoEncodeH265PictureInfoFlags create(long address)
Returns a newStdVideoEncodeH265PictureInfoFlagsinstance for the specified memory address.
-
createSafe
@Nullable public static StdVideoEncodeH265PictureInfoFlags createSafe(long address)
-
malloc
public static StdVideoEncodeH265PictureInfoFlags.Buffer malloc(int capacity)
Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265PictureInfoFlags.Buffer calloc(int capacity)
Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265PictureInfoFlags.Buffer create(int capacity)
Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static StdVideoEncodeH265PictureInfoFlags.Buffer create(long address, int capacity)
Create aStdVideoEncodeH265PictureInfoFlags.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static StdVideoEncodeH265PictureInfoFlags.Buffer createSafe(long address, int capacity)
-
malloc
public static StdVideoEncodeH265PictureInfoFlags malloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static StdVideoEncodeH265PictureInfoFlags calloc(org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265PictureInfoFlagsinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static StdVideoEncodeH265PictureInfoFlags.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265PictureInfoFlags.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static StdVideoEncodeH265PictureInfoFlags.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newStdVideoEncodeH265PictureInfoFlags.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)
-
nis_reference_flag
public static int nis_reference_flag(long struct)
Unsafe version ofis_reference_flag().
-
nIrapPicFlag
public static int nIrapPicFlag(long struct)
Unsafe version ofIrapPicFlag().
-
nlong_term_flag
public static int nlong_term_flag(long struct)
Unsafe version oflong_term_flag().
-
nbitfield0
public static void nbitfield0(long struct, int value)
-
nis_reference_flag
public static void nis_reference_flag(long struct, int value)Unsafe version ofis_reference_flag.
-
nIrapPicFlag
public static void nIrapPicFlag(long struct, int value)Unsafe version ofIrapPicFlag.
-
nlong_term_flag
public static void nlong_term_flag(long struct, int value)Unsafe version oflong_term_flag.
-
-