1 #ifndef MDP_COMMON_XML
2 #define MDP_COMMON_XML
3 
4 /* Autogenerated file, DO NOT EDIT manually!
5 
6 This file was generated by the rules-ng-ng headergen tool in this git repository:
7 http://github.com/freedreno/envytools/
8 git clone https://github.com/freedreno/envytools.git
9 
10 The rules-ng-ng source files this header was generated from are:
11 - /home/robclark/src/envytools/rnndb/msm.xml                 (    676 bytes, from 2018-07-03 19:37:13)
12 - /home/robclark/src/envytools/rnndb/freedreno_copyright.xml (   1572 bytes, from 2018-07-03 19:37:13)
13 - /home/robclark/src/envytools/rnndb/mdp/mdp4.xml            (  20915 bytes, from 2018-07-03 19:37:13)
14 - /home/robclark/src/envytools/rnndb/mdp/mdp_common.xml      (   2849 bytes, from 2018-07-03 19:37:13)
15 - /home/robclark/src/envytools/rnndb/mdp/mdp5.xml            (  37411 bytes, from 2018-07-03 19:37:13)
16 - /home/robclark/src/envytools/rnndb/dsi/dsi.xml             (  37239 bytes, from 2018-07-03 19:37:13)
17 - /home/robclark/src/envytools/rnndb/dsi/sfpb.xml            (    602 bytes, from 2018-07-03 19:37:13)
18 - /home/robclark/src/envytools/rnndb/dsi/mmss_cc.xml         (   1686 bytes, from 2018-07-03 19:37:13)
19 - /home/robclark/src/envytools/rnndb/hdmi/qfprom.xml         (    600 bytes, from 2018-07-03 19:37:13)
20 - /home/robclark/src/envytools/rnndb/hdmi/hdmi.xml           (  41799 bytes, from 2018-07-03 19:37:13)
21 - /home/robclark/src/envytools/rnndb/edp/edp.xml             (  10416 bytes, from 2018-07-03 19:37:13)
22 
23 Copyright (C) 2013-2018 by the following authors:
24 - Rob Clark <robdclark@gmail.com> (robclark)
25 - Ilia Mirkin <imirkin@alum.mit.edu> (imirkin)
26 
27 Permission is hereby granted, free of charge, to any person obtaining
28 a copy of this software and associated documentation files (the
29 "Software"), to deal in the Software without restriction, including
30 without limitation the rights to use, copy, modify, merge, publish,
31 distribute, sublicense, and/or sell copies of the Software, and to
32 permit persons to whom the Software is furnished to do so, subject to
33 the following conditions:
34 
35 The above copyright notice and this permission notice (including the
36 next paragraph) shall be included in all copies or substantial
37 portions of the Software.
38 
39 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
42 IN NO EVENT SHALL THE COPYRIGHT OWNER(S) AND/OR ITS SUPPLIERS BE
43 LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
44 OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
45 WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46 */
47 
48 
49 enum mdp_chroma_samp_type {
50 	CHROMA_FULL = 0,
51 	CHROMA_H2V1 = 1,
52 	CHROMA_H1V2 = 2,
53 	CHROMA_420 = 3,
54 };
55 
56 enum mdp_fetch_type {
57 	MDP_PLANE_INTERLEAVED = 0,
58 	MDP_PLANE_PLANAR = 1,
59 	MDP_PLANE_PSEUDO_PLANAR = 2,
60 };
61 
62 enum mdp_mixer_stage_id {
63 	STAGE_UNUSED = 0,
64 	STAGE_BASE = 1,
65 	STAGE0 = 2,
66 	STAGE1 = 3,
67 	STAGE2 = 4,
68 	STAGE3 = 5,
69 	STAGE4 = 6,
70 	STAGE5 = 7,
71 	STAGE6 = 8,
72 	STAGE_MAX = 8,
73 };
74 
75 enum mdp_alpha_type {
76 	FG_CONST = 0,
77 	BG_CONST = 1,
78 	FG_PIXEL = 2,
79 	BG_PIXEL = 3,
80 };
81 
82 enum mdp_component_type {
83 	COMP_0 = 0,
84 	COMP_1_2 = 1,
85 	COMP_3 = 2,
86 	COMP_MAX = 3,
87 };
88 
89 enum mdp_bpc {
90 	BPC1 = 0,
91 	BPC5 = 1,
92 	BPC6 = 2,
93 	BPC8 = 3,
94 };
95 
96 enum mdp_bpc_alpha {
97 	BPC1A = 0,
98 	BPC4A = 1,
99 	BPC6A = 2,
100 	BPC8A = 3,
101 };
102 
103 
104 #endif /* MDP_COMMON_XML */
105