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
Valid Usage (Implicit)

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