Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkVideoEncodeH265RateControlLayerInfoEXT

extends Struct<VkVideoEncodeH265RateControlLayerInfoEXT>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing H.265 per-layer rate control parameters.
Description

H.265-specific per-layer rate control parameters must be specified by adding a VkVideoEncodeH265RateControlLayerInfoEXT structure to the pNext chain of each VkVideoEncodeRateControlLayerInfoKHR structure in a call to CmdControlVideoCodingKHR command, when the command buffer context has an active video encode H.265 session.

Valid Usage (Implicit)
See Also

VkVideoEncodeH265FrameSizeEXT, VkVideoEncodeH265QpEXT

Layout


struct VkVideoEncodeH265RateControlLayerInfoEXT {
    VkStructureType sType;
    void const * pNext;
    VkBool32 useMinQp;
    VkVideoEncodeH265QpEXT minQp;
    VkBool32 useMaxQp;
    VkVideoEncodeH265QpEXT maxQp;
    VkBool32 useMaxFrameSize;
    VkVideoEncodeH265FrameSizeEXT maxFrameSize;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
MAXFRAMESIZE

The struct member offsets.

public static final int
MAXQP

The struct member offsets.

public static final int
MINQP

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
USEMAXFRAMESIZE

The struct member offsets.

public static final int
USEMAXQP

The struct member offsets.

public static final int
USEMINQP

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkVideoEncodeH265RateControlLayerInfoEXT(ByteBuffer container)

Creates a VkVideoEncodeH265RateControlLayerInfoEXT instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkVideoEncodeH265RateControlLayerInfoEXT
calloc()

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT instance allocated with memCalloc.

public static VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT.Buffer instance allocated with memCalloc.

public static VkVideoEncodeH265RateControlLayerInfoEXT
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

protected VkVideoEncodeH265RateControlLayerInfoEXT
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkVideoEncodeH265RateControlLayerInfoEXT
create()

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT instance allocated with BufferUtils.

public static VkVideoEncodeH265RateControlLayerInfoEXT
create(long address)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT instance for the specified memory address.

public static VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT.Buffer instance allocated with BufferUtils.

public static VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkVideoEncodeH265RateControlLayerInfoEXT.Buffer instance at the specified memory.

public static VkVideoEncodeH265RateControlLayerInfoEXT
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static VkVideoEncodeH265RateControlLayerInfoEXT
malloc()

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT instance allocated with memAlloc.

public static VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT.Buffer instance allocated with memAlloc.

public static VkVideoEncodeH265RateControlLayerInfoEXT
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT instance allocated on the specified MemoryStack.

public static VkVideoEncodeH265RateControlLayerInfoEXT.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkVideoEncodeH265RateControlLayerInfoEXT.Buffer instance allocated on the specified MemoryStack.

public VkVideoEncodeH265FrameSizeEXT
maxFrameSize()

provides the upper bound on the encoded frame size for each picture type.

public VkVideoEncodeH265RateControlLayerInfoEXT
public VkVideoEncodeH265RateControlLayerInfoEXT
maxFrameSize(Consumer<VkVideoEncodeH265FrameSizeEXT> consumer)

Passes the maxFrameSize field to the specified Consumer.

public VkVideoEncodeH265QpEXT
maxQp()

provides the upper bound on the QP values for each picture type, to be used in rate control calculations.

public VkVideoEncodeH265RateControlLayerInfoEXT
maxQp(VkVideoEncodeH265QpEXT value)

Copies the specified VkVideoEncodeH265QpEXT to the maxQp field.

public VkVideoEncodeH265RateControlLayerInfoEXT
maxQp(Consumer<VkVideoEncodeH265QpEXT> consumer)

Passes the maxQp field to the specified Consumer.

public VkVideoEncodeH265QpEXT
minQp()

provides the lower bound on the QP values for each picture type, to be used in rate control calculations.

public VkVideoEncodeH265RateControlLayerInfoEXT
minQp(VkVideoEncodeH265QpEXT value)

Copies the specified VkVideoEncodeH265QpEXT to the minQp field.

public VkVideoEncodeH265RateControlLayerInfoEXT
minQp(Consumer<VkVideoEncodeH265QpEXT> consumer)

Passes the minQp field to the specified Consumer.

public static VkVideoEncodeH265FrameSizeEXT
nmaxFrameSize(long struct)

Unsafe version of maxFrameSize.

public static void
nmaxFrameSize(long struct, VkVideoEncodeH265FrameSizeEXT value)

Unsafe version of maxFrameSize.

public static VkVideoEncodeH265QpEXT
nmaxQp(long struct)

Unsafe version of maxQp.

public static void
nmaxQp(long struct, VkVideoEncodeH265QpEXT value)

Unsafe version of maxQp.

public static VkVideoEncodeH265QpEXT
nminQp(long struct)

Unsafe version of minQp.

public static void
nminQp(long struct, VkVideoEncodeH265QpEXT value)

Unsafe version of minQp.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
nuseMaxFrameSize(long struct)

Unsafe version of useMaxFrameSize.

public static void
nuseMaxFrameSize(long struct, int value)

Unsafe version of useMaxFrameSize.

public static int
nuseMaxQp(long struct)

Unsafe version of useMaxQp.

public static void
nuseMaxQp(long struct, int value)

Unsafe version of useMaxQp.

public static int
nuseMinQp(long struct)

Unsafe version of useMinQp.

public static void
nuseMinQp(long struct, int value)

Unsafe version of useMinQp.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkVideoEncodeH265RateControlLayerInfoEXT
pNext(long value)

Sets the specified value to the pNext field.

public VkVideoEncodeH265RateControlLayerInfoEXT
set(int sType, long pNext, boolean useMinQp, VkVideoEncodeH265QpEXT minQp, boolean useMaxQp, VkVideoEncodeH265QpEXT maxQp, boolean useMaxFrameSize, VkVideoEncodeH265FrameSizeEXT maxFrameSize)

Initializes this struct with the specified values.

public VkVideoEncodeH265RateControlLayerInfoEXT

Returns:

this struct
set
(VkVideoEncodeH265RateControlLayerInfoEXT
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkVideoEncodeH265RateControlLayerInfoEXT
sType(int value)

Sets the specified value to the sType field.

public VkVideoEncodeH265RateControlLayerInfoEXT
public boolean
useMaxFrameSize()

indicates whether the values within maxFrameSize should be used by the implementation.

public VkVideoEncodeH265RateControlLayerInfoEXT
useMaxFrameSize(boolean value)

Sets the specified value to the useMaxFrameSize field.

public boolean
useMaxQp()

indicates whether the values within maxQp should be used by the implementation.

public VkVideoEncodeH265RateControlLayerInfoEXT
useMaxQp(boolean value)

Sets the specified value to the useMaxQp field.

public boolean
useMinQp()

indicates whether the values within minQp should be used by the implementation.

public VkVideoEncodeH265RateControlLayerInfoEXT
useMinQp(boolean value)

Sets the specified value to the useMinQp field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate