VkVideoEncodeSessionRgbConversionCreateInfoVALVE(3)

# VkVideoEncodeSessionRgbConversionCreateInfoVALVE(3) Manual Page

## Name

VkVideoEncodeSessionRgbConversionCreateInfoVALVE - Structure specifying video encode RGB conversion parameters for a video session

Loading… please wait.

## C Specification

The `VkVideoEncodeSessionRgbConversionCreateInfoVALVE` structure is defined as:

    // Provided by VK_VALVE_video_encode_rgb_conversion
    typedef struct VkVideoEncodeSessionRgbConversionCreateInfoVALVE {
        VkStructureType                                  sType;
        const void*                                      pNext;
        VkVideoEncodeRgbModelConversionFlagBitsVALVE     rgbModel;
        VkVideoEncodeRgbRangeCompressionFlagBitsVALVE    rgbRange;
        VkVideoEncodeRgbChromaOffsetFlagBitsVALVE        xChromaOffset;
        VkVideoEncodeRgbChromaOffsetFlagBitsVALVE        yChromaOffset;
    } VkVideoEncodeSessionRgbConversionCreateInfoVALVE;

## Members

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

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

- `rgbModel` is the used R′G′B′ model conversion for the R′G′B′ conversion.

- `rgbRange` is the used R′G′B′ range compression for the R′G′B′ conversion.

- `xChromaOffset` describes the output location of downsampled chroma components in the x dimension for the R′G′B′ conversion.

- `yChromaOffset` describes the output location of downsampled chroma components in the y dimension for the R′G′B′ conversion.

## Description

Valid Usage

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbModel-10930
  `rgbModel` must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::`rgbModels` as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with `VkVideoEncodeRgbConversionCapabilitiesVALVE` in the `pNext` chain of `VkVideoCapabilitiesKHR` with the given `pVideoProfile`

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbRange-10931
  `rgbRange` must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::`rgbRanges` as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with `VkVideoEncodeRgbConversionCapabilitiesVALVE` in the `pNext` chain of `VkVideoCapabilitiesKHR` with the given `pVideoProfile`

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-xChromaOffset-10932
  `xChromaOffset` must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::`xChromaOffsets` as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with `VkVideoEncodeRgbConversionCapabilitiesVALVE` in the `pNext` chain of `VkVideoCapabilitiesKHR` with the given `pVideoProfile`

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-yChromaOffset-10933
  `yChromaOffset` must only be a bit set in VkVideoEncodeRgbConversionCapabilitiesVALVE::`yChromaOffsets` as returned by vkGetPhysicalDeviceVideoCapabilitiesKHR with `VkVideoEncodeRgbConversionCapabilitiesVALVE` in the `pNext` chain of `VkVideoCapabilitiesKHR` with the given `pVideoProfile`

Valid Usage (Implicit)

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-sType-sType
  `sType` must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_SESSION_RGB_CONVERSION_CREATE_INFO_VALVE

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbModel-parameter
  `rgbModel` must be a valid VkVideoEncodeRgbModelConversionFlagBitsVALVE value

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-rgbRange-parameter
  `rgbRange` must be a valid VkVideoEncodeRgbRangeCompressionFlagBitsVALVE value

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-xChromaOffset-parameter
  `xChromaOffset` must be a valid VkVideoEncodeRgbChromaOffsetFlagBitsVALVE value

- VUID-VkVideoEncodeSessionRgbConversionCreateInfoVALVE-yChromaOffset-parameter
  `yChromaOffset` must be a valid VkVideoEncodeRgbChromaOffsetFlagBitsVALVE value

## See Also

VK_VALVE_video_encode_rgb_conversion, VkStructureType, VkVideoEncodeRgbChromaOffsetFlagBitsVALVE, VkVideoEncodeRgbModelConversionFlagBitsVALVE, VkVideoEncodeRgbRangeCompressionFlagBitsVALVE

## 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-2026 The Khronos Group Inc.

SPDX-License-Identifier: CC-BY-4.0