1<?xml version="1.0" encoding="UTF-8"?> 2<database xmlns="http://nouveau.freedesktop.org/" 3xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 4xsi:schemaLocation="http://nouveau.freedesktop.org/ rules-ng.xsd"> 5 6 7<!-- random bits that seem same between mdp4 and mdp5 (ie. not much) --> 8 9<enum name="mdp_chroma_samp_type"> 10 <value name="CHROMA_FULL" value="0"/> 11 <value name="CHROMA_H2V1" value="1"/> 12 <value name="CHROMA_H1V2" value="2"/> 13 <value name="CHROMA_420" value="3"/> 14</enum> 15 16<enum name="mdp_fetch_type"> 17 <value name="MDP_PLANE_INTERLEAVED" value="0"/> 18 <value name="MDP_PLANE_PLANAR" value="1"/> 19 <value name="MDP_PLANE_PSEUDO_PLANAR" value="2"/> 20</enum> 21 22<enum name="mdp_mixer_stage_id"> 23 <value name="STAGE_UNUSED" value="0"/> 24 <value name="STAGE_BASE" value="1"/> 25 <value name="STAGE0" value="2"/> <!-- zorder 0 --> 26 <value name="STAGE1" value="3"/> <!-- zorder 1 --> 27 <value name="STAGE2" value="4"/> <!-- zorder 2 --> 28 <value name="STAGE3" value="5"/> <!-- zorder 3 --> 29 <value name="STAGE4" value="6"/> <!-- zorder 4 --> 30 <value name="STAGE5" value="7"/> <!-- zorder 5 --> 31 <value name="STAGE6" value="8"/> <!-- zorder 6 --> 32 <value name="STAGE_MAX" value="8"/> <!-- maximum zorder --> 33</enum> 34 35<enum name="mdp_alpha_type"> 36 <value name="FG_CONST" value="0"/> 37 <value name="BG_CONST" value="1"/> 38 <value name="FG_PIXEL" value="2"/> 39 <value name="BG_PIXEL" value="3"/> 40</enum> 41 42<enum name="mdp_component_type"> 43 <value name="COMP_0" value="0"/> <!-- Y component --> 44 <value name="COMP_1_2" value="1"/> <!-- Cb/Cr comp. --> 45 <value name="COMP_3" value="2"/> <!-- Trans comp. --> 46 <value name="COMP_MAX" value="3"/> 47</enum> 48 49<enum name="mdp_bpc"> 50 <brief>bits per component (non-alpha channel)</brief> 51 <value name="BPC1" value="0"/> <!-- 1 bit --> 52 <value name="BPC5" value="1"/> <!-- 2 bits --> 53 <value name="BPC6" value="2"/> <!-- 6 bits --> 54 <value name="BPC8" value="3"/> <!-- 8 bits --> 55</enum> 56 57<enum name="mdp_bpc_alpha"> 58 <brief>bits per component (alpha channel)</brief> 59 <value name="BPC1A" value="0"/> <!-- 1 bit --> 60 <value name="BPC4A" value="1"/> <!-- 2 bits --> 61 <value name="BPC6A" value="2"/> <!-- 6 bits --> 62 <value name="BPC8A" value="3"/> <!-- 8 bits --> 63</enum> 64 65<bitset name="reg_wh" inline="yes"> 66 <bitfield name="HEIGHT" low="16" high="31" type="uint"/> 67 <bitfield name="WIDTH" low="0" high="15" type="uint"/> 68</bitset> 69 70<bitset name="reg_xy" inline="yes"> 71 <bitfield name="Y" low="16" high="31" type="uint"/> 72 <bitfield name="X" low="0" high="15" type="uint"/> 73</bitset> 74 75<bitset name="mdp_unpack_pattern" inline="yes"> 76 <bitfield name="ELEM0" low="0" high="7"/> 77 <bitfield name="ELEM1" low="8" high="15"/> 78 <bitfield name="ELEM2" low="16" high="23"/> 79 <bitfield name="ELEM3" low="24" high="31"/> 80</bitset> 81 82</database> 83 84