C Specification

When calling vkGetPhysicalDeviceVideoCapabilitiesKHR with pVideoProfile->videoCodecOperation specifying an encode operation, the VkVideoEncodeRgbConversionCapabilitiesVALVE structure can be included in the pNext chain of the VkVideoCapabilitiesKHR structure to retrieve capabilities specific to video encode R′G′B′ conversion.

The VkVideoEncodeRgbConversionCapabilitiesVALVE structure is defined as:

// Provided by VK_VALVE_video_encode_rgb_conversion
typedef struct VkVideoEncodeRgbConversionCapabilitiesVALVE {
    VkStructureType                               sType;
    void*                                         pNext;
    VkVideoEncodeRgbModelConversionFlagsVALVE     rgbModels;
    VkVideoEncodeRgbRangeCompressionFlagsVALVE    rgbRanges;
    VkVideoEncodeRgbChromaOffsetFlagsVALVE        xChromaOffsets;
    VkVideoEncodeRgbChromaOffsetFlagsVALVE        yChromaOffsets;
} VkVideoEncodeRgbConversionCapabilitiesVALVE;

Members

Description

Valid Usage (Implicit)
  • VUID-VkVideoEncodeRgbConversionCapabilitiesVALVE-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_RGB_CONVERSION_CAPABILITIES_VALVE

See Also

Document Notes

For more information, see the Vulkan Specification.

This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification, not directly.

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0