Package org.lwjgl.vulkan
Class VkVideoEncodeH264FrameSizeEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH264FrameSizeEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH264FrameSizeEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing frame size values per H.264 picture type.See Also
VkVideoEncodeH264RateControlLayerInfoEXTLayout
struct VkVideoEncodeH264FrameSizeEXT { uint32_tframeISize(); uint32_tframePSize(); uint32_tframeBSize(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH264FrameSizeEXT.BufferAn array ofVkVideoEncodeH264FrameSizeEXTstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFRAMEBSIZE
FRAMEISIZE
FRAMEPSIZEThe struct member offsets.static intSIZEOFThe struct size in bytes.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH264FrameSizeEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH264FrameSizeEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH264FrameSizeEXTcalloc()Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated withmemCalloc.static VkVideoEncodeH264FrameSizeEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH264FrameSizeEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264FrameSizeEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH264FrameSizeEXTcreate()Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated withBufferUtils.static VkVideoEncodeH264FrameSizeEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH264FrameSizeEXTcreate(long address)Returns a newVkVideoEncodeH264FrameSizeEXTinstance for the specified memory address.static VkVideoEncodeH264FrameSizeEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH264FrameSizeEXT.Bufferinstance at the specified memory.static VkVideoEncodeH264FrameSizeEXTcreateSafe(long address)static VkVideoEncodeH264FrameSizeEXT.BuffercreateSafe(long address, int capacity)intframeBSize()the size in bytes to be used for B-frames.VkVideoEncodeH264FrameSizeEXTframeBSize(int value)Sets the specified value to theframeBSize()field.intframeISize()the size in bytes to be used for I-frames.VkVideoEncodeH264FrameSizeEXTframeISize(int value)Sets the specified value to theframeISize()field.intframePSize()the size in bytes to be used for P-frames.VkVideoEncodeH264FrameSizeEXTframePSize(int value)Sets the specified value to theframePSize()field.static VkVideoEncodeH264FrameSizeEXTmalloc()Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated withmemAlloc.static VkVideoEncodeH264FrameSizeEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH264FrameSizeEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH264FrameSizeEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated on the specifiedMemoryStack.static intnframeBSize(long struct)Unsafe version offrameBSize().static voidnframeBSize(long struct, int value)Unsafe version offrameBSize.static intnframeISize(long struct)Unsafe version offrameISize().static voidnframeISize(long struct, int value)Unsafe version offrameISize.static intnframePSize(long struct)Unsafe version offramePSize().static voidnframePSize(long struct, int value)Unsafe version offramePSize.VkVideoEncodeH264FrameSizeEXTset(int frameISize, int framePSize, int frameBSize)Initializes this struct with the specified values.VkVideoEncodeH264FrameSizeEXTset(VkVideoEncodeH264FrameSizeEXT src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
VkVideoEncodeH264FrameSizeEXT
public VkVideoEncodeH264FrameSizeEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH264FrameSizeEXTinstance 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
-
frameISize
public int frameISize()
the size in bytes to be used for I-frames.
-
framePSize
public int framePSize()
the size in bytes to be used for P-frames.
-
frameBSize
public int frameBSize()
the size in bytes to be used for B-frames.
-
frameISize
public VkVideoEncodeH264FrameSizeEXT frameISize(int value)
Sets the specified value to theframeISize()field.
-
framePSize
public VkVideoEncodeH264FrameSizeEXT framePSize(int value)
Sets the specified value to theframePSize()field.
-
frameBSize
public VkVideoEncodeH264FrameSizeEXT frameBSize(int value)
Sets the specified value to theframeBSize()field.
-
set
public VkVideoEncodeH264FrameSizeEXT set(int frameISize, int framePSize, int frameBSize)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH264FrameSizeEXT set(VkVideoEncodeH264FrameSizeEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH264FrameSizeEXT malloc()
Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH264FrameSizeEXT calloc()
Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH264FrameSizeEXT create()
Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH264FrameSizeEXT create(long address)
Returns a newVkVideoEncodeH264FrameSizeEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH264FrameSizeEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH264FrameSizeEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264FrameSizeEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264FrameSizeEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH264FrameSizeEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH264FrameSizeEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH264FrameSizeEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH264FrameSizeEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH264FrameSizeEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264FrameSizeEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH264FrameSizeEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH264FrameSizeEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH264FrameSizeEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nframeISize
public static int nframeISize(long struct)
Unsafe version offrameISize().
-
nframePSize
public static int nframePSize(long struct)
Unsafe version offramePSize().
-
nframeBSize
public static int nframeBSize(long struct)
Unsafe version offrameBSize().
-
nframeISize
public static void nframeISize(long struct, int value)Unsafe version offrameISize.
-
nframePSize
public static void nframePSize(long struct, int value)Unsafe version offramePSize.
-
nframeBSize
public static void nframeBSize(long struct, int value)Unsafe version offrameBSize.
-
-