Package org.lwjgl.vulkan
Class VkVideoEncodeH265QpEXT
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkVideoEncodeH265QpEXT
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkVideoEncodeH265QpEXT extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStructure describing H.265 QP values per picture type.See Also
VkVideoEncodeH265RateControlLayerInfoEXTLayout
struct VkVideoEncodeH265QpEXT { int32_tqpI(); int32_tqpP(); int32_tqpB(); }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkVideoEncodeH265QpEXT.BufferAn array ofVkVideoEncodeH265QpEXTstructs.
-
Constructor Summary
Constructors Constructor Description VkVideoEncodeH265QpEXT(java.nio.ByteBuffer container)Creates aVkVideoEncodeH265QpEXTinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkVideoEncodeH265QpEXTcalloc()Returns a newVkVideoEncodeH265QpEXTinstance allocated withmemCalloc.static VkVideoEncodeH265QpEXT.Buffercalloc(int capacity)Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated withmemCalloc.static VkVideoEncodeH265QpEXT.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265QpEXTcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265QpEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkVideoEncodeH265QpEXTcreate()Returns a newVkVideoEncodeH265QpEXTinstance allocated withBufferUtils.static VkVideoEncodeH265QpEXT.Buffercreate(int capacity)Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated withBufferUtils.static VkVideoEncodeH265QpEXTcreate(long address)Returns a newVkVideoEncodeH265QpEXTinstance for the specified memory address.static VkVideoEncodeH265QpEXT.Buffercreate(long address, int capacity)Create aVkVideoEncodeH265QpEXT.Bufferinstance at the specified memory.static VkVideoEncodeH265QpEXTcreateSafe(long address)static VkVideoEncodeH265QpEXT.BuffercreateSafe(long address, int capacity)static VkVideoEncodeH265QpEXTmalloc()Returns a newVkVideoEncodeH265QpEXTinstance allocated withmemAlloc.static VkVideoEncodeH265QpEXT.Buffermalloc(int capacity)Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated withmemAlloc.static VkVideoEncodeH265QpEXT.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated on the specifiedMemoryStack.static VkVideoEncodeH265QpEXTmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkVideoEncodeH265QpEXTinstance 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-frames.VkVideoEncodeH265QpEXTqpB(int value)Sets the specified value to theqpB()field.intqpI()the QP to be used for I-frames.VkVideoEncodeH265QpEXTqpI(int value)Sets the specified value to theqpI()field.intqpP()the QP to be used for P-frames.VkVideoEncodeH265QpEXTqpP(int value)Sets the specified value to theqpP()field.VkVideoEncodeH265QpEXTset(int qpI, int qpP, int qpB)Initializes this struct with the specified values.VkVideoEncodeH265QpEXTset(VkVideoEncodeH265QpEXT src)Copies the specified struct data to this struct.intsizeof()
-
-
-
Constructor Detail
-
VkVideoEncodeH265QpEXT
public VkVideoEncodeH265QpEXT(java.nio.ByteBuffer container)
Creates aVkVideoEncodeH265QpEXTinstance 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
-
qpI
public int qpI()
the QP to be used for I-frames.
-
qpP
public int qpP()
the QP to be used for P-frames.
-
qpB
public int qpB()
the QP to be used for B-frames.
-
qpI
public VkVideoEncodeH265QpEXT qpI(int value)
Sets the specified value to theqpI()field.
-
qpP
public VkVideoEncodeH265QpEXT qpP(int value)
Sets the specified value to theqpP()field.
-
qpB
public VkVideoEncodeH265QpEXT qpB(int value)
Sets the specified value to theqpB()field.
-
set
public VkVideoEncodeH265QpEXT set(int qpI, int qpP, int qpB)
Initializes this struct with the specified values.
-
set
public VkVideoEncodeH265QpEXT set(VkVideoEncodeH265QpEXT src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkVideoEncodeH265QpEXT malloc()
Returns a newVkVideoEncodeH265QpEXTinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkVideoEncodeH265QpEXT calloc()
Returns a newVkVideoEncodeH265QpEXTinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkVideoEncodeH265QpEXT create()
Returns a newVkVideoEncodeH265QpEXTinstance allocated withBufferUtils.
-
create
public static VkVideoEncodeH265QpEXT create(long address)
Returns a newVkVideoEncodeH265QpEXTinstance for the specified memory address.
-
createSafe
@Nullable public static VkVideoEncodeH265QpEXT createSafe(long address)
-
malloc
public static VkVideoEncodeH265QpEXT.Buffer malloc(int capacity)
Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265QpEXT.Buffer calloc(int capacity)
Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265QpEXT.Buffer create(int capacity)
Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeH265QpEXT.Buffer create(long address, int capacity)
Create aVkVideoEncodeH265QpEXT.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkVideoEncodeH265QpEXT.Buffer createSafe(long address, int capacity)
-
malloc
public static VkVideoEncodeH265QpEXT malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265QpEXTinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkVideoEncodeH265QpEXT calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265QpEXTinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeH265QpEXT.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkVideoEncodeH265QpEXT.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkVideoEncodeH265QpEXT.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
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.
-
-