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.
sType must be STRUCTURE_TYPE_VIDEO_ENCODE_H265_RATE_CONTROL_LAYER_INFO_EXTminQp must be a valid VkVideoEncodeH265QpEXT structuremaxQp must be a valid VkVideoEncodeH265QpEXT structuremaxFrameSize must be a valid VkVideoEncodeH265FrameSizeEXT structureVkVideoEncodeH265FrameSizeEXT, VkVideoEncodeH265QpEXT
struct VkVideoEncodeH265RateControlLayerInfoEXT {
VkStructureType sType;
void const * pNext;
VkBool32 useMinQp;
VkVideoEncodeH265QpEXT minQp;
VkBool32 useMaxQp;
VkVideoEncodeH265QpEXT maxQp;
VkBool32 useMaxFrameSize;
VkVideoEncodeH265FrameSizeEXT maxFrameSize;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field 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. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkVideoEncodeH265RateControlLayerInfoEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkVideoEncodeH265RateControlLayerInfoEXT | |
| public static VkVideoEncodeH265RateControlLayerInfoEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH265RateControlLayerInfoEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoEncodeH265RateControlLayerInfoEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| 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. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkVideoEncodeH265RateControlLayerInfoEXT | |
| public static VkVideoEncodeH265RateControlLayerInfoEXT | create(long address)
Returns a new |
| public static VkVideoEncodeH265RateControlLayerInfoEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH265RateControlLayerInfoEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVideoEncodeH265RateControlLayerInfoEXT | |
| public static VkVideoEncodeH265RateControlLayerInfoEXT. | |
| public static VkVideoEncodeH265RateControlLayerInfoEXT | |
| public static VkVideoEncodeH265RateControlLayerInfoEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH265RateControlLayerInfoEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoEncodeH265RateControlLayerInfoEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public VkVideoEncodeH265FrameSizeEXT | |
| public VkVideoEncodeH265RateControlLayerInfoEXT | maxFrameSize(VkVideoEncodeH265FrameSizeEXT value)
Copies the specified |
| public VkVideoEncodeH265RateControlLayerInfoEXT | maxFrameSize(Consumer<VkVideoEncodeH265FrameSizeEXT> consumer)
Passes the |
| public VkVideoEncodeH265QpEXT | maxQp()
provides the upper bound on the QP values for each picture type, to be used in rate control calculations. |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| public VkVideoEncodeH265QpEXT | minQp()
provides the lower bound on the QP values for each picture type, to be used in rate control calculations. |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| public static VkVideoEncodeH265FrameSizeEXT | |
| public static void | |
| public static VkVideoEncodeH265QpEXT | |
| public static void | |
| public static VkVideoEncodeH265QpEXT | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public long | |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| 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 structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| public VkVideoEncodeH265RateControlLayerInfoEXT | sType$Default()
Sets the |
| public boolean | useMaxFrameSize()
indicates whether the values within |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| public boolean | |
| public VkVideoEncodeH265RateControlLayerInfoEXT | |
| public boolean | |
| public VkVideoEncodeH265RateControlLayerInfoEXT |