mirror of
https://github.com/elwrcl/intel-hard-graphics.git
synced 2026-10-31 10:58:03 +03:00
intel/genxml: A few additions and fixes for video decode.
Assisted-by: Claude
This commit is contained in:
1 parent
ed56facc56
commit
cece575042
3 files changed
+65
-19
No files matched your search
@@ -82,7 +82,7 @@
|
|||||||
<field name="Buffer" dword="0" bits="31:5" type="address" />
|
<field name="Buffer" dword="0" bits="31:5" type="address" />
|
||||||
</group>
|
</group>
|
||||||
</struct>
|
</struct>
|
||||||
<struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="2">
|
<struct name="INLINE_DATA_DESCRIPTION_FOR_MFD_AVC_BSD_OBJECT" length="3">
|
||||||
<field name="MB Error Concealment P Slice Weight Prediction Disable" dword="0" bits="0:0" type="bool" />
|
<field name="MB Error Concealment P Slice Weight Prediction Disable" dword="0" bits="0:0" type="bool" />
|
||||||
<field name="MB Error Concealment P Slice Motion Vectors Override Disable" dword="0" bits="1:1" type="bool" />
|
<field name="MB Error Concealment P Slice Motion Vectors Override Disable" dword="0" bits="1:1" type="bool" />
|
||||||
<field name="MB Error Concealment P Slice Reference Index Override Disable" dword="0" bits="2:2" type="bool" />
|
<field name="MB Error Concealment P Slice Reference Index Override Disable" dword="0" bits="2:2" type="bool" />
|
||||||
@@ -99,6 +99,7 @@
|
|||||||
<field name="MB Error Concealment B Temporal Motion Vectors Override Enable" dword="0" bits="25:25" type="bool" />
|
<field name="MB Error Concealment B Temporal Motion Vectors Override Enable" dword="0" bits="25:25" type="bool" />
|
||||||
<field name="MB Error Concealment B Temporal Reference Index Override Enable" dword="0" bits="26:26" type="bool" />
|
<field name="MB Error Concealment B Temporal Reference Index Override Enable" dword="0" bits="26:26" type="bool" />
|
||||||
<field name="MB Error Concealment B Temporal Prediction Mode" dword="0" bits="28:27" type="uint" default="0" />
|
<field name="MB Error Concealment B Temporal Prediction Mode" dword="0" bits="28:27" type="uint" default="0" />
|
||||||
|
<field name="Intra PredMode (4x4/8x8 Luma) Error Control" dword="0" bits="29:29" type="bool" />
|
||||||
<field name="Init Current MB Number" dword="0" bits="30:30" type="bool" />
|
<field name="Init Current MB Number" dword="0" bits="30:30" type="bool" />
|
||||||
<field name="Concealment Method" dword="0" bits="31:31" type="uint" />
|
<field name="Concealment Method" dword="0" bits="31:31" type="uint" />
|
||||||
<field name="First MB Bit Offset" dword="1" bits="2:0" type="uint" />
|
<field name="First MB Bit Offset" dword="1" bits="2:0" type="uint" />
|
||||||
@@ -1829,8 +1830,8 @@
|
|||||||
<field name="POC List" dword="0" bits="31:0" type="uint" />
|
<field name="POC List" dword="0" bits="31:0" type="uint" />
|
||||||
</group>
|
</group>
|
||||||
</instruction>
|
</instruction>
|
||||||
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
|
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="16" engine="video">
|
||||||
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="12" />
|
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="14" />
|
||||||
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" />
|
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" />
|
||||||
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
||||||
@@ -1934,6 +1935,18 @@
|
|||||||
<field name="Slice Group Change Rate" dword="15" bits="15:0" type="uint" />
|
<field name="Slice Group Change Rate" dword="15" bits="15:0" type="uint" />
|
||||||
<field name="Current Picture Frame Number" dword="15" bits="31:16" type="uint" />
|
<field name="Current Picture Frame Number" dword="15" bits="31:16" type="uint" />
|
||||||
</instruction>
|
</instruction>
|
||||||
|
<instruction name="MFX_AVC_REF_IDX_STATE" bias="2" length="10" engine="video">
|
||||||
|
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="8" />
|
||||||
|
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="4" />
|
||||||
|
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
||||||
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
||||||
|
<field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" />
|
||||||
|
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
||||||
|
<field name="Reference Picture List Select" dword="1" bits="0:0" type="uint" />
|
||||||
|
<group count="32" dword="2" size="8">
|
||||||
|
<field name="Reference List Entry" dword="0" bits="7:0" type="uint" />
|
||||||
|
</group>
|
||||||
|
</instruction>
|
||||||
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
|
<instruction name="MFX_AVC_SLICE_STATE" bias="2" length="10" engine="video">
|
||||||
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="8" />
|
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="8" />
|
||||||
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="3" />
|
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="3" />
|
||||||
@@ -2054,6 +2067,13 @@
|
|||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" />
|
||||||
<field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" />
|
<field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" />
|
||||||
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
||||||
|
<field name="BSD/MPC Row Store Scratch Buffer - Cacheability Control" dword="1" bits="1:0" type="uint">
|
||||||
|
<value name="GTT entry" value="0" />
|
||||||
|
<value name="Not in LLC" value="1" />
|
||||||
|
<value name="In LLC" value="2" />
|
||||||
|
<value name="In LLC and MLC" value="3" />
|
||||||
|
</field>
|
||||||
|
<field name="BSD/MPC Row Store Scratch Buffer - Graphics Data Type" dword="1" bits="2:2" type="uint" />
|
||||||
<field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" dword="1" bits="5:4" type="uint">
|
<field name="BSD/MPC Row Store Scratch Buffer - Arbitration Priority Control" dword="1" bits="5:4" type="uint">
|
||||||
<value name="Highest priority" value="0" />
|
<value name="Highest priority" value="0" />
|
||||||
<value name="Second Highest priority" value="1" />
|
<value name="Second Highest priority" value="1" />
|
||||||
@@ -2061,6 +2081,13 @@
|
|||||||
<value name="Lowest Priority" value="3" />
|
<value name="Lowest Priority" value="3" />
|
||||||
</field>
|
</field>
|
||||||
<field name="BSD/MPC Row Store Scratch Buffer - Address" dword="1" bits="31:6" type="address" />
|
<field name="BSD/MPC Row Store Scratch Buffer - Address" dword="1" bits="31:6" type="address" />
|
||||||
|
<field name="MPR Row Store Scratch Buffer - Cacheability Control" dword="2" bits="1:0" type="uint">
|
||||||
|
<value name="GTT entry" value="0" />
|
||||||
|
<value name="Not in LLC" value="1" />
|
||||||
|
<value name="In LLC" value="2" />
|
||||||
|
<value name="In LLC and MLC" value="3" />
|
||||||
|
</field>
|
||||||
|
<field name="MPR Row Store Scratch Buffer - Graphics Data Type" dword="2" bits="2:2" type="uint" />
|
||||||
<field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" dword="2" bits="5:4" type="uint">
|
<field name="MPR Row Store Scratch Buffer - Arbitration Priority Control" dword="2" bits="5:4" type="uint">
|
||||||
<value name="Highest priority" value="0" />
|
<value name="Highest priority" value="0" />
|
||||||
<value name="Second highest priority" value="1" />
|
<value name="Second highest priority" value="1" />
|
||||||
@@ -2068,6 +2095,13 @@
|
|||||||
<value name="Lowest priority" value="3" />
|
<value name="Lowest priority" value="3" />
|
||||||
</field>
|
</field>
|
||||||
<field name="MPR Row Store Scratch Buffer - Address" dword="2" bits="31:6" type="address" />
|
<field name="MPR Row Store Scratch Buffer - Address" dword="2" bits="31:6" type="address" />
|
||||||
|
<field name="Bitplane Read Buffer - Cacheability Control" dword="3" bits="1:0" type="uint">
|
||||||
|
<value name="GTT entry" value="0" />
|
||||||
|
<value name="Not in LLC" value="1" />
|
||||||
|
<value name="In LLC" value="2" />
|
||||||
|
<value name="In LLC and MLC" value="3" />
|
||||||
|
</field>
|
||||||
|
<field name="Bitplane Read Buffer - Graphics Data Type" dword="3" bits="2:2" type="uint" />
|
||||||
<field name="Bitplane Read Buffer - Arbitration Priority Control" dword="3" bits="5:4" type="uint">
|
<field name="Bitplane Read Buffer - Arbitration Priority Control" dword="3" bits="5:4" type="uint">
|
||||||
<value name="Highest priority" value="0" />
|
<value name="Highest priority" value="0" />
|
||||||
<value name="Second highest priority" value="1" />
|
<value name="Second highest priority" value="1" />
|
||||||
@@ -2536,8 +2570,8 @@
|
|||||||
<field name="Extended Stream-Out Enable" dword="1" bits="18:18" type="bool" />
|
<field name="Extended Stream-Out Enable" dword="1" bits="18:18" type="bool" />
|
||||||
<field name="Pic Status/Error Report ID" dword="3" bits="31:0" type="uint" />
|
<field name="Pic Status/Error Report ID" dword="3" bits="31:0" type="uint" />
|
||||||
</instruction>
|
</instruction>
|
||||||
<instruction name="MFX_QM_STATE" bias="2" length="34" engine="video">
|
<instruction name="MFX_QM_STATE" bias="2" length="18" engine="video">
|
||||||
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="32" />
|
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="16" />
|
||||||
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="7" />
|
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="7" />
|
||||||
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="0" />
|
||||||
@@ -2687,6 +2721,13 @@
|
|||||||
<field name="LumShift1 - double - BWD" dword="5" bits="21:16" type="uint" />
|
<field name="LumShift1 - double - BWD" dword="5" bits="21:16" type="uint" />
|
||||||
<field name="LumShift2 - double - BWD" dword="5" bits="29:24" type="uint" />
|
<field name="LumShift2 - double - BWD" dword="5" bits="29:24" type="uint" />
|
||||||
</instruction>
|
</instruction>
|
||||||
|
<instruction name="MFX_WAIT" bias="1" length="1" engine="video">
|
||||||
|
<field name="DWord Length" dword="0" bits="5:0" type="uint" default="0" />
|
||||||
|
<field name="MFX Sync Control Flag" dword="0" bits="8:8" type="bool" />
|
||||||
|
<field name="SubOpcode" dword="0" bits="26:16" type="uint" default="0" />
|
||||||
|
<field name="Command Subtype" dword="0" bits="28:27" type="uint" default="1" />
|
||||||
|
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
||||||
|
</instruction>
|
||||||
<instruction name="MI_CLFLUSH" bias="2" engine="render">
|
<instruction name="MI_CLFLUSH" bias="2" engine="render">
|
||||||
<field name="DWord Length" dword="0" bits="9:0" type="uint" default="1" />
|
<field name="DWord Length" dword="0" bits="9:0" type="uint" default="1" />
|
||||||
<field name="Use Global GTT" dword="0" bits="22:22" type="bool" />
|
<field name="Use Global GTT" dword="0" bits="22:22" type="bool" />
|
||||||
@@ -2786,7 +2827,7 @@
|
|||||||
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="1" />
|
<field name="Command SubType" dword="0" bits="28:27" type="uint" default="1" />
|
||||||
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
||||||
</instruction>
|
</instruction>
|
||||||
<instruction name="PIPE_CONTROL" bias="2" length="5" engine="render">
|
<instruction name="PIPE_CONTROL" bias="2" length="5" engine="render|video">
|
||||||
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="3" />
|
<field name="DWord Length" dword="0" bits="7:0" type="uint" default="3" />
|
||||||
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="0" />
|
<field name="3D Command Sub Opcode" dword="0" bits="23:16" type="uint" default="0" />
|
||||||
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="2" />
|
<field name="3D Command Opcode" dword="0" bits="26:24" type="uint" default="2" />
|
||||||
|
|||||||
+16
-11
@@ -1434,7 +1434,7 @@
|
|||||||
</group>
|
</group>
|
||||||
</instruction>
|
</instruction>
|
||||||
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
|
<instruction name="MFD_AVC_DPB_STATE" bias="2" length="27" engine="video">
|
||||||
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="25" />
|
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="9" />
|
||||||
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="6" />
|
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="6" />
|
||||||
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="1" />
|
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="1" />
|
||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
||||||
@@ -1458,7 +1458,10 @@
|
|||||||
</field>
|
</field>
|
||||||
</group>
|
</group>
|
||||||
<group count="16" dword="3" size="16">
|
<group count="16" dword="3" size="16">
|
||||||
<field name="LTST Frame Number List" dword="0" bits="15:0" type="uint" />
|
<field name="LTST Frame Number List" dword="0" bits="15:0" type="uint" prefix="LTST">
|
||||||
|
<value name="Long Term Frame" value="1" />
|
||||||
|
<value name="Short Term Frame" value="0" />
|
||||||
|
</field>
|
||||||
</group>
|
</group>
|
||||||
<group count="16" dword="11" size="16">
|
<group count="16" dword="11" size="16">
|
||||||
<field name="View ID" dword="0" bits="15:0" type="uint" />
|
<field name="View ID" dword="0" bits="15:0" type="uint" />
|
||||||
@@ -1507,21 +1510,22 @@
|
|||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
||||||
<field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" />
|
<field name="Pipeline" dword="0" bits="28:27" type="uint" default="2" />
|
||||||
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
<field name="Command Type" dword="0" bits="31:29" type="uint" default="3" />
|
||||||
<field name="Direct MV Buffer - MOCS" dword="1" bits="3:0" type="uint" nonzero="true"/>
|
<field name="Direct MV Buffer - MOCS" dword="1" bits="3:0" type="uint"/>
|
||||||
<field name="Direct MV Buffer - Arbitration Priority Control" dword="1" bits="5:4" type="uint"/>
|
<field name="Direct MV Buffer - Arbitration Priority Control" dword="1" bits="5:4" type="uint" />
|
||||||
<field name="Direct MV Buffer 0 - Address" dword="1" bits="31:6" type="address"/>
|
<field name="Direct MV Buffer 0 - Address" dword="1" bits="31:6" type="address" />
|
||||||
<group count="15" dword="2" size="64">
|
<group count="15" dword="3" size="64">
|
||||||
|
<field name="Direct MV Buffer - MOCS 1" dword="0" bits="3:0" type="uint" />
|
||||||
<field name="Direct MV Buffer - Address 1" dword="0" bits="31:6" type="address" />
|
<field name="Direct MV Buffer - Address 1" dword="0" bits="31:6" type="address" />
|
||||||
</group>
|
</group>
|
||||||
<field name="Direct MV Buffer Write - MOCS" dword="34" bits="2:0" type="uint" nonzero="true"/>
|
<field name="Direct MV Buffer Write - MOCS" dword="34" bits="2:0" type="uint"/>
|
||||||
<field name="Direct MV Buffer Write - Arbitration Priority Control" dword="34" bits="4:3" type="uint"/>
|
<field name="Direct MV Buffer Write - Arbitration Priority Control" dword="34" bits="4:3" type="uint" />
|
||||||
<field name="Direct MV Buffer (Write) - Address" dword="34" bits="31:5" type="address" />
|
<field name="Direct MV Buffer (Write) - Address" dword="34" bits="31:5" type="address" />
|
||||||
<group count="34" dword="37" size="32">
|
<group count="34" dword="37" size="32">
|
||||||
<field name="POC List" dword="0" bits="31:0" type="uint" />
|
<field name="POC List" dword="0" bits="31:0" type="uint" />
|
||||||
</group>
|
</group>
|
||||||
</instruction>
|
</instruction>
|
||||||
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="21" engine="video">
|
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="17" engine="video">
|
||||||
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="19" />
|
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="15" />
|
||||||
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" />
|
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" />
|
||||||
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
||||||
@@ -1928,7 +1932,8 @@
|
|||||||
</field>
|
</field>
|
||||||
<field name="Deblocking Filter Row Store Scratch - Address" dword="16" bits="31:6" type="address" />
|
<field name="Deblocking Filter Row Store Scratch - Address" dword="16" bits="31:6" type="address" />
|
||||||
<group count="16" dword="19" size="64">
|
<group count="16" dword="19" size="64">
|
||||||
<field name="Reference Picture - Address" dword="0" bits="63:0" type="address" />
|
<field name="Reference Picture - MOCS" dword="0" bits="3:0" type="uint" />
|
||||||
|
<field name="Reference Picture - Address" dword="0" bits="31:6" type="address" />
|
||||||
</group>
|
</group>
|
||||||
<field name="MB Status Buffer - MOCS" dword="52" bits="3:0" type="uint" nonzero="true" />
|
<field name="MB Status Buffer - MOCS" dword="52" bits="3:0" type="uint" nonzero="true" />
|
||||||
<field name="MB Status Buffer - Arbitration Priority Control" dword="52" bits="5:4" type="uint">
|
<field name="MB Status Buffer - Arbitration Priority Control" dword="52" bits="5:4" type="uint">
|
||||||
|
|||||||
@@ -1772,8 +1772,8 @@
|
|||||||
<field name="POC List" dword="0" bits="31:0" type="uint" />
|
<field name="POC List" dword="0" bits="31:0" type="uint" />
|
||||||
</group>
|
</group>
|
||||||
</instruction>
|
</instruction>
|
||||||
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="14" engine="video">
|
<instruction name="MFX_AVC_IMG_STATE" bias="2" length="17" engine="video">
|
||||||
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="12" />
|
<field name="DWord Length" dword="0" bits="11:0" type="uint" default="15" />
|
||||||
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" />
|
<field name="SubOpcode B" dword="0" bits="20:16" type="uint" default="0" />
|
||||||
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
<field name="SubOpcode A" dword="0" bits="23:21" type="uint" default="0" />
|
||||||
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
<field name="Media Command Opcode" dword="0" bits="26:24" type="uint" default="1" />
|
||||||
|
|||||||
Reference in new issue
Block a user