Package org.lwjgl.vulkan
Class VkVideoEncodeH265FrameSizeKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeH265FrameSizeKHR>
org.lwjgl.vulkan.VkVideoEncodeH265FrameSizeKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265FrameSizeKHR
extends org.lwjgl.system.Struct<VkVideoEncodeH265FrameSizeKHR>
implements org.lwjgl.system.NativeResource
Structure describing frame size values per H.265 picture type.
See Also
VkVideoEncodeH265RateControlLayerInfoKHR
Layout
struct VkVideoEncodeH265FrameSizeKHR {
uint32_t frameISize();
uint32_t framePSize();
uint32_t frameBSize();
}-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class org.lwjgl.system.Struct
org.lwjgl.system.Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
org.lwjgl.system.Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkVideoEncodeH265FrameSizeKHR(ByteBuffer container) Creates aVkVideoEncodeH265FrameSizeKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoEncodeH265FrameSizeKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeH265FrameSizeKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeH265FrameSizeKHRcreateSafe(long address) static @Nullable VkVideoEncodeH265FrameSizeKHR.BuffercreateSafe(long address, int capacity) intthe size in bytes to be used for B frames.frameBSize(int value) Sets the specified value to theframeBSize()field.intthe size in bytes to be used for I frames.frameISize(int value) Sets the specified value to theframeISize()field.intthe size in bytes to be used for P frames.framePSize(int value) Sets the specified value to theframePSize()field.malloc()Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStack.malloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHRinstance 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.set(int frameISize, int framePSize, int frameBSize) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Methods inherited from class org.lwjgl.system.Struct
clear, free, isNull, validate, validateMethods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
FRAMEISIZE
public static final int FRAMEISIZEThe struct member offsets. -
FRAMEPSIZE
public static final int FRAMEPSIZEThe struct member offsets. -
FRAMEBSIZE
public static final int FRAMEBSIZEThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeH265FrameSizeKHR
Creates aVkVideoEncodeH265FrameSizeKHRinstance 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 Details
-
sizeof
public int sizeof()- Specified by:
sizeofin classorg.lwjgl.system.Struct<VkVideoEncodeH265FrameSizeKHR>
-
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
Sets the specified value to theframeISize()field. -
framePSize
Sets the specified value to theframePSize()field. -
frameBSize
Sets the specified value to theframeBSize()field. -
set
Initializes this struct with the specified values. -
set
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeH265FrameSizeKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoEncodeH265FrameSizeKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH265FrameSizeKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265FrameSizeKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265FrameSizeKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265FrameSizeKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
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.
-