diff options
Diffstat (limited to 'drivers/gpu/pvr/include4/pdumpdefs.h')
-rw-r--r-- | drivers/gpu/pvr/include4/pdumpdefs.h | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/drivers/gpu/pvr/include4/pdumpdefs.h b/drivers/gpu/pvr/include4/pdumpdefs.h new file mode 100644 index 000000000000..2ba36c37fb88 --- /dev/null +++ b/drivers/gpu/pvr/include4/pdumpdefs.h | |||
@@ -0,0 +1,127 @@ | |||
1 | /*************************************************************************/ /*! | ||
2 | @Title PDUMP definitions header | ||
3 | @Copyright Copyright (c) Imagination Technologies Ltd. All Rights Reserved | ||
4 | @Description PDUMP definitions header | ||
5 | @License Dual MIT/GPLv2 | ||
6 | |||
7 | The contents of this file are subject to the MIT license as set out below. | ||
8 | |||
9 | Permission is hereby granted, free of charge, to any person obtaining a copy | ||
10 | of this software and associated documentation files (the "Software"), to deal | ||
11 | in the Software without restriction, including without limitation the rights | ||
12 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
13 | copies of the Software, and to permit persons to whom the Software is | ||
14 | furnished to do so, subject to the following conditions: | ||
15 | |||
16 | The above copyright notice and this permission notice shall be included in | ||
17 | all copies or substantial portions of the Software. | ||
18 | |||
19 | Alternatively, the contents of this file may be used under the terms of | ||
20 | the GNU General Public License Version 2 ("GPL") in which case the provisions | ||
21 | of GPL are applicable instead of those above. | ||
22 | |||
23 | If you wish to allow use of your version of this file only under the terms of | ||
24 | GPL, and not to allow others to use your version of this file under the terms | ||
25 | of the MIT license, indicate your decision by deleting the provisions above | ||
26 | and replace them with the notice and other provisions required by GPL as set | ||
27 | out in the file called "GPL-COPYING" included in this distribution. If you do | ||
28 | not delete the provisions above, a recipient may use your version of this file | ||
29 | under the terms of either the MIT license or GPL. | ||
30 | |||
31 | This License is also included in this distribution in the file called | ||
32 | "MIT-COPYING". | ||
33 | |||
34 | EXCEPT AS OTHERWISE STATED IN A NEGOTIATED AGREEMENT: (A) THE SOFTWARE IS | ||
35 | PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING | ||
36 | BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR | ||
37 | PURPOSE AND NONINFRINGEMENT; AND (B) IN NO EVENT SHALL THE AUTHORS OR | ||
38 | COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER | ||
39 | IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
40 | CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
41 | */ /**************************************************************************/ | ||
42 | #if !defined (__PDUMPDEFS_H__) | ||
43 | #define __PDUMPDEFS_H__ | ||
44 | |||
45 | typedef enum _PDUMP_PIXEL_FORMAT_ | ||
46 | { | ||
47 | PVRSRV_PDUMP_PIXEL_FORMAT_UNSUPPORTED = 0, | ||
48 | PVRSRV_PDUMP_PIXEL_FORMAT_RGB8 = 1, | ||
49 | PVRSRV_PDUMP_PIXEL_FORMAT_RGB332 = 2, | ||
50 | PVRSRV_PDUMP_PIXEL_FORMAT_KRGB555 = 3, | ||
51 | PVRSRV_PDUMP_PIXEL_FORMAT_RGB565 = 4, | ||
52 | PVRSRV_PDUMP_PIXEL_FORMAT_ARGB4444 = 5, | ||
53 | PVRSRV_PDUMP_PIXEL_FORMAT_ARGB1555 = 6, | ||
54 | PVRSRV_PDUMP_PIXEL_FORMAT_RGB888 = 7, | ||
55 | PVRSRV_PDUMP_PIXEL_FORMAT_ARGB8888 = 8, | ||
56 | PVRSRV_PDUMP_PIXEL_FORMAT_YUV8 = 9, | ||
57 | PVRSRV_PDUMP_PIXEL_FORMAT_AYUV4444 = 10, | ||
58 | PVRSRV_PDUMP_PIXEL_FORMAT_VY0UY1_8888 = 11, | ||
59 | PVRSRV_PDUMP_PIXEL_FORMAT_UY0VY1_8888 = 12, | ||
60 | PVRSRV_PDUMP_PIXEL_FORMAT_Y0UY1V_8888 = 13, | ||
61 | PVRSRV_PDUMP_PIXEL_FORMAT_Y0VY1U_8888 = 14, | ||
62 | PVRSRV_PDUMP_PIXEL_FORMAT_YUV888 = 15, | ||
63 | PVRSRV_PDUMP_PIXEL_FORMAT_UYVY10101010 = 16, | ||
64 | PVRSRV_PDUMP_PIXEL_FORMAT_VYAUYA8888 = 17, | ||
65 | PVRSRV_PDUMP_PIXEL_FORMAT_AYUV8888 = 18, | ||
66 | PVRSRV_PDUMP_PIXEL_FORMAT_AYUV2101010 = 19, | ||
67 | PVRSRV_PDUMP_PIXEL_FORMAT_YUV101010 = 20, | ||
68 | PVRSRV_PDUMP_PIXEL_FORMAT_PL12Y8 = 21, | ||
69 | PVRSRV_PDUMP_PIXEL_FORMAT_YUV_IMC2 = 22, | ||
70 | PVRSRV_PDUMP_PIXEL_FORMAT_YUV_YV12 = 23, | ||
71 | PVRSRV_PDUMP_PIXEL_FORMAT_YUV_PL8 = 24, | ||
72 | PVRSRV_PDUMP_PIXEL_FORMAT_YUV_PL12 = 25, | ||
73 | PVRSRV_PDUMP_PIXEL_FORMAT_422PL12YUV8 = 26, | ||
74 | PVRSRV_PDUMP_PIXEL_FORMAT_420PL12YUV8 = 27, | ||
75 | PVRSRV_PDUMP_PIXEL_FORMAT_PL12Y10 = 28, | ||
76 | PVRSRV_PDUMP_PIXEL_FORMAT_422PL12YUV10 = 29, | ||
77 | PVRSRV_PDUMP_PIXEL_FORMAT_420PL12YUV10 = 30, | ||
78 | PVRSRV_PDUMP_PIXEL_FORMAT_ABGR8888 = 31, | ||
79 | PVRSRV_PDUMP_PIXEL_FORMAT_BGRA8888 = 32, | ||
80 | PVRSRV_PDUMP_PIXEL_FORMAT_ARGB8332 = 33, | ||
81 | PVRSRV_PDUMP_PIXEL_FORMAT_RGB555 = 34, | ||
82 | PVRSRV_PDUMP_PIXEL_FORMAT_F16 = 35, | ||
83 | PVRSRV_PDUMP_PIXEL_FORMAT_F32 = 36, | ||
84 | PVRSRV_PDUMP_PIXEL_FORMAT_L16 = 37, | ||
85 | PVRSRV_PDUMP_PIXEL_FORMAT_L32 = 38, | ||
86 | PVRSRV_PDUMP_PIXEL_FORMAT_RGBA8888 = 39, | ||
87 | PVRSRV_PDUMP_PIXEL_FORMAT_ABGR4444 = 40, | ||
88 | PVRSRV_PDUMP_PIXEL_FORMAT_RGBA4444 = 41, | ||
89 | PVRSRV_PDUMP_PIXEL_FORMAT_BGRA4444 = 42, | ||
90 | PVRSRV_PDUMP_PIXEL_FORMAT_ABGR1555 = 43, | ||
91 | PVRSRV_PDUMP_PIXEL_FORMAT_RGBA5551 = 44, | ||
92 | PVRSRV_PDUMP_PIXEL_FORMAT_BGRA5551 = 45, | ||
93 | PVRSRV_PDUMP_PIXEL_FORMAT_BGR565 = 46, | ||
94 | PVRSRV_PDUMP_PIXEL_FORMAT_A8 = 47, | ||
95 | |||
96 | PVRSRV_PDUMP_PIXEL_FORMAT_FORCE_I32 = 0x7fffffff | ||
97 | |||
98 | } PDUMP_PIXEL_FORMAT; | ||
99 | |||
100 | typedef enum _PDUMP_MEM_FORMAT_ | ||
101 | { | ||
102 | PVRSRV_PDUMP_MEM_FORMAT_STRIDE = 0, | ||
103 | PVRSRV_PDUMP_MEM_FORMAT_RESERVED = 1, | ||
104 | PVRSRV_PDUMP_MEM_FORMAT_TILED = 8, | ||
105 | PVRSRV_PDUMP_MEM_FORMAT_TWIDDLED = 9, | ||
106 | PVRSRV_PDUMP_MEM_FORMAT_HYBRID = 10, | ||
107 | |||
108 | PVRSRV_PDUMP_MEM_FORMAT_FORCE_I32 = 0x7fffffff | ||
109 | } PDUMP_MEM_FORMAT; | ||
110 | |||
111 | typedef enum _PDUMP_POLL_OPERATOR | ||
112 | { | ||
113 | PDUMP_POLL_OPERATOR_EQUAL = 0, | ||
114 | PDUMP_POLL_OPERATOR_LESS = 1, | ||
115 | PDUMP_POLL_OPERATOR_LESSEQUAL = 2, | ||
116 | PDUMP_POLL_OPERATOR_GREATER = 3, | ||
117 | PDUMP_POLL_OPERATOR_GREATEREQUAL = 4, | ||
118 | PDUMP_POLL_OPERATOR_NOTEQUAL = 5, | ||
119 | PDUMP_POLL_OPERATOR_FORCE_I32 = 0x7fffffff | ||
120 | } PDUMP_POLL_OPERATOR; | ||
121 | |||
122 | |||
123 | #endif /* __PDUMPDEFS_H__ */ | ||
124 | |||
125 | /***************************************************************************** | ||
126 | End of file (pdumpdefs.h) | ||
127 | *****************************************************************************/ | ||