# VkVideoEncodeRgbConversionCapabilitiesVALVE(3) Manual Page

## Name

VkVideoEncodeRgbConversionCapabilitiesVALVE - Structure describing video encode rgb conversion capabilities for a video profile

Loading… please wait.

## 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

- `sType` is a VkStructureType value identifying this structure.

- `pNext` is `NULL` or a pointer to a structure extending this structure.

- `rgbModels` is a bitmask of VkVideoEncodeRgbModelConversionFlagBitsVALVE describing supported model conversions for video encode R′G′B′ conversion.

- `rgbRanges` is a bitmask of VkVideoEncodeRgbRangeCompressionFlagBitsVALVE describing supported range compressions for video encode R′G′B′ conversion.

- `xChromaOffsets` is a bitmask of VkVideoEncodeRgbChromaOffsetFlagBitsVALVE describing supported offsets of the output location of the downsampled chroma component on the X axis for video encode R′G′B′ conversion.

- `yChromaOffsets` is a bitmask of VkVideoEncodeRgbChromaOffsetFlagBitsVALVE describing supported offsets of the output location of the downsampled chroma component on the Y axis for video encode R′G′B′ conversion.

## Description

Valid Usage (Implicit)

- VUID-VkVideoEncodeRgbConversionCapabilitiesVALVE-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_ENCODE_RGB_CONVERSION_CAPABILITIES_VALVE`

## See Also

VK_VALVE_video_encode_rgb_conversion, VkStructureType, VkVideoEncodeRgbChromaOffsetFlagsVALVE, VkVideoEncodeRgbModelConversionFlagsVALVE, VkVideoEncodeRgbRangeCompressionFlagsVALVE

## 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

Copyright 2014-2025 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0