d3d11av1dec: Sync DXVA AV1 data structure with released header
Update AV1 data structure based on Windows 11 SDK header Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1455>
This commit is contained in:
parent
79f11eb778
commit
146815bbb6
@ -58,6 +58,8 @@ GST_DEBUG_CATEGORY_EXTERN (gst_d3d11_av1_dec_debug);
|
|||||||
* and modified with "GST_" prefix
|
* and modified with "GST_" prefix
|
||||||
*/
|
*/
|
||||||
#pragma pack(push, 1)
|
#pragma pack(push, 1)
|
||||||
|
|
||||||
|
/* AV1 picture entry data structure */
|
||||||
typedef struct _GST_DXVA_PicEntry_AV1
|
typedef struct _GST_DXVA_PicEntry_AV1
|
||||||
{
|
{
|
||||||
UINT width;
|
UINT width;
|
||||||
@ -73,11 +75,11 @@ typedef struct _GST_DXVA_PicEntry_AV1
|
|||||||
UCHAR wmtype:2;
|
UCHAR wmtype:2;
|
||||||
UCHAR Reserved:5;
|
UCHAR Reserved:5;
|
||||||
};
|
};
|
||||||
UCHAR wGlobalMotionFlags;
|
UCHAR GlobalMotionFlags;
|
||||||
};
|
} DUMMYUNIONNAME;
|
||||||
|
|
||||||
UCHAR Index;
|
UCHAR Index;
|
||||||
USHORT Reserved16Bits;
|
UINT16 Reserved16Bits;
|
||||||
|
|
||||||
} GST_DXVA_PicEntry_AV1;
|
} GST_DXVA_PicEntry_AV1;
|
||||||
|
|
||||||
@ -338,17 +340,29 @@ typedef struct _GST_DXVA_PicParams_AV1
|
|||||||
UINT StatusReportFeedbackNumber;
|
UINT StatusReportFeedbackNumber;
|
||||||
} GST_DXVA_PicParams_AV1;
|
} GST_DXVA_PicParams_AV1;
|
||||||
|
|
||||||
|
/* AV1 tile structure */
|
||||||
typedef struct _GST_DXVA_Tile_AV1
|
typedef struct _GST_DXVA_Tile_AV1
|
||||||
{
|
{
|
||||||
UINT DataOffset;
|
UINT DataOffset;
|
||||||
UINT DataSize;
|
UINT DataSize;
|
||||||
USHORT row;
|
USHORT row;
|
||||||
USHORT column;
|
USHORT column;
|
||||||
USHORT Reserved16Bits;
|
UINT16 Reserved16Bits;
|
||||||
UCHAR anchor_frame;
|
UCHAR anchor_frame;
|
||||||
UCHAR Reserved8Bits;
|
UCHAR Reserved8Bits;
|
||||||
} GST_DXVA_Tile_AV1;
|
} GST_DXVA_Tile_AV1;
|
||||||
|
|
||||||
|
/* AV1 status reporting data structure */
|
||||||
|
typedef struct _GST_DXVA_Status_AV1
|
||||||
|
{
|
||||||
|
UINT StatusReportFeedbackNumber;
|
||||||
|
GST_DXVA_PicEntry_AV1 CurrPic;
|
||||||
|
UCHAR BufType;
|
||||||
|
UCHAR Status;
|
||||||
|
UCHAR Reserved8Bits;
|
||||||
|
USHORT NumMbsAffected;
|
||||||
|
} GST_DXVA_Status_AV1;
|
||||||
|
|
||||||
#pragma pack(pop)
|
#pragma pack(pop)
|
||||||
|
|
||||||
/* reference list 8 + 4 margin */
|
/* reference list 8 + 4 margin */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user