Package org.lwjgl.vulkan
Class VkVideoEncodeH265FrameSizeEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265FrameSizeEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265FrameSizeEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing frame size values per H.265 picture type.See Also
VkVideoEncodeH265RateControlLayerInfoEXTLayout
struct VkVideoEncodeH265FrameSizeEXT { uint32_tframeISize(); uint32_tframePSize(); uint32_tframeBSize(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265FrameSizeEXT.BufferAn array ofVkVideoEncodeH265FrameSizeEXTstructs.
-
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 VkVideoEncodeH265FrameSizeEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265FrameSizeEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265FrameSizeEXTcalloc()Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated withmemCalloc.static VkVideoEncodeH265FrameSizeEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265FrameSizeEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265FrameSizeEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265FrameSizeEXTcreate()Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated withBufferUtils.static VkVideoEncodeH265FrameSizeEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265FrameSizeEXTcreate(long address)Returns a newVkVideoEncodeH265FrameSizeEXTinstance for the specified memory address.static VkVideoEncodeH265FrameSizeEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265FrameSizeEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265FrameSizeEXTcreateSafe(long address)static VkVideoEncodeH265FrameSizeEXT.BuffercreateSafe(long address, int capacity)intframeBSize()the size in bytes to be used for B-frames.VkVideoEncodeH265FrameSizeEXTframeBSize(int value)Sets the specified value to theframeBSize()field.intframeISize()the size in bytes to be used for I-frames.VkVideoEncodeH265FrameSizeEXTframeISize(int value)Sets the specified value to theframeISize()field.intframePSize()the size in bytes to be used for P-frames.VkVideoEncodeH265FrameSizeEXTframePSize(int value)Sets the specified value to theframePSize()field.static VkVideoEncodeH265FrameSizeEXTmalloc()Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated withmemAlloc.static VkVideoEncodeH265FrameSizeEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265FrameSizeEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265FrameSizeEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265FrameSizeEXTinstance 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.VkVideoEncodeH265FrameSizeEXTset(int frameISize, int framePSize, int frameBSize)Initializes this struct with the specified values.VkVideoEncodeH265FrameSizeEXTset(VkVideoEncodeH265FrameSizeEXT src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
VkVideoEncodeH265FrameSizeEXT
public VkVideoEncodeH265FrameSizeEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265FrameSizeEXTinstance 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 VkVideoEncodeH265FrameSizeEXT frameISize(int value)
Sets the specified value to theframeISize()field.
-
framePSize
public VkVideoEncodeH265FrameSizeEXT framePSize(int value)
Sets the specified value to theframePSize()field.
-
frameBSize
public VkVideoEncodeH265FrameSizeEXT frameBSize(int value)
Sets the specified value to theframeBSize()field.
-
set
public VkVideoEncodeH265FrameSizeEXT set(int frameISize, int framePSize, int frameBSize)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265FrameSizeEXT set(VkVideoEncodeH265FrameSizeEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265FrameSizeEXT malloc()
Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265FrameSizeEXT calloc()
Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265FrameSizeEXT create()
Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265FrameSizeEXT create(long address)
Returns a newVkVideoEncodeH265FrameSizeEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265FrameSizeEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265FrameSizeEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265FrameSizeEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265FrameSizeEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265FrameSizeEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265FrameSizeEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265FrameSizeEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265FrameSizeEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265FrameSizeEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265FrameSizeEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265FrameSizeEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265FrameSizeEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265FrameSizeEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265FrameSizeEXT.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.
-
-