Package org.lwjgl.vulkan
Class VkVideoEncodeH265QpKHR
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeH265QpKHR>
org.lwjgl.vulkan.VkVideoEncodeH265QpKHR
- All Implemented Interfaces:
AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265QpKHR
extends org.lwjgl.system.Struct<VkVideoEncodeH265QpKHR>
implements org.lwjgl.system.NativeResource
Structure describing H.265 QP values per picture type.
See Also
VkVideoEncodeH265QualityLevelPropertiesKHR, VkVideoEncodeH265RateControlLayerInfoKHR
Layout
struct VkVideoEncodeH265QpKHR {
int32_t qpI();
int32_t qpP();
int32_t qpB();
}-
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
ConstructorsConstructorDescriptionVkVideoEncodeH265QpKHR(ByteBuffer container) Creates aVkVideoEncodeH265QpKHRinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptionstatic VkVideoEncodeH265QpKHRcalloc()Returns a newVkVideoEncodeH265QpKHRinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated withmemCalloc.calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265QpKHRcalloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265QpKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265QpKHRcreate()Returns a newVkVideoEncodeH265QpKHRinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265QpKHRcreate(long address) Returns a newVkVideoEncodeH265QpKHRinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeH265QpKHR.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeH265QpKHRcreateSafe(long address) static @Nullable VkVideoEncodeH265QpKHR.BuffercreateSafe(long address, int capacity) static VkVideoEncodeH265QpKHRmalloc()Returns a newVkVideoEncodeH265QpKHRinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated withmemAlloc.malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265QpKHRmalloc(org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265QpKHRinstance allocated on the specifiedMemoryStack.static intnqpB(long struct) Unsafe version ofqpB().static voidnqpB(long struct, int value) Unsafe version ofqpB.static intnqpI(long struct) Unsafe version ofqpI().static voidnqpI(long struct, int value) Unsafe version ofqpI.static intnqpP(long struct) Unsafe version ofqpP().static voidnqpP(long struct, int value) Unsafe version ofqpP.intqpB()the QP to be used for B pictures.qpB(int value) Sets the specified value to theqpB()field.intqpI()the QP to be used for I pictures.qpI(int value) Sets the specified value to theqpI()field.intqpP()the QP to be used for P pictures.qpP(int value) Sets the specified value to theqpP()field.set(int qpI, int qpP, int qpB) 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. -
QPI
public static final int QPIThe struct member offsets. -
QPP
public static final int QPPThe struct member offsets. -
QPB
public static final int QPBThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeH265QpKHR
Creates aVkVideoEncodeH265QpKHRinstance 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<VkVideoEncodeH265QpKHR>
-
qpI
public int qpI()the QP to be used for I pictures. -
qpP
public int qpP()the QP to be used for P pictures. -
qpB
public int qpB()the QP to be used for B pictures. -
qpI
Sets the specified value to theqpI()field. -
qpP
Sets the specified value to theqpP()field. -
qpB
Sets the specified value to theqpB()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 newVkVideoEncodeH265QpKHRinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeH265QpKHRinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeH265QpKHRinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeH265QpKHRinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkVideoEncodeH265QpKHR.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
-
malloc
Returns a newVkVideoEncodeH265QpKHRinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeH265QpKHRinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265QpKHR.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265QpKHR.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack) Returns a newVkVideoEncodeH265QpKHR.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nqpI
public static int nqpI(long struct) Unsafe version ofqpI(). -
nqpP
public static int nqpP(long struct) Unsafe version ofqpP(). -
nqpB
public static int nqpB(long struct) Unsafe version ofqpB(). -
nqpI
public static void nqpI(long struct, int value) Unsafe version ofqpI. -
nqpP
public static void nqpP(long struct, int value) Unsafe version ofqpP. -
nqpB
public static void nqpB(long struct, int value) Unsafe version ofqpB.
-