C Specification

A video profile supporting video encode R′G′B′ conversion is specified by an pVideoProfile->videoCodecOperation specifying an encode operation and including a VkVideoEncodeProfileRgbConversionInfoVALVE structure in the pNext chain of the VkVideoProfileInfoKHR structure and enabling performEncodeRgbConversion.

The VkVideoEncodeProfileRgbConversionInfoVALVE structure is defined as:

// Provided by VK_VALVE_video_encode_rgb_conversion
typedef struct VkVideoEncodeProfileRgbConversionInfoVALVE {
    VkStructureType    sType;
    const void*        pNext;
    VkBool32           performEncodeRgbConversion;
} VkVideoEncodeProfileRgbConversionInfoVALVE;

Members

  • sType is a VkStructureType value identifying this structure.

  • pNext is NULL or a pointer to a structure extending this structure.

  • performEncodeRgbConversion is a boolean value indicating whether video encode R′G′B′ conversion will be used for the encode operation.

Description

Valid Usage (Implicit)
  • VUID-VkVideoEncodeProfileRgbConversionInfoVALVE-sType-sType
    sType must be VK_STRUCTURE_TYPE_VIDEO_ENCODE_PROFILE_RGB_CONVERSION_INFO_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