Class KHRVideoEncodeQueue
VK_KHR_video_queue extension by adding common APIs specific to video encoding and thus enabling implementations to expose queue families supporting video encode operations.
More specifically, it adds video encode specific capabilities and a new command buffer command that allows recording video encode operations against a video session.
This extension is to be used in conjunction with other codec specific video encode extensions that enable encoding video sequences of specific video compression standards.
VK_KHR_video_encode_queue
- Name String
VK_KHR_video_encode_queue- Extension Type
- Device extension
- Registered Extension Number
- 300
- Revision
- 10
- Extension and Version Dependencies
VK_KHR_video_queueandVK_KHR_synchronization2- This is a provisional extension and must be used with caution. See the description of provisional header files for enablement and stability details.
- Contact
- Ahmed Abdelkhalek aabdelkh
Other Extension Metadata
- Last Modified Date
- 2023-07-19
- IP Status
- No known IP claims.
- Contributors
- Ahmed Abdelkhalek, AMD
- Damien Kessler, NVIDIA
- George Hao, AMD
- Jake Beju, AMD
- Peter Fang, AMD
- Piers Daniell, NVIDIA
- Srinath Kumarapuram, NVIDIA
- Thomas J. Meier, NVIDIA
- Tony Zlatinski, NVIDIA
- Ravi Chaudhary, NVIDIA
- Yang Liu, AMD
- Daniel Rakos, RasterGrid
- Ping Liu, Intel
- Aidan Fabius, Core Avionics & Industrial Inc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longExtendsVkAccessFlagBits2.static final longExtendsVkAccessFlagBits2.static final intExtendsVkBufferUsageFlagBits.static final intExtendsVkBufferUsageFlagBits.static final intExtendsVkResult.static final longExtendsVkFormatFeatureFlagBits2.static final longExtendsVkFormatFeatureFlagBits2.static final intExtendsVkFormatFeatureFlagBits.static final intExtendsVkFormatFeatureFlagBits.static final intExtendsVkImageLayout.static final intExtendsVkImageLayout.static final intExtendsVkImageLayout.static final intExtendsVkImageUsageFlagBits.static final intExtendsVkImageUsageFlagBits.static final intExtendsVkImageUsageFlagBits.static final StringThe extension name.static final intThe extension specification version.static final longExtendsVkPipelineStageFlagBits2.static final intExtendsVkQueryResultStatusKHR.static final intExtendsVkQueryType.static final intExtendsVkQueueFlagBits.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkStructureType.static final intExtendsVkVideoCodingControlFlagBitsKHR.static final intExtendsVkVideoCodingControlFlagBitsKHR.static final intVkVideoEncodeCapabilityFlagBitsKHR - Video encode capability flagsstatic final intVkVideoEncodeCapabilityFlagBitsKHR - Video encode capability flagsstatic final intVkVideoEncodeContentFlagBitsKHR - Video encode content flagsstatic final intVkVideoEncodeContentFlagBitsKHR - Video encode content flagsstatic final intVkVideoEncodeContentFlagBitsKHR - Video encode content flagsstatic final intVkVideoEncodeContentFlagBitsKHR - Video encode content flagsstatic final intVkVideoEncodeFeedbackFlagBitsKHR - Bits specifying queried video encode feedback valuesstatic final intVkVideoEncodeFeedbackFlagBitsKHR - Bits specifying queried video encode feedback valuesstatic final intVkVideoEncodeFeedbackFlagBitsKHR - Bits specifying queried video encode feedback valuesstatic final intVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesstatic final intVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesstatic final intVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesstatic final intVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesstatic final intVkVideoEncodeTuningModeKHR - Video encode tuning modestatic final intVkVideoEncodeTuningModeKHR - Video encode tuning modestatic final intVkVideoEncodeTuningModeKHR - Video encode tuning modestatic final intVkVideoEncodeTuningModeKHR - Video encode tuning modestatic final intVkVideoEncodeTuningModeKHR - Video encode tuning modestatic final intVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsstatic final intVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsstatic final intVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsstatic final intVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsstatic final intVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsstatic final intExtendsVkVideoSessionCreateFlagBitsKHR. -
Method Summary
Modifier and TypeMethodDescriptionstatic voidnvkCmdEncodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pEncodeInfo) Unsafe version of:CmdEncodeVideoKHRstatic intnvkGetEncodedVideoSessionParametersKHR(org.lwjgl.vulkan.VkDevice device, long pVideoSessionParametersInfo, long pFeedbackInfo, long pDataSize, long pData) Unsafe version of:GetEncodedVideoSessionParametersKHRstatic intnvkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pQualityLevelInfo, long pQualityLevelProperties) Unsafe version of:GetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHRstatic voidvkCmdEncodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkVideoEncodeInfoKHR pEncodeInfo) Encode operation for bitstream generation.static intvkGetEncodedVideoSessionParametersKHR(org.lwjgl.vulkan.VkDevice device, VkVideoEncodeSessionParametersGetInfoKHR pVideoSessionParametersInfo, VkVideoEncodeSessionParametersFeedbackInfoKHR pFeedbackInfo, org.lwjgl.PointerBuffer pDataSize, ByteBuffer pData) Get encoded parameter sets from a video session parameters object.static intvkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR pQualityLevelInfo, VkVideoEncodeQualityLevelPropertiesKHR pQualityLevelProperties) Query video encode quality level properties.
-
Field Details
-
VK_KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSION
public static final int VK_KHR_VIDEO_ENCODE_QUEUE_SPEC_VERSIONThe extension specification version.- See Also:
-
VK_KHR_VIDEO_ENCODE_QUEUE_EXTENSION_NAME
The extension name.- See Also:
-
VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHR
public static final long VK_PIPELINE_STAGE_2_VIDEO_ENCODE_BIT_KHRExtendsVkPipelineStageFlagBits2.- See Also:
-
VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHR
public static final long VK_ACCESS_2_VIDEO_ENCODE_READ_BIT_KHRExtendsVkAccessFlagBits2.Enum values:
- See Also:
-
VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHR
public static final long VK_ACCESS_2_VIDEO_ENCODE_WRITE_BIT_KHRExtendsVkAccessFlagBits2.Enum values:
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHR
public static final int VK_STRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
public static final int VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHRExtendsVkStructureType.Enum values:
STRUCTURE_TYPE_VIDEO_ENCODE_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_RATE_CONTROL_LAYER_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_CAPABILITIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_USAGE_INFO_KHRSTRUCTURE_TYPE_QUERY_POOL_VIDEO_ENCODE_FEEDBACK_CREATE_INFO_KHRSTRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_PROPERTIES_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_QUALITY_LEVEL_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_GET_INFO_KHRSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_PARAMETERS_FEEDBACK_INFO_KHR
- See Also:
-
VK_QUEUE_VIDEO_ENCODE_BIT_KHR
public static final int VK_QUEUE_VIDEO_ENCODE_BIT_KHRExtendsVkQueueFlagBits.- See Also:
-
VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_BIT_KHR
public static final int VK_VIDEO_CODING_CONTROL_ENCODE_RATE_CONTROL_BIT_KHRExtendsVkVideoCodingControlFlagBitsKHR.Enum values:
- See Also:
-
VK_VIDEO_CODING_CONTROL_ENCODE_QUALITY_LEVEL_BIT_KHR
public static final int VK_VIDEO_CODING_CONTROL_ENCODE_QUALITY_LEVEL_BIT_KHRExtendsVkVideoCodingControlFlagBitsKHR.Enum values:
- See Also:
-
VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHR
public static final int VK_BUFFER_USAGE_VIDEO_ENCODE_DST_BIT_KHRExtendsVkBufferUsageFlagBits.Enum values:
- See Also:
-
VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHR
public static final int VK_BUFFER_USAGE_VIDEO_ENCODE_SRC_BIT_KHRExtendsVkBufferUsageFlagBits.Enum values:
- See Also:
-
VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHR
public static final int VK_IMAGE_USAGE_VIDEO_ENCODE_DST_BIT_KHRExtendsVkImageUsageFlagBits.Enum values:
- See Also:
-
VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHR
public static final int VK_IMAGE_USAGE_VIDEO_ENCODE_SRC_BIT_KHRExtendsVkImageUsageFlagBits.Enum values:
- See Also:
-
VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHR
public static final int VK_IMAGE_USAGE_VIDEO_ENCODE_DPB_BIT_KHRExtendsVkImageUsageFlagBits.Enum values:
- See Also:
-
VK_FORMAT_FEATURE_VIDEO_ENCODE_INPUT_BIT_KHR
public static final int VK_FORMAT_FEATURE_VIDEO_ENCODE_INPUT_BIT_KHRExtendsVkFormatFeatureFlagBits.Enum values:
- See Also:
-
VK_FORMAT_FEATURE_VIDEO_ENCODE_DPB_BIT_KHR
public static final int VK_FORMAT_FEATURE_VIDEO_ENCODE_DPB_BIT_KHRExtendsVkFormatFeatureFlagBits.Enum values:
- See Also:
-
VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_PARAMETER_OPTIMIZATIONS_BIT_KHR
public static final int VK_VIDEO_SESSION_CREATE_ALLOW_ENCODE_PARAMETER_OPTIMIZATIONS_BIT_KHRExtendsVkVideoSessionCreateFlagBitsKHR.- See Also:
-
VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHR
public static final int VK_IMAGE_LAYOUT_VIDEO_ENCODE_DST_KHRExtendsVkImageLayout.Enum values:
- See Also:
-
VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHR
public static final int VK_IMAGE_LAYOUT_VIDEO_ENCODE_SRC_KHRExtendsVkImageLayout.Enum values:
- See Also:
-
VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHR
public static final int VK_IMAGE_LAYOUT_VIDEO_ENCODE_DPB_KHRExtendsVkImageLayout.Enum values:
- See Also:
-
VK_QUERY_TYPE_VIDEO_ENCODE_FEEDBACK_KHR
public static final int VK_QUERY_TYPE_VIDEO_ENCODE_FEEDBACK_KHRExtendsVkQueryType.- See Also:
-
VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHR
public static final int VK_QUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHRExtendsVkQueryResultStatusKHR.- See Also:
-
VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHR
public static final int VK_ERROR_INVALID_VIDEO_STD_PARAMETERS_KHRExtendsVkResult.- See Also:
-
VK_FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHR
public static final long VK_FORMAT_FEATURE_2_VIDEO_ENCODE_INPUT_BIT_KHRExtendsVkFormatFeatureFlagBits2.Enum values:
- See Also:
-
VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHR
public static final long VK_FORMAT_FEATURE_2_VIDEO_ENCODE_DPB_BIT_KHRExtendsVkFormatFeatureFlagBits2.Enum values:
- See Also:
-
VK_VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHR
public static final int VK_VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHRVkVideoEncodeCapabilityFlagBitsKHR - Video encode capability flagsDescription
VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHRindicates that the implementation supports the use ofVkVideoEncodeInfoKHR::precedingExternallyEncodedBytes.VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHRindicates that the implementation is able to detect and report when the destination video bitstream buffer range provided by the application is not sufficiently large to fit the encoded bitstream data produced by a video encode operation by reporting theQUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHRquery result status code.Note
Some implementations may not be able to reliably detect insufficient bitstream buffer range conditions in all situations. Such implementations will not report support for the
VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHRencode capability flag for the video profile, but may still report theQUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHRquery result status code in certain cases. Applications should always check for the specific query result status codeQUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHReven when this encode capability flag is not supported by the implementation for the video profile in question. However, applications must not assume that a different negative query result status code indicating an unsuccessful completion of a video encode operation is not the result of an insufficient bitstream buffer condition unless this encode capability flag is supported.
- See Also:
-
VK_VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHR
public static final int VK_VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHRVkVideoEncodeCapabilityFlagBitsKHR - Video encode capability flagsDescription
VIDEO_ENCODE_CAPABILITY_PRECEDING_EXTERNALLY_ENCODED_BYTES_BIT_KHRindicates that the implementation supports the use ofVkVideoEncodeInfoKHR::precedingExternallyEncodedBytes.VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHRindicates that the implementation is able to detect and report when the destination video bitstream buffer range provided by the application is not sufficiently large to fit the encoded bitstream data produced by a video encode operation by reporting theQUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHRquery result status code.Note
Some implementations may not be able to reliably detect insufficient bitstream buffer range conditions in all situations. Such implementations will not report support for the
VIDEO_ENCODE_CAPABILITY_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_DETECTION_BIT_KHRencode capability flag for the video profile, but may still report theQUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHRquery result status code in certain cases. Applications should always check for the specific query result status codeQUERY_RESULT_STATUS_INSUFFICIENT_BITSTREAM_BUFFER_RANGE_KHReven when this encode capability flag is not supported by the implementation for the video profile in question. However, applications must not assume that a different negative query result status code indicating an unsuccessful completion of a video encode operation is not the result of an insufficient bitstream buffer condition unless this encode capability flag is supported.
- See Also:
-
VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHR
public static final int VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHRVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesDescription
VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHRspecifies the use of implementation-specific rate control.VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHRspecifies that rate control is disabled and any quality control parameters for the encoding are provided on a per-picture basis. In this mode implementations will encode pictures independently of the output bitrate of prior video encode operations. When using an H.264 encode profile, implementations will use the QP values specified in theVkVideoEncodeH264RateControlInfoEXTstructure for the encoded picture. When using an H.265 encode profile, implementations will use the QP values specified in theVkVideoEncodeH265RateControlInfoEXTstructure for the encoded picture.VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHRspecifies the use of constant bitrate rate control mode.VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHRspecifies the use of variable bitrate rate control mode.
See Also
VkVideoEncodeQualityLevelPropertiesKHR,VkVideoEncodeRateControlInfoKHR- See Also:
-
VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHR
public static final int VK_VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHRVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesDescription
VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHRspecifies the use of implementation-specific rate control.VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHRspecifies that rate control is disabled and any quality control parameters for the encoding are provided on a per-picture basis. In this mode implementations will encode pictures independently of the output bitrate of prior video encode operations. When using an H.264 encode profile, implementations will use the QP values specified in theVkVideoEncodeH264RateControlInfoEXTstructure for the encoded picture. When using an H.265 encode profile, implementations will use the QP values specified in theVkVideoEncodeH265RateControlInfoEXTstructure for the encoded picture.VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHRspecifies the use of constant bitrate rate control mode.VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHRspecifies the use of variable bitrate rate control mode.
See Also
VkVideoEncodeQualityLevelPropertiesKHR,VkVideoEncodeRateControlInfoKHR- See Also:
-
VK_VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHR
public static final int VK_VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHRVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesDescription
VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHRspecifies the use of implementation-specific rate control.VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHRspecifies that rate control is disabled and any quality control parameters for the encoding are provided on a per-picture basis. In this mode implementations will encode pictures independently of the output bitrate of prior video encode operations. When using an H.264 encode profile, implementations will use the QP values specified in theVkVideoEncodeH264RateControlInfoEXTstructure for the encoded picture. When using an H.265 encode profile, implementations will use the QP values specified in theVkVideoEncodeH265RateControlInfoEXTstructure for the encoded picture.VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHRspecifies the use of constant bitrate rate control mode.VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHRspecifies the use of variable bitrate rate control mode.
See Also
VkVideoEncodeQualityLevelPropertiesKHR,VkVideoEncodeRateControlInfoKHR- See Also:
-
VK_VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHR
public static final int VK_VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHRVkVideoEncodeRateControlModeFlagBitsKHR - Video encode rate control modesDescription
VIDEO_ENCODE_RATE_CONTROL_MODE_DEFAULT_KHRspecifies the use of implementation-specific rate control.VIDEO_ENCODE_RATE_CONTROL_MODE_DISABLED_BIT_KHRspecifies that rate control is disabled and any quality control parameters for the encoding are provided on a per-picture basis. In this mode implementations will encode pictures independently of the output bitrate of prior video encode operations. When using an H.264 encode profile, implementations will use the QP values specified in theVkVideoEncodeH264RateControlInfoEXTstructure for the encoded picture. When using an H.265 encode profile, implementations will use the QP values specified in theVkVideoEncodeH265RateControlInfoEXTstructure for the encoded picture.VIDEO_ENCODE_RATE_CONTROL_MODE_CBR_BIT_KHRspecifies the use of constant bitrate rate control mode.VIDEO_ENCODE_RATE_CONTROL_MODE_VBR_BIT_KHRspecifies the use of variable bitrate rate control mode.
See Also
VkVideoEncodeQualityLevelPropertiesKHR,VkVideoEncodeRateControlInfoKHR- See Also:
-
VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHR
public static final int VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHRVkVideoEncodeFeedbackFlagBitsKHR - Bits specifying queried video encode feedback valuesDescription
VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHRspecifies that queries managed by the pool will capture the byte offset of the bitstream data written by the video encode operation to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBufferrelative to the offset specified inVkVideoEncodeInfoKHR::dstBufferOffset.VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHRspecifies that queries managed by the pool will capture the number of bytes written by the video encode operation to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBuffer.VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHRspecifies that queries managed by the pool will capture a boolean value indicating that the data written to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBuffercontains overridden parameters.
When retrieving the results of video encode feedback queries, the values corresponding to each enabled video encode feedback are written in the order of the bits defined above, followed by an optional value indicating availability or result status if
QUERY_RESULT_WITH_AVAILABILITY_BITorQUERY_RESULT_WITH_STATUS_BIT_KHRis specified, respectively.- See Also:
-
VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHR
public static final int VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHRVkVideoEncodeFeedbackFlagBitsKHR - Bits specifying queried video encode feedback valuesDescription
VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHRspecifies that queries managed by the pool will capture the byte offset of the bitstream data written by the video encode operation to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBufferrelative to the offset specified inVkVideoEncodeInfoKHR::dstBufferOffset.VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHRspecifies that queries managed by the pool will capture the number of bytes written by the video encode operation to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBuffer.VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHRspecifies that queries managed by the pool will capture a boolean value indicating that the data written to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBuffercontains overridden parameters.
When retrieving the results of video encode feedback queries, the values corresponding to each enabled video encode feedback are written in the order of the bits defined above, followed by an optional value indicating availability or result status if
QUERY_RESULT_WITH_AVAILABILITY_BITorQUERY_RESULT_WITH_STATUS_BIT_KHRis specified, respectively.- See Also:
-
VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHR
public static final int VK_VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHRVkVideoEncodeFeedbackFlagBitsKHR - Bits specifying queried video encode feedback valuesDescription
VIDEO_ENCODE_FEEDBACK_BITSTREAM_BUFFER_OFFSET_BIT_KHRspecifies that queries managed by the pool will capture the byte offset of the bitstream data written by the video encode operation to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBufferrelative to the offset specified inVkVideoEncodeInfoKHR::dstBufferOffset.VIDEO_ENCODE_FEEDBACK_BITSTREAM_BYTES_WRITTEN_BIT_KHRspecifies that queries managed by the pool will capture the number of bytes written by the video encode operation to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBuffer.VIDEO_ENCODE_FEEDBACK_BITSTREAM_HAS_OVERRIDES_BIT_KHRspecifies that queries managed by the pool will capture a boolean value indicating that the data written to the bitstream buffer specified inVkVideoEncodeInfoKHR::dstBuffercontains overridden parameters.
When retrieving the results of video encode feedback queries, the values corresponding to each enabled video encode feedback are written in the order of the bits defined above, followed by an optional value indicating availability or result status if
QUERY_RESULT_WITH_AVAILABILITY_BITorQUERY_RESULT_WITH_STATUS_BIT_KHRis specified, respectively.- See Also:
-
VK_VIDEO_ENCODE_USAGE_DEFAULT_KHR
public static final int VK_VIDEO_ENCODE_USAGE_DEFAULT_KHRVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsDescription
VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHRspecifies that video encoding is intended to be used in conjunction with video decoding to transcode a video bitstream with the same and/or different codecs.VIDEO_ENCODE_USAGE_STREAMING_BIT_KHRspecifies that video encoding is intended to be used to produce a video bitstream that is expected to be sent as a continuous flow over network.VIDEO_ENCODE_USAGE_RECORDING_BIT_KHRspecifies that video encoding is intended to be used for real-time recording for offline consumption.VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHRspecifies that video encoding is intended to be used in a video conferencing scenario.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular use case.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHR
public static final int VK_VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHRVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsDescription
VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHRspecifies that video encoding is intended to be used in conjunction with video decoding to transcode a video bitstream with the same and/or different codecs.VIDEO_ENCODE_USAGE_STREAMING_BIT_KHRspecifies that video encoding is intended to be used to produce a video bitstream that is expected to be sent as a continuous flow over network.VIDEO_ENCODE_USAGE_RECORDING_BIT_KHRspecifies that video encoding is intended to be used for real-time recording for offline consumption.VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHRspecifies that video encoding is intended to be used in a video conferencing scenario.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular use case.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_USAGE_STREAMING_BIT_KHR
public static final int VK_VIDEO_ENCODE_USAGE_STREAMING_BIT_KHRVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsDescription
VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHRspecifies that video encoding is intended to be used in conjunction with video decoding to transcode a video bitstream with the same and/or different codecs.VIDEO_ENCODE_USAGE_STREAMING_BIT_KHRspecifies that video encoding is intended to be used to produce a video bitstream that is expected to be sent as a continuous flow over network.VIDEO_ENCODE_USAGE_RECORDING_BIT_KHRspecifies that video encoding is intended to be used for real-time recording for offline consumption.VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHRspecifies that video encoding is intended to be used in a video conferencing scenario.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular use case.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_USAGE_RECORDING_BIT_KHR
public static final int VK_VIDEO_ENCODE_USAGE_RECORDING_BIT_KHRVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsDescription
VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHRspecifies that video encoding is intended to be used in conjunction with video decoding to transcode a video bitstream with the same and/or different codecs.VIDEO_ENCODE_USAGE_STREAMING_BIT_KHRspecifies that video encoding is intended to be used to produce a video bitstream that is expected to be sent as a continuous flow over network.VIDEO_ENCODE_USAGE_RECORDING_BIT_KHRspecifies that video encoding is intended to be used for real-time recording for offline consumption.VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHRspecifies that video encoding is intended to be used in a video conferencing scenario.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular use case.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHR
public static final int VK_VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHRVkVideoEncodeUsageFlagBitsKHR - Video encode usage flagsDescription
VIDEO_ENCODE_USAGE_TRANSCODING_BIT_KHRspecifies that video encoding is intended to be used in conjunction with video decoding to transcode a video bitstream with the same and/or different codecs.VIDEO_ENCODE_USAGE_STREAMING_BIT_KHRspecifies that video encoding is intended to be used to produce a video bitstream that is expected to be sent as a continuous flow over network.VIDEO_ENCODE_USAGE_RECORDING_BIT_KHRspecifies that video encoding is intended to be used for real-time recording for offline consumption.VIDEO_ENCODE_USAGE_CONFERENCING_BIT_KHRspecifies that video encoding is intended to be used in a video conferencing scenario.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular use case.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHR
public static final int VK_VIDEO_ENCODE_CONTENT_DEFAULT_KHRVkVideoEncodeContentFlagBitsKHR - Video encode content flagsDescription
VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHRspecifies that video encoding is intended to be used to encode camera content.VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHRspecifies that video encoding is intended to be used to encode desktop content.VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHRspecified that video encoding is intended to be used to encode rendered (e.g. game) content.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular content type.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHR
public static final int VK_VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHRVkVideoEncodeContentFlagBitsKHR - Video encode content flagsDescription
VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHRspecifies that video encoding is intended to be used to encode camera content.VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHRspecifies that video encoding is intended to be used to encode desktop content.VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHRspecified that video encoding is intended to be used to encode rendered (e.g. game) content.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular content type.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHR
public static final int VK_VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHRVkVideoEncodeContentFlagBitsKHR - Video encode content flagsDescription
VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHRspecifies that video encoding is intended to be used to encode camera content.VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHRspecifies that video encoding is intended to be used to encode desktop content.VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHRspecified that video encoding is intended to be used to encode rendered (e.g. game) content.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular content type.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHR
public static final int VK_VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHRVkVideoEncodeContentFlagBitsKHR - Video encode content flagsDescription
VIDEO_ENCODE_CONTENT_CAMERA_BIT_KHRspecifies that video encoding is intended to be used to encode camera content.VIDEO_ENCODE_CONTENT_DESKTOP_BIT_KHRspecifies that video encoding is intended to be used to encode desktop content.VIDEO_ENCODE_CONTENT_RENDERED_BIT_KHRspecified that video encoding is intended to be used to encode rendered (e.g. game) content.
Note
There are no restrictions on the combination of bits that can be specified by the application. However, applications should use reasonable combinations in order for the implementation to be able to select the most appropriate mode of operation for the particular content type.
Enum values:
- See Also:
-
VK_VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHR
public static final int VK_VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHRVkVideoEncodeTuningModeKHR - Video encode tuning modeDescription
VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHRspecifies the default tuning mode.VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHRspecifies that video encoding is tuned for high quality. When using this tuning mode, the implementation may compromise the latency of video encoding operations to improve quality.VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHRspecifies that video encoding is tuned for low latency. When using this tuning mode, the implementation may compromise quality to increase the performance and lower the latency of video encode operations.VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHRspecifies that video encoding is tuned for ultra-low latency. When using this tuning mode, the implementation may compromise quality to maximize the performance and minimize the latency of video encoding operations.VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHRspecifies that video encoding is tuned for lossless encoding. When using this tuning mode, video encode operations produce lossless output.
See Also
- See Also:
-
VK_VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHR
public static final int VK_VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHRVkVideoEncodeTuningModeKHR - Video encode tuning modeDescription
VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHRspecifies the default tuning mode.VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHRspecifies that video encoding is tuned for high quality. When using this tuning mode, the implementation may compromise the latency of video encoding operations to improve quality.VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHRspecifies that video encoding is tuned for low latency. When using this tuning mode, the implementation may compromise quality to increase the performance and lower the latency of video encode operations.VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHRspecifies that video encoding is tuned for ultra-low latency. When using this tuning mode, the implementation may compromise quality to maximize the performance and minimize the latency of video encoding operations.VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHRspecifies that video encoding is tuned for lossless encoding. When using this tuning mode, video encode operations produce lossless output.
See Also
- See Also:
-
VK_VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHR
public static final int VK_VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHRVkVideoEncodeTuningModeKHR - Video encode tuning modeDescription
VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHRspecifies the default tuning mode.VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHRspecifies that video encoding is tuned for high quality. When using this tuning mode, the implementation may compromise the latency of video encoding operations to improve quality.VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHRspecifies that video encoding is tuned for low latency. When using this tuning mode, the implementation may compromise quality to increase the performance and lower the latency of video encode operations.VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHRspecifies that video encoding is tuned for ultra-low latency. When using this tuning mode, the implementation may compromise quality to maximize the performance and minimize the latency of video encoding operations.VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHRspecifies that video encoding is tuned for lossless encoding. When using this tuning mode, video encode operations produce lossless output.
See Also
- See Also:
-
VK_VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHR
public static final int VK_VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHRVkVideoEncodeTuningModeKHR - Video encode tuning modeDescription
VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHRspecifies the default tuning mode.VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHRspecifies that video encoding is tuned for high quality. When using this tuning mode, the implementation may compromise the latency of video encoding operations to improve quality.VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHRspecifies that video encoding is tuned for low latency. When using this tuning mode, the implementation may compromise quality to increase the performance and lower the latency of video encode operations.VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHRspecifies that video encoding is tuned for ultra-low latency. When using this tuning mode, the implementation may compromise quality to maximize the performance and minimize the latency of video encoding operations.VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHRspecifies that video encoding is tuned for lossless encoding. When using this tuning mode, video encode operations produce lossless output.
See Also
- See Also:
-
VK_VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHR
public static final int VK_VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHRVkVideoEncodeTuningModeKHR - Video encode tuning modeDescription
VIDEO_ENCODE_TUNING_MODE_DEFAULT_KHRspecifies the default tuning mode.VIDEO_ENCODE_TUNING_MODE_HIGH_QUALITY_KHRspecifies that video encoding is tuned for high quality. When using this tuning mode, the implementation may compromise the latency of video encoding operations to improve quality.VIDEO_ENCODE_TUNING_MODE_LOW_LATENCY_KHRspecifies that video encoding is tuned for low latency. When using this tuning mode, the implementation may compromise quality to increase the performance and lower the latency of video encode operations.VIDEO_ENCODE_TUNING_MODE_ULTRA_LOW_LATENCY_KHRspecifies that video encoding is tuned for ultra-low latency. When using this tuning mode, the implementation may compromise quality to maximize the performance and minimize the latency of video encoding operations.VIDEO_ENCODE_TUNING_MODE_LOSSLESS_KHRspecifies that video encoding is tuned for lossless encoding. When using this tuning mode, video encode operations produce lossless output.
See Also
- See Also:
-
-
Method Details
-
nvkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR
public static int nvkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, long pQualityLevelInfo, long pQualityLevelProperties) Unsafe version of:GetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR -
vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR
public static int vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR(org.lwjgl.vulkan.VkPhysicalDevice physicalDevice, VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR pQualityLevelInfo, VkVideoEncodeQualityLevelPropertiesKHR pQualityLevelProperties) Query video encode quality level properties.C Specification
To query properties for a specific video encode quality level supported by a video encode profile, call:
VkResult vkGetPhysicalDeviceVideoEncodeQualityLevelPropertiesKHR( VkPhysicalDevice physicalDevice, const VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR* pQualityLevelInfo, VkVideoEncodeQualityLevelPropertiesKHR* pQualityLevelProperties);Valid Usage (Implicit)
physicalDevicemust be a validVkPhysicalDevicehandlepQualityLevelInfomust be a valid pointer to a validVkPhysicalDeviceVideoEncodeQualityLevelInfoKHRstructurepQualityLevelPropertiesmust be a valid pointer to aVkVideoEncodeQualityLevelPropertiesKHRstructure
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
VkPhysicalDeviceVideoEncodeQualityLevelInfoKHR,VkVideoEncodeQualityLevelPropertiesKHR- Parameters:
physicalDevice- the physical device to query the video encode quality level properties for.pQualityLevelInfo- a pointer to aVkPhysicalDeviceVideoEncodeQualityLevelInfoKHRstructure specifying the video encode profile and quality level to query properties for.pQualityLevelProperties- a pointer to aVkVideoEncodeQualityLevelPropertiesKHRstructure in which the properties are returned.
-
nvkGetEncodedVideoSessionParametersKHR
public static int nvkGetEncodedVideoSessionParametersKHR(org.lwjgl.vulkan.VkDevice device, long pVideoSessionParametersInfo, long pFeedbackInfo, long pDataSize, long pData) Unsafe version of:GetEncodedVideoSessionParametersKHR- Parameters:
pDataSize- a pointer to asize_tvalue related to the amount of encode parameter data returned, as described below.
-
vkGetEncodedVideoSessionParametersKHR
public static int vkGetEncodedVideoSessionParametersKHR(org.lwjgl.vulkan.VkDevice device, VkVideoEncodeSessionParametersGetInfoKHR pVideoSessionParametersInfo, @Nullable VkVideoEncodeSessionParametersFeedbackInfoKHR pFeedbackInfo, org.lwjgl.PointerBuffer pDataSize, @Nullable ByteBuffer pData) Get encoded parameter sets from a video session parameters object.C Specification
Encoded parameter data can be retrieved from a video session parameters object created with a video encode operation using the command:
VkResult vkGetEncodedVideoSessionParametersKHR( VkDevice device, const VkVideoEncodeSessionParametersGetInfoKHR* pVideoSessionParametersInfo, VkVideoEncodeSessionParametersFeedbackInfoKHR* pFeedbackInfo, size_t* pDataSize, void* pData);Description
If
pDataisNULL, then the size of the encoded parameter data, in bytes, that can be retrieved is returned inpDataSize. Otherwise,pDataSizemust point to a variable set by the application to the size of the buffer, in bytes, pointed to bypData, and on return the variable is overwritten with the number of bytes actually written topData. IfpDataSizeis less than the size of the encoded parameter data that can be retrieved, then no data will be written topData, zero will be written topDataSize, andINCOMPLETEwill be returned instead ofSUCCESS, to indicate that no encoded parameter data was returned.If
pFeedbackInfois notNULLthen the members of theVkVideoEncodeSessionParametersFeedbackInfoKHRstructure and any additional structures included in itspNextchain that are applicable to the video session parameters object specified inpVideoSessionParametersInfo::videoSessionParameterswill be filled with feedback about the requested parameter data on all successful calls to this command.Note:
This includes the cases when
pDataisNULLor whenINCOMPLETEis returned by the command, and enables the application to determine whether the implementation overrode any of the requested video session parameters without actually needing to retrieve the encoded parameter data itself.Valid Usage (Implicit)
devicemust be a validVkDevicehandlepVideoSessionParametersInfomust be a valid pointer to a validVkVideoEncodeSessionParametersGetInfoKHRstructure- If
pFeedbackInfois notNULL,pFeedbackInfomust be a valid pointer to aVkVideoEncodeSessionParametersFeedbackInfoKHRstructure pDataSizemust be a valid pointer to asize_tvalue- If the value referenced by
pDataSizeis not 0, andpDatais notNULL,pDatamust be a valid pointer to an array ofpDataSizebytes
Return Codes
- On success, this command returns
- On failure, this command returns
See Also
VkVideoEncodeSessionParametersFeedbackInfoKHR,VkVideoEncodeSessionParametersGetInfoKHR- Parameters:
device- the logical device that owns the video session parameters object.pVideoSessionParametersInfo- a pointer to aVkVideoEncodeSessionParametersGetInfoKHRstructure specifying the parameters of the encoded parameter data to retrieve.pFeedbackInfo- eitherNULLor a pointer to aVkVideoEncodeSessionParametersFeedbackInfoKHRstructure in which feedback about the requested parameter data is returned.pDataSize- a pointer to asize_tvalue related to the amount of encode parameter data returned, as described below.pData- eitherNULLor a pointer to a buffer to write the encoded parameter data to.
-
nvkCmdEncodeVideoKHR
public static void nvkCmdEncodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, long pEncodeInfo) Unsafe version of:CmdEncodeVideoKHR -
vkCmdEncodeVideoKHR
public static void vkCmdEncodeVideoKHR(org.lwjgl.vulkan.VkCommandBuffer commandBuffer, VkVideoEncodeInfoKHR pEncodeInfo) Encode operation for bitstream generation.C Specification
To launch video encode operations, call:
void vkCmdEncodeVideoKHR( VkCommandBuffer commandBuffer, const VkVideoEncodeInfoKHR* pEncodeInfo);Description
Each call issues one or more video encode operations. The implicit parameter
opCountcorresponds to the number of video encode operations issued by the command. After calling this command, the active query index of each active query is incremented byopCount.Currently each call to this command results in the issue of a single video encode operation.
Valid Usage
- For each active query, the active query index corresponding to the query type of that query plus
opCountmust be less than or equal to the last activatable query index corresponding to the query type of that query plus one
Valid Usage (Implicit)
commandBuffermust be a validVkCommandBufferhandlepEncodeInfomust be a valid pointer to a validVkVideoEncodeInfoKHRstructurecommandBuffermust be in the recording state- The
VkCommandPoolthatcommandBufferwas allocated from must support encode operations - This command must only be called outside of a render pass instance
- This command must only be called inside of a video coding scope
commandBuffermust be a primaryVkCommandBuffer
Host Synchronization
- Host access to
commandBuffermust be externally synchronized - Host access to the
VkCommandPoolthatcommandBufferwas allocated from must be externally synchronized
Command Properties
Command Buffer Levels Render Pass Scope Video Coding Scope Supported Queue Types Command Type Primary Outside Inside Encode Action See Also
- Parameters:
commandBuffer- the command buffer to be filled with this function for encoding to generate a bitstream.pEncodeInfo- a pointer to aVkVideoEncodeInfoKHRstructure.
- For each active query, the active query index corresponding to the query type of that query plus
-