1 | Index: App/utils/BitrateTargeting/ExtractBitrates.h |
---|
2 | =================================================================== |
---|
3 | --- App/utils/BitrateTargeting/ExtractBitrates.h (revision 2966) |
---|
4 | +++ App/utils/BitrateTargeting/ExtractBitrates.h (working copy) |
---|
5 | @@ -31,8 +31,8 @@ |
---|
6 | * THE POSSIBILITY OF SUCH DAMAGE. |
---|
7 | */ |
---|
8 | |
---|
9 | -#ifndef EXTRACT_BITRATES_H |
---|
10 | -#define EXTRACT_BITRATES_H |
---|
11 | +#ifndef __EXTRACTBITRATES__ |
---|
12 | +#define __EXTRACTBITRATES__ |
---|
13 | |
---|
14 | #include "RuntimeError.h" |
---|
15 | #include <vector> |
---|
16 | Index: App/utils/BitrateTargeting/GuessLambdaModifiers.h |
---|
17 | =================================================================== |
---|
18 | --- App/utils/BitrateTargeting/GuessLambdaModifiers.h (revision 2966) |
---|
19 | +++ App/utils/BitrateTargeting/GuessLambdaModifiers.h (working copy) |
---|
20 | @@ -31,8 +31,8 @@ |
---|
21 | * THE POSSIBILITY OF SUCH DAMAGE. |
---|
22 | */ |
---|
23 | |
---|
24 | -#ifndef CALCULATE_LAMBDA_MODIFIER_H |
---|
25 | -#define CALCULATE_LAMBDA_MODIFIER_H |
---|
26 | +#ifndef __GUESSLAMBDAMODIFIERS__ |
---|
27 | +#define __GUESSLAMBDAMODIFIERS__ |
---|
28 | |
---|
29 | #include "RuntimeError.h" |
---|
30 | #include <vector> |
---|
31 | Index: App/utils/BitrateTargeting/RuntimeError.h |
---|
32 | =================================================================== |
---|
33 | --- App/utils/BitrateTargeting/RuntimeError.h (revision 2966) |
---|
34 | +++ App/utils/BitrateTargeting/RuntimeError.h (working copy) |
---|
35 | @@ -31,8 +31,8 @@ |
---|
36 | * THE POSSIBILITY OF SUCH DAMAGE. |
---|
37 | */ |
---|
38 | |
---|
39 | -#ifndef DIRECTORY_LIB_RUNTIME_ERROR_H |
---|
40 | -#define DIRECTORY_LIB_RUNTIME_ERROR_H |
---|
41 | +#ifndef __RUNTIMEERROR__ |
---|
42 | +#define __RUNTIMEERROR__ |
---|
43 | |
---|
44 | #include <sstream> |
---|
45 | #include <stdexcept> |
---|
46 | Index: Lib/TAppCommon/program_options_lite.h |
---|
47 | =================================================================== |
---|
48 | --- Lib/TAppCommon/program_options_lite.h (revision 2966) |
---|
49 | +++ Lib/TAppCommon/program_options_lite.h (working copy) |
---|
50 | @@ -30,6 +30,10 @@ |
---|
51 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF |
---|
52 | * THE POSSIBILITY OF SUCH DAMAGE. |
---|
53 | */ |
---|
54 | + |
---|
55 | +#ifndef __PROGRAM_OPTIONS_LITE__ |
---|
56 | +#define __PROGRAM_OPTIONS_LITE__ |
---|
57 | + |
---|
58 | #include <iostream> |
---|
59 | #include <sstream> |
---|
60 | #include <string> |
---|
61 | @@ -230,3 +234,5 @@ |
---|
62 | }; /* namespace: df */ |
---|
63 | |
---|
64 | //! \} |
---|
65 | + |
---|
66 | +#endif |
---|
67 | Index: Lib/TLibCommon/AccessUnit.h |
---|
68 | =================================================================== |
---|
69 | --- Lib/TLibCommon/AccessUnit.h (revision 2966) |
---|
70 | +++ Lib/TLibCommon/AccessUnit.h (working copy) |
---|
71 | @@ -38,6 +38,9 @@ |
---|
72 | |
---|
73 | #pragma once |
---|
74 | |
---|
75 | +#ifndef __ACCESSUNIT__ |
---|
76 | +#define __ACCESSUNIT__ |
---|
77 | + |
---|
78 | #include <list> |
---|
79 | #include "NAL.h" |
---|
80 | |
---|
81 | @@ -69,3 +72,5 @@ |
---|
82 | }; |
---|
83 | |
---|
84 | //! \} |
---|
85 | + |
---|
86 | +#endif |
---|
87 | Index: Lib/TLibCommon/ContextModel.h |
---|
88 | =================================================================== |
---|
89 | --- Lib/TLibCommon/ContextModel.h (revision 2966) |
---|
90 | +++ Lib/TLibCommon/ContextModel.h (working copy) |
---|
91 | @@ -36,8 +36,8 @@ |
---|
92 | \brief context model class (header) |
---|
93 | */ |
---|
94 | |
---|
95 | -#ifndef __CONTEXT_MODEL__ |
---|
96 | -#define __CONTEXT_MODEL__ |
---|
97 | +#ifndef __CONTEXTMODEL__ |
---|
98 | +#define __CONTEXTMODEL__ |
---|
99 | |
---|
100 | #if _MSC_VER > 1000 |
---|
101 | #pragma once |
---|
102 | Index: Lib/TLibCommon/ContextModel3DBuffer.h |
---|
103 | =================================================================== |
---|
104 | --- Lib/TLibCommon/ContextModel3DBuffer.h (revision 2966) |
---|
105 | +++ Lib/TLibCommon/ContextModel3DBuffer.h (working copy) |
---|
106 | @@ -35,8 +35,8 @@ |
---|
107 | \brief context model 3D buffer class (header) |
---|
108 | */ |
---|
109 | |
---|
110 | -#ifndef _HM_CONTEXT_MODEL_3DBUFFER_H_ |
---|
111 | -#define _HM_CONTEXT_MODEL_3DBUFFER_H_ |
---|
112 | +#ifndef __CONTEXTMODEL3DBUFFER__ |
---|
113 | +#define __CONTEXTMODEL3DBUFFER__ |
---|
114 | |
---|
115 | #include <stdio.h> |
---|
116 | #include <assert.h> |
---|
117 | Index: Lib/TLibCommon/NAL.h |
---|
118 | =================================================================== |
---|
119 | --- Lib/TLibCommon/NAL.h (revision 2966) |
---|
120 | +++ Lib/TLibCommon/NAL.h (working copy) |
---|
121 | @@ -33,6 +33,9 @@ |
---|
122 | |
---|
123 | #pragma once |
---|
124 | |
---|
125 | +#ifndef __NAL__ |
---|
126 | +#define __NAL__ |
---|
127 | + |
---|
128 | #include <vector> |
---|
129 | #include <sstream> |
---|
130 | #include "CommonDef.h" |
---|
131 | @@ -111,3 +114,5 @@ |
---|
132 | }; |
---|
133 | //! \} |
---|
134 | //! \} |
---|
135 | + |
---|
136 | +#endif |
---|
137 | Index: Lib/TLibCommon/SEI.h |
---|
138 | =================================================================== |
---|
139 | --- Lib/TLibCommon/SEI.h (revision 2966) |
---|
140 | +++ Lib/TLibCommon/SEI.h (working copy) |
---|
141 | @@ -32,6 +32,10 @@ |
---|
142 | */ |
---|
143 | |
---|
144 | #pragma once |
---|
145 | + |
---|
146 | +#ifndef __SEI__ |
---|
147 | +#define __SEI__ |
---|
148 | + |
---|
149 | #include <list> |
---|
150 | #include <vector> |
---|
151 | #include <cstring> |
---|
152 | @@ -404,3 +408,5 @@ |
---|
153 | }; |
---|
154 | |
---|
155 | //! \} |
---|
156 | + |
---|
157 | +#endif |
---|
158 | Index: Lib/TLibCommon/TComBitCounter.h |
---|
159 | =================================================================== |
---|
160 | --- Lib/TLibCommon/TComBitCounter.h (revision 2966) |
---|
161 | +++ Lib/TLibCommon/TComBitCounter.h (working copy) |
---|
162 | @@ -35,8 +35,8 @@ |
---|
163 | \brief Class for counting bits (header) |
---|
164 | */ |
---|
165 | |
---|
166 | -#ifndef __COMBITCOUNTER__ |
---|
167 | -#define __COMBITCOUNTER__ |
---|
168 | +#ifndef __TCOMBITCOUNTER__ |
---|
169 | +#define __TCOMBITCOUNTER__ |
---|
170 | |
---|
171 | #if _MSC_VER > 1000 |
---|
172 | #pragma once |
---|
173 | Index: Lib/TLibCommon/TComBitStream.h |
---|
174 | =================================================================== |
---|
175 | --- Lib/TLibCommon/TComBitStream.h (revision 2966) |
---|
176 | +++ Lib/TLibCommon/TComBitStream.h (working copy) |
---|
177 | @@ -35,8 +35,8 @@ |
---|
178 | \brief class for handling bitstream (header) |
---|
179 | */ |
---|
180 | |
---|
181 | -#ifndef __COMBITSTREAM__ |
---|
182 | -#define __COMBITSTREAM__ |
---|
183 | +#ifndef __TCOMBITSTREAM__ |
---|
184 | +#define __TCOMBITSTREAM__ |
---|
185 | |
---|
186 | #if _MSC_VER > 1000 |
---|
187 | #pragma once |
---|
188 | Index: Lib/TLibCommon/TComCABACTables.h |
---|
189 | =================================================================== |
---|
190 | --- Lib/TLibCommon/TComCABACTables.h (revision 2966) |
---|
191 | +++ Lib/TLibCommon/TComCABACTables.h (working copy) |
---|
192 | @@ -35,8 +35,8 @@ |
---|
193 | \brief static class for CABAC tables |
---|
194 | */ |
---|
195 | |
---|
196 | -#ifndef __TCOM_CABAC_TABLES__ |
---|
197 | -#define __TCOM_CABAC_TABLES__ |
---|
198 | +#ifndef __TCOMCABACTABLES__ |
---|
199 | +#define __TCOMCABACTABLES__ |
---|
200 | |
---|
201 | #include "TLibCommon/CommonDef.h" |
---|
202 | |
---|
203 | Index: Lib/TLibCommon/TComDataCU.h |
---|
204 | =================================================================== |
---|
205 | --- Lib/TLibCommon/TComDataCU.h (revision 2966) |
---|
206 | +++ Lib/TLibCommon/TComDataCU.h (working copy) |
---|
207 | @@ -36,8 +36,8 @@ |
---|
208 | \todo not all entities are documented |
---|
209 | */ |
---|
210 | |
---|
211 | -#ifndef _TCOMDATACU_ |
---|
212 | -#define _TCOMDATACU_ |
---|
213 | +#ifndef __TCOMDATACU__ |
---|
214 | +#define __TCOMDATACU__ |
---|
215 | |
---|
216 | #include <assert.h> |
---|
217 | |
---|
218 | Index: Lib/TLibCommon/TComInterpolationFilter.h |
---|
219 | =================================================================== |
---|
220 | --- Lib/TLibCommon/TComInterpolationFilter.h (revision 2966) |
---|
221 | +++ Lib/TLibCommon/TComInterpolationFilter.h (working copy) |
---|
222 | @@ -36,8 +36,8 @@ |
---|
223 | * \brief Declaration of TComInterpolationFilter class |
---|
224 | */ |
---|
225 | |
---|
226 | -#ifndef __HM_TCOMINTERPOLATIONFILTER_H__ |
---|
227 | -#define __HM_TCOMINTERPOLATIONFILTER_H__ |
---|
228 | +#ifndef __TCOMINTERPOLATIONFILTER__ |
---|
229 | +#define __TCOMINTERPOLATIONFILTER__ |
---|
230 | |
---|
231 | #include "TypeDef.h" |
---|
232 | |
---|
233 | Index: Lib/TLibCommon/TComList.h |
---|
234 | =================================================================== |
---|
235 | --- Lib/TLibCommon/TComList.h (revision 2966) |
---|
236 | +++ Lib/TLibCommon/TComList.h (working copy) |
---|
237 | @@ -35,8 +35,8 @@ |
---|
238 | \brief general list class (header) |
---|
239 | */ |
---|
240 | |
---|
241 | -#ifndef _TCOMLIST_ |
---|
242 | -#define _TCOMLIST_ |
---|
243 | +#ifndef __TCOMLIST__ |
---|
244 | +#define __TCOMLIST__ |
---|
245 | |
---|
246 | #if _MSC_VER > 1000 |
---|
247 | #pragma once |
---|
248 | Index: Lib/TLibCommon/TypeDef.h |
---|
249 | =================================================================== |
---|
250 | --- Lib/TLibCommon/TypeDef.h (revision 2966) |
---|
251 | +++ Lib/TLibCommon/TypeDef.h (working copy) |
---|
252 | @@ -35,8 +35,8 @@ |
---|
253 | \brief Define basic types, new types and enumerations |
---|
254 | */ |
---|
255 | |
---|
256 | -#ifndef _TYPEDEF__ |
---|
257 | -#define _TYPEDEF__ |
---|
258 | +#ifndef __TYPEDEF__ |
---|
259 | +#define __TYPEDEF__ |
---|
260 | |
---|
261 | //! \ingroup TLibCommon |
---|
262 | //! \{ |
---|
263 | Index: Lib/TLibDecoder/AnnexBread.h |
---|
264 | =================================================================== |
---|
265 | --- Lib/TLibDecoder/AnnexBread.h (revision 2966) |
---|
266 | +++ Lib/TLibDecoder/AnnexBread.h (working copy) |
---|
267 | @@ -38,6 +38,9 @@ |
---|
268 | |
---|
269 | #pragma once |
---|
270 | |
---|
271 | +#ifndef __ANNEXBREAD__ |
---|
272 | +#define __ANNEXBREAD__ |
---|
273 | + |
---|
274 | #include <stdint.h> |
---|
275 | #include <istream> |
---|
276 | #include <vector> |
---|
277 | @@ -184,3 +187,5 @@ |
---|
278 | Bool byteStreamNALUnit(InputByteStream& bs, std::vector<uint8_t>& nalUnit, AnnexBStats& stats); |
---|
279 | |
---|
280 | //! \} |
---|
281 | + |
---|
282 | +#endif |
---|
283 | Index: Lib/TLibDecoder/NALread.h |
---|
284 | =================================================================== |
---|
285 | --- Lib/TLibDecoder/NALread.h (revision 2966) |
---|
286 | +++ Lib/TLibDecoder/NALread.h (working copy) |
---|
287 | @@ -38,6 +38,9 @@ |
---|
288 | |
---|
289 | #pragma once |
---|
290 | |
---|
291 | +#ifndef __NALREAD__ |
---|
292 | +#define __NALREAD__ |
---|
293 | + |
---|
294 | #include "TLibCommon/TypeDef.h" |
---|
295 | #include "TLibCommon/TComBitStream.h" |
---|
296 | #include "TLibCommon/NAL.h" |
---|
297 | @@ -60,3 +63,5 @@ |
---|
298 | void read(InputNALUnit& nalu, std::vector<uint8_t>& nalUnitBuf); |
---|
299 | |
---|
300 | //! \} |
---|
301 | + |
---|
302 | +#endif |
---|
303 | Index: Lib/TLibDecoder/TDecBinCoder.h |
---|
304 | =================================================================== |
---|
305 | --- Lib/TLibDecoder/TDecBinCoder.h (revision 2966) |
---|
306 | +++ Lib/TLibDecoder/TDecBinCoder.h (working copy) |
---|
307 | @@ -35,8 +35,8 @@ |
---|
308 | \brief binary entropy decoder interface |
---|
309 | */ |
---|
310 | |
---|
311 | -#ifndef __TDEC_BIN_CODER__ |
---|
312 | -#define __TDEC_BIN_CODER__ |
---|
313 | +#ifndef __TDECBINCODER__ |
---|
314 | +#define __TDECBINCODER__ |
---|
315 | |
---|
316 | #include "TLibCommon/ContextModel.h" |
---|
317 | #include "TLibCommon/TComBitStream.h" |
---|
318 | Index: Lib/TLibDecoder/TDecBinCoderCABAC.h |
---|
319 | =================================================================== |
---|
320 | --- Lib/TLibDecoder/TDecBinCoderCABAC.h (revision 2966) |
---|
321 | +++ Lib/TLibDecoder/TDecBinCoderCABAC.h (working copy) |
---|
322 | @@ -35,8 +35,8 @@ |
---|
323 | \brief binary entropy decoder of CABAC |
---|
324 | */ |
---|
325 | |
---|
326 | -#ifndef __TDEC_BIN_CODER_CABAC__ |
---|
327 | -#define __TDEC_BIN_CODER_CABAC__ |
---|
328 | +#ifndef __TDECBINCODERCABAC__ |
---|
329 | +#define __TDECBINCODERCABAC__ |
---|
330 | |
---|
331 | #include "TLibCommon/TComCABACTables.h" |
---|
332 | #include "TDecBinCoder.h" |
---|
333 | Index: Lib/TLibEncoder/AnnexBwrite.h |
---|
334 | =================================================================== |
---|
335 | --- Lib/TLibEncoder/AnnexBwrite.h (revision 2966) |
---|
336 | +++ Lib/TLibEncoder/AnnexBwrite.h (working copy) |
---|
337 | @@ -33,6 +33,9 @@ |
---|
338 | |
---|
339 | #pragma once |
---|
340 | |
---|
341 | +#ifndef __ANNEXBWRITE__ |
---|
342 | +#define __ANNEXBWRITE__ |
---|
343 | + |
---|
344 | #include <ostream> |
---|
345 | #include "TLibCommon/AccessUnit.h" |
---|
346 | #include "NALwrite.h" |
---|
347 | @@ -84,3 +87,5 @@ |
---|
348 | return annexBsizes; |
---|
349 | } |
---|
350 | //! \} |
---|
351 | + |
---|
352 | +#endif |
---|
353 | Index: Lib/TLibEncoder/NALwrite.h |
---|
354 | =================================================================== |
---|
355 | --- Lib/TLibEncoder/NALwrite.h (revision 2966) |
---|
356 | +++ Lib/TLibEncoder/NALwrite.h (working copy) |
---|
357 | @@ -33,6 +33,9 @@ |
---|
358 | |
---|
359 | #pragma once |
---|
360 | |
---|
361 | +#ifndef __NALWRITE__ |
---|
362 | +#define __NALWRITE__ |
---|
363 | + |
---|
364 | #include <ostream> |
---|
365 | |
---|
366 | #include "TLibCommon/TypeDef.h" |
---|
367 | @@ -83,3 +86,5 @@ |
---|
368 | void copyNaluData(OutputNALUnit& naluDest, const OutputNALUnit& naluSrc); |
---|
369 | |
---|
370 | //! \} |
---|
371 | + |
---|
372 | +#endif |
---|
373 | Index: Lib/TLibEncoder/SEIwrite.h |
---|
374 | =================================================================== |
---|
375 | --- Lib/TLibEncoder/SEIwrite.h (revision 2966) |
---|
376 | +++ Lib/TLibEncoder/SEIwrite.h (working copy) |
---|
377 | @@ -33,6 +33,9 @@ |
---|
378 | |
---|
379 | #pragma once |
---|
380 | |
---|
381 | +#ifndef __SEIWRITE__ |
---|
382 | +#define __SEIWRITE__ |
---|
383 | + |
---|
384 | #include "SyntaxElementWriter.h" |
---|
385 | #include "TLibCommon/SEI.h" |
---|
386 | |
---|
387 | @@ -69,3 +72,5 @@ |
---|
388 | }; |
---|
389 | |
---|
390 | //! \} |
---|
391 | + |
---|
392 | +#endif |
---|
393 | Index: Lib/TLibEncoder/TEncBinCoder.h |
---|
394 | =================================================================== |
---|
395 | --- Lib/TLibEncoder/TEncBinCoder.h (revision 2966) |
---|
396 | +++ Lib/TLibEncoder/TEncBinCoder.h (working copy) |
---|
397 | @@ -35,8 +35,8 @@ |
---|
398 | \brief binary entropy encoder interface |
---|
399 | */ |
---|
400 | |
---|
401 | -#ifndef __TENC_BIN_CODER__ |
---|
402 | -#define __TENC_BIN_CODER__ |
---|
403 | +#ifndef __TENCBINCODER__ |
---|
404 | +#define __TENCBINCODER__ |
---|
405 | |
---|
406 | #include "TLibCommon/ContextModel.h" |
---|
407 | #include "TLibCommon/TComBitStream.h" |
---|
408 | Index: Lib/TLibEncoder/TEncBinCoderCABAC.h |
---|
409 | =================================================================== |
---|
410 | --- Lib/TLibEncoder/TEncBinCoderCABAC.h (revision 2966) |
---|
411 | +++ Lib/TLibEncoder/TEncBinCoderCABAC.h (working copy) |
---|
412 | @@ -35,8 +35,8 @@ |
---|
413 | \brief binary entropy encoder of CABAC |
---|
414 | */ |
---|
415 | |
---|
416 | -#ifndef __TENC_BIN_CODER_CABAC__ |
---|
417 | -#define __TENC_BIN_CODER_CABAC__ |
---|
418 | +#ifndef __TENCBINCODERCABAC__ |
---|
419 | +#define __TENCBINCODERCABAC__ |
---|
420 | |
---|
421 | #include "TLibCommon/TComCABACTables.h" |
---|
422 | #include "TEncBinCoder.h" |
---|
423 | Index: Lib/TLibEncoder/TEncBinCoderCABACCounter.h |
---|
424 | =================================================================== |
---|
425 | --- Lib/TLibEncoder/TEncBinCoderCABACCounter.h (revision 2966) |
---|
426 | +++ Lib/TLibEncoder/TEncBinCoderCABACCounter.h (working copy) |
---|
427 | @@ -35,8 +35,8 @@ |
---|
428 | \brief binary entropy encoder of CABAC |
---|
429 | */ |
---|
430 | |
---|
431 | -#ifndef __TENC_BIN_CODER_CABAC_COUNTER__ |
---|
432 | -#define __TENC_BIN_CODER_CABAC_COUNTER__ |
---|
433 | +#ifndef __TENCBINCODERCABACCOUNTER__ |
---|
434 | +#define __TENCBINCODERCABACCOUNTER__ |
---|
435 | |
---|
436 | |
---|
437 | #include "TEncBinCoderCABAC.h" |
---|
438 | Index: Lib/TLibEncoder/TEncRateCtrl.h |
---|
439 | =================================================================== |
---|
440 | --- Lib/TLibEncoder/TEncRateCtrl.h (revision 2966) |
---|
441 | +++ Lib/TLibEncoder/TEncRateCtrl.h (working copy) |
---|
442 | @@ -35,8 +35,8 @@ |
---|
443 | \brief Rate control manager class |
---|
444 | */ |
---|
445 | |
---|
446 | -#ifndef _HM_TENCRATECTRL_H_ |
---|
447 | -#define _HM_TENCRATECTRL_H_ |
---|
448 | +#ifndef __TENCRATECTRL__ |
---|
449 | +#define __TENCRATECTRL__ |
---|
450 | |
---|
451 | #if _MSC_VER > 1000 |
---|
452 | #pragma once |
---|