Commit 51e1f5e4 authored by Biswapriyo Nath's avatar Biswapriyo Nath Committed by Alexandre Julliard

include: Add D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS in d3d12video.idl.

parent e63a9984
...@@ -1594,6 +1594,17 @@ typedef struct D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA ...@@ -1594,6 +1594,17 @@ typedef struct D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA
UINT64 bHeaderSize; UINT64 bHeaderSize;
} D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA; } D3D12_VIDEO_ENCODER_FRAME_SUBREGION_METADATA;
typedef enum D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS
{
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_NO_ERROR = 0x0,
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_CODEC_PICTURE_CONTROL_NOT_SUPPORTED = 0x1,
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_SUBREGION_LAYOUT_CONFIGURATION_NOT_SUPPORTED = 0x2,
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_REFERENCE_PICTURES = 0x4,
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_RECONFIGURATION_REQUEST_NOT_SUPPORTED = 0x8,
D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAG_INVALID_METADATA_BUFFER_SOURCE = 0x10,
} D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS;
cpp_quote("DEFINE_ENUM_FLAG_OPERATORS(D3D12_VIDEO_ENCODER_ENCODE_ERROR_FLAGS);")
typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS typedef struct D3D12_VIDEO_ENCODER_OUTPUT_METADATA_STATISTICS
{ {
UINT64 AverageQP; UINT64 AverageQP;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment