| commit | ad313da0ad8c99b92a7df45eecc733994cdd7f61 | [log] [tgz] |
|---|---|---|
| author | Steve Lhomme <robux4@ycbcr.xyz> | Fri Mar 17 11:07:18 2023 +0100 |
| committer | LIU Hao <lh_mouse@126.com> | Sat Mar 18 14:55:24 2023 +0800 |
| tree | 8a48c272ea6b588d3eae534b1da70e92efe729d4 | |
| parent | 335c653c889fd54851d3b9f512f1a667498a5dd2 [diff] |
headers: explicitly define Reserved bits in DXVAHD_BLT_STATE structures As defined in the documentation https://learn.microsoft.com/en-us/windows/win32/api/dxvahd/ns-dxvahd-dxvahd_blt_state_output_color_space_data and https://learn.microsoft.com/en-us/windows/win32/api/dxvahd/ns-dxvahd-dxvahd_stream_state_input_color_space_data Signed-off-by: LIU Hao <lh_mouse@126.com>
diff --git a/mingw-w64-headers/include/dxvahd.idl b/mingw-w64-headers/include/dxvahd.idl index bf00ca6..3bb5e50 100644 --- a/mingw-w64-headers/include/dxvahd.idl +++ b/mingw-w64-headers/include/dxvahd.idl
@@ -212,10 +212,16 @@ } DXVAHD_BLT_STATE_CONSTRICTION_DATA; typedef struct _DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE_DATA { - UINT Usage :1; - UINT RGB_Range :1; - UINT YCbCr_Matrix :1; - UINT YCbCr_xvYCC :1; + union { + struct { + UINT Usage :1; + UINT RGB_Range :1; + UINT YCbCr_Matrix :1; + UINT YCbCr_xvYCC :1; + UINT Reserved : 28; + }; + UINT Value; + }; } DXVAHD_BLT_STATE_OUTPUT_COLOR_SPACE_DATA; typedef struct _DXVAHD_BLT_STATE_PRIVATE_DATA { @@ -308,10 +314,15 @@ } DXVAHD_STREAM_STATE_FRAME_FORMAT_DATA; typedef struct _DXVAHD_STREAM_STATE_INPUT_COLOR_SPACE_DATA { - UINT Type :1; - UINT RGB_Range :1; - UINT YCbCr_Matrix :1; - UINT YCbCr_xvYCC :1; + union { + struct { + UINT Type :1; + UINT RGB_Range :1; + UINT YCbCr_Matrix :1; + UINT YCbCr_xvYCC :1; + }; + UINT Value; + }; } DXVAHD_STREAM_STATE_INPUT_COLOR_SPACE_DATA; typedef struct _DXVAHD_STREAM_STATE_LUMA_KEY_DATA {