H.264-specific per-layer rate control parameters must be specified by adding a VkVideoEncodeH264RateControlLayerInfoEXT 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.264 session.
sType must be STRUCTURE_TYPE_VIDEO_ENCODE_H264_RATE_CONTROL_LAYER_INFO_EXTminQp must be a valid VkVideoEncodeH264QpEXT structuremaxQp must be a valid VkVideoEncodeH264QpEXT structuremaxFrameSize must be a valid VkVideoEncodeH264FrameSizeEXT structureVkVideoEncodeH264FrameSizeEXT, VkVideoEncodeH264QpEXT
struct VkVideoEncodeH264RateControlLayerInfoEXT {
VkStructureType sType;
void const * pNext;
VkBool32 useMinQp;
VkVideoEncodeH264QpEXT minQp;
VkBool32 useMaxQp;
VkVideoEncodeH264QpEXT maxQp;
VkBool32 useMaxFrameSize;
VkVideoEncodeH264FrameSizeEXT 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 | VkVideoEncodeH264RateControlLayerInfoEXT(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkVideoEncodeH264RateControlLayerInfoEXT | |
| public static VkVideoEncodeH264RateControlLayerInfoEXT. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH264RateControlLayerInfoEXT | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoEncodeH264RateControlLayerInfoEXT. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected VkVideoEncodeH264RateControlLayerInfoEXT | 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 VkVideoEncodeH264RateControlLayerInfoEXT | |
| public static VkVideoEncodeH264RateControlLayerInfoEXT | create(long address)
Returns a new |
| public static VkVideoEncodeH264RateControlLayerInfoEXT. | create(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH264RateControlLayerInfoEXT. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkVideoEncodeH264RateControlLayerInfoEXT | |
| public static VkVideoEncodeH264RateControlLayerInfoEXT. | |
| public static VkVideoEncodeH264RateControlLayerInfoEXT | |
| public static VkVideoEncodeH264RateControlLayerInfoEXT. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkVideoEncodeH264RateControlLayerInfoEXT | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkVideoEncodeH264RateControlLayerInfoEXT. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public VkVideoEncodeH264FrameSizeEXT | |
| public VkVideoEncodeH264RateControlLayerInfoEXT | maxFrameSize(VkVideoEncodeH264FrameSizeEXT value)
Copies the specified |
| public VkVideoEncodeH264RateControlLayerInfoEXT | maxFrameSize(Consumer<VkVideoEncodeH264FrameSizeEXT> consumer)
Passes the |
| public VkVideoEncodeH264QpEXT | maxQp()
provides the upper bound on the QP values for each picture type, to be used in rate control calculations. |
| public VkVideoEncodeH264RateControlLayerInfoEXT | |
| public VkVideoEncodeH264RateControlLayerInfoEXT | |
| public VkVideoEncodeH264QpEXT | minQp()
provides the lower bound on the QP values for each picture type, to be used in rate control calculations. |
| public VkVideoEncodeH264RateControlLayerInfoEXT | |
| public VkVideoEncodeH264RateControlLayerInfoEXT | |
| public static VkVideoEncodeH264FrameSizeEXT | |
| public static void | |
| public static VkVideoEncodeH264QpEXT | |
| public static void | |
| public static VkVideoEncodeH264QpEXT | |
| 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 VkVideoEncodeH264RateControlLayerInfoEXT | |
| public VkVideoEncodeH264RateControlLayerInfoEXT | set(int sType, long pNext, boolean useMinQp, VkVideoEncodeH264QpEXT minQp, boolean useMaxQp, VkVideoEncodeH264QpEXT maxQp, boolean useMaxFrameSize, VkVideoEncodeH264FrameSizeEXT maxFrameSize)
Initializes this struct with the specified values. |
| public VkVideoEncodeH264RateControlLayerInfoEXT | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public int | |
| public VkVideoEncodeH264RateControlLayerInfoEXT | |
| public VkVideoEncodeH264RateControlLayerInfoEXT | sType$Default()
Sets the |
| public boolean | useMaxFrameSize()
indicates whether the values within |
| public VkVideoEncodeH264RateControlLayerInfoEXT | |
| public boolean | |
| public VkVideoEncodeH264RateControlLayerInfoEXT | |
| public boolean | |
| public VkVideoEncodeH264RateControlLayerInfoEXT |