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