Debian Codegraph @

src/shaders/h264/mc/AllAVC_Export.inc

raw
1 /*
2 * Copyright © <2010>, Intel Corporation.
3 *
4 * Permission is hereby granted, free of charge, to any person obtaining a
5 * copy of this software and associated documentation files (the
6 * "Software"), to deal in the Software without restriction, including
7 * without limitation the rights to use, copy, modify, merge, publish,
8 * distribute, sub license, and/or sell copies of the Software, and to
9 * permit persons to whom the Software is furnished to do so, subject to
10 * the following conditions:
11 *
12 * The above copyright notice and this permission notice (including the
13 * next paragraph) shall be included in all copies or substantial portions
14 * of the Software.
15 *
16 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
17 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
19 * IN NO EVENT SHALL PRECISION INSIGHT AND/OR ITS SUPPLIERS BE LIABLE FOR
20 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
21 * TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
22 * SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
23 *
24 * This file was originally licensed under the following license
25 *
26 * Licensed under the Apache License, Version 2.0 (the "License");
27 * you may not use this file except in compliance with the License.
28 * You may obtain a copy of the License at
29 *
30 * http://www.apache.org/licenses/LICENSE-2.0
31 *
32 * Unless required by applicable law or agreed to in writing, software
33 * distributed under the License is distributed on an "AS IS" BASIS,
34 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35 * See the License for the specific language governing permissions and
36 * limitations under the License.
37 *
38 */
39 .export entry_point INTRA_16x16
40 .export entry_point INTRA_8x8
41 .export entry_point INTRA_4x4
42 .export entry_point INTRA_PCM
43 .export entry_point FRAME_MB
44 .export entry_point FIELD_MB
45 .export entry_point MBAFF_MB
46 #ifdef SW_SCOREBOARD
47 .export entry_point SCOREBOARD
48 .export entry_point SCOREBOARD_MBAFF
49 #elif defined(HW_SCOREBOARD)
50 .export entry_point SETHWSCOREBOARD
51 .export entry_point SETHWSCOREBOARD_MBAFF
52 #endif // SW_SCOREBOARD
53
54 #ifdef ENABLE_ILDB
55 .export entry_point AVC_ILDB_ROOT_Y_ILDB_FRAME
56 .export entry_point AVC_ILDB_CHILD_Y_ILDB_FRAME
57 .export entry_point AVC_ILDB_ROOT_UV_ILDB_FRAME
58 .export entry_point AVC_ILDB_CHILD_UV_ILDB_FRAME
59 .export entry_point AVC_ILDB_ROOT_Y_ILDB_FIELD
60 .export entry_point AVC_ILDB_CHILD_Y_ILDB_FIELD
61 .export entry_point AVC_ILDB_ROOT_UV_ILDB_FIELD
62 .export entry_point AVC_ILDB_CHILD_UV_ILDB_FIELD
63 .export entry_point AVC_ILDB_ROOT_Y_ILDB_MBAFF
64 .export entry_point AVC_ILDB_CHILD_Y_ILDB_MBAFF
65 .export entry_point AVC_ILDB_ROOT_UV_ILDB_MBAFF
66 .export entry_point AVC_ILDB_CHILD_UV_ILDB_MBAFF
67 #endif // ENABLE_ILDB
68
69 .export entry_point BSDRESET
70 .export entry_point DCRESETDUMMY
71
72 .export label INTRA_16x16_VERTICAL
73 .export label INTRA_16x16_HORIZONTAL
74 .export label INTRA_16x16_DC
75 .export label INTRA_16x16_PLANE
76
77 .export label INTRA_8X8_VERTICAL
78 .export label INTRA_8X8_HORIZONTAL
79 .export label INTRA_8X8_DC
80 .export label INTRA_8X8_DIAG_DOWN_LEFT
81 .export label INTRA_8X8_DIAG_DOWN_RIGHT
82 .export label INTRA_8X8_VERT_RIGHT
83 .export label INTRA_8X8_HOR_DOWN
84 .export label INTRA_8X8_VERT_LEFT
85 .export label INTRA_8X8_HOR_UP
86
87 .export label INTRA_4X4_VERTICAL
88 .export label INTRA_4X4_HORIZONTAL
89 .export label INTRA_4X4_DC
90 .export label INTRA_4X4_DIAG_DOWN_LEFT
91 .export label INTRA_4X4_DIAG_DOWN_RIGHT
92 .export label INTRA_4X4_VERT_RIGHT
93 .export label INTRA_4X4_HOR_DOWN
94 .export label INTRA_4X4_VERT_LEFT
95 .export label INTRA_4X4_HOR_UP
96
97 .export label INTRA_CHROMA_DC
98 .export label INTRA_CHROMA_HORIZONTAL
99 .export label INTRA_CHROMA_VERTICAL
100 .export label INTRA_Chroma_PLANE
101
102 .export label intra_Pred_4x4_Y
103 .export label ADD_ERROR_SB0
104 .export label ADD_ERROR_SB1
105 .export label ADD_ERROR_SB2
106 .export label ADD_ERROR_SB3
107
108 .export label AllAVC_END
109
110 #ifdef SW_SCOREBOARD
111 .export label MB_Loop
112 .export label No_Message
113 .export label Dependency_Check
114 .export label Notify_MSG
115 .export label Update_CurMB
116 .export label MBAFF_MB_Loop
117 .export label MBAFF_No_Message
118 .export label MBAFF_Dependency_Check
119 .export label MBAFF_Notify_MSG
120 .export label MBAFF_Update_CurMB
121
122 //.export label
123
124 // Definitions for first pass MC kernel building
125 #ifndef No_Message_IP
126 #define No_Message_IP 0
127 #endif
128
129 #ifndef Dependency_Check_IP
130 #define Dependency_Check_IP 0
131 #endif
132
133 #ifndef Notify_MSG_IP
134 #define Notify_MSG_IP 0
135 #endif
136
137 #ifndef Update_CurMB_IP
138 #define Update_CurMB_IP 0
139 #endif
140
141 #ifndef MBAFF_No_Message_IP
142 #define MBAFF_No_Message_IP 0
143 #endif
144
145 #ifndef MBAFF_Dependency_Check_IP
146 #define MBAFF_Dependency_Check_IP 0
147 #endif
148
149 #ifndef MBAFF_Notify_MSG_IP
150 #define MBAFF_Notify_MSG_IP 0
151 #endif
152
153 #ifndef AS_ENABLED
154 #ifndef MBAFF_MB_Loop_IP
155 #define MBAFF_MB_Loop_IP 0
156 #endif
157
158 #ifndef MB_Loop_IP
159 #define MB_Loop_IP 0
160 #endif
161 #endif // End AS_ENABLED
162
163 #ifndef MBAFF_Update_CurMB_IP
164 #define MBAFF_Update_CurMB_IP 0
165 #endif
166
167 #endif // SW_SCOREBOARD
168
169 #ifdef ENABLE_ILDB
170 .export label ALL_SPAWNED_UV_ILDB_FRAME
171 .export label SLEEP_ENTRY_UV_ILDB_FRAME
172 .export label POST_SLEEP_UV_ILDB_FRAME
173 .export label ALL_SPAWNED_Y_ILDB_FRAME
174 .export label SLEEP_ENTRY_Y_ILDB_FRAME
175 .export label POST_SLEEP_Y_ILDB_FRAME
176
177 // Definitions for first pass ILDB kernel building
178 #ifndef ALL_SPAWNED_UV_ILDB_FRAME_IP
179 #define ALL_SPAWNED_UV_ILDB_FRAME_IP 0
180 #endif
181
182 #ifndef SLEEP_ENTRY_UV_ILDB_FRAME_IP
183 #define SLEEP_ENTRY_UV_ILDB_FRAME_IP 0
184 #endif
185
186 #ifndef POST_SLEEP_UV_ILDB_FRAME_IP
187 #define POST_SLEEP_UV_ILDB_FRAME_IP 0
188 #endif
189
190 #ifndef ALL_SPAWNED_Y_ILDB_FRAME_IP
191 #define ALL_SPAWNED_Y_ILDB_FRAME_IP 0
192 #endif
193
194 #ifndef SLEEP_ENTRY_Y_ILDB_FRAME_IP
195 #define SLEEP_ENTRY_Y_ILDB_FRAME_IP 0
196 #endif
197
198 #ifndef POST_SLEEP_Y_ILDB_FRAME_IP
199 #define POST_SLEEP_Y_ILDB_FRAME_IP 0
200 #endif
201
202 #endif // ENABLE_ILDB