VkVideoDecodeH264ProfileInfoEXT(3)

# VkVideoDecodeH264ProfileInfoEXT(3) Manual Page

## Name

VkVideoDecodeH264ProfileInfoEXT - Structure specifying H.264 decode profile

Loading… please wait.

## C Specification

The `VkVideoDecodeH264ProfileInfoEXT` structure is defined as:

    // Provided by VK_EXT_video_decode_h264
    typedef struct VkVideoDecodeH264ProfileInfoEXT {
        VkStructureType                           sType;
        const void*                               pNext;
        StdVideoH264ProfileIdc                    stdProfileIdc;
        VkVideoDecodeH264PictureLayoutFlagsEXT    pictureLayout;
    } VkVideoDecodeH264ProfileInfoEXT;

## Members

- `sType` is the type of this structure.

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

- `stdProfileIdc` is a `StdVideoH264ProfileIdc` value specifying the H.264 codec profile IDC

- `pictureLayout` is a bitmask of VkVideoDecodeH264PictureLayoutFlagBitsEXT specifying the layout of the decoded picture’s contents depending on the nature (progressive vs. interlaced) of the input content.

## Description

| Note When passing `VkVideoDecodeH264ProfileInfoEXT` to vkCreateVideoSessionKHR in the `pNext` chain of VkVideoSessionCreateInfoKHR, requests for a `pictureLayout` not supported by the implementation will result in failure of the command.

Valid Usage

- VUID-VkVideoDecodeH264ProfileInfoEXT-pNext-06259
  If the VkVideoDecodeH264ProfileInfoEXT structure is included in the `pNext` chain of the VkVideoCapabilitiesKHR structure passed to vkGetPhysicalDeviceVideoCapabilitiesKHR, the value in `pictureLayout` is treated as a bitmask of requested picture layouts. It is always valid to use the value `VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_PROGRESSIVE_EXT` as the implementation is guaranteed to support decoding of progressive content.

- VUID-VkVideoDecodeH264ProfileInfoEXT-pNext-06260
  If the VkVideoDecodeH264ProfileInfoEXT structure is included in the `pNext` chain of the VkVideoSessionCreateInfoKHR structure passed to vkCreateVideoSessionKHR, the value in `pictureLayout` must be exactly one of `VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_PROGRESSIVE_EXT`, `VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_INTERLEAVED_LINES_BIT_EXT` or `VK_VIDEO_DECODE_H264_PICTURE_LAYOUT_INTERLACED_SEPARATE_PLANES_BIT_EXT`.

Valid Usage (Implicit)

- VUID-VkVideoDecodeH264ProfileInfoEXT-sType-sType
  `sType` must be `VK_STRUCTURE_TYPE_VIDEO_DECODE_H264_PROFILE_INFO_EXT`

## See Also

VK_EXT_video_decode_h264, VkStructureType, VkVideoDecodeH264PictureLayoutFlagsEXT

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