VkPhysicalDeviceVideoFormatInfoKHR(3)

# VkPhysicalDeviceVideoFormatInfoKHR(3) Manual Page

## Name

VkPhysicalDeviceVideoFormatInfoKHR - Structure specifying the codec video format

Loading… please wait.

## C Specification

The VkPhysicalDeviceVideoFormatInfoKHR input structure is defined as:

    // Provided by VK_KHR_video_queue
    typedef struct VkPhysicalDeviceVideoFormatInfoKHR {
        VkStructureType              sType;
        void*                        pNext;
        VkImageUsageFlags            imageUsage;
        const VkVideoProfilesKHR*    pVideoProfiles;
    } VkPhysicalDeviceVideoFormatInfoKHR;

## Members

- `sType` is the type of this structure.

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

- `imageUsage` is a bitmask of VkImageUsageFlagBits specifying intended video image usages.

- `pVideoProfiles` is a pointer to a VkVideoProfilesKHR structure providing the video profile(s) of video session(s) that will use the image. For most use cases, the image is used by a single video session and a single video profile is provided. For a use case such as transcode, where a decode session output image may be used as encode input for one or more encode sessions, multiple video profiles representing the video sessions that will share the image may be provided.

## Description

Valid Usage (Implicit)

- VUID-VkPhysicalDeviceVideoFormatInfoKHR-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_VIDEO_FORMAT_INFO_KHR`

- VUID-VkPhysicalDeviceVideoFormatInfoKHR-pNext-pNext
  `pNext` must be `NULL`

## See Also

VK_KHR_video_queue, VkImageUsageFlags, VkStructureType, VkVideoProfilesKHR, vkGetPhysicalDeviceVideoFormatPropertiesKHR

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

SPDX-License-Identifier: CC-BY-4.0