Debian Codegraph @

core/libs/dngwriter/extra/dng_sdk/dng_globals.h

raw
1 /*****************************************************************************/
2 // Copyright 2006-2019 Adobe Systems Incorporated
3 // All Rights Reserved.
4 //
5 // NOTICE: Adobe permits you to use, modify, and distribute this file in
6 // accordance with the terms of the Adobe license agreement accompanying it.
7 /*****************************************************************************/
8
9 /** \file
10 * Definitions of global variables controling DNG SDK behavior.
11 */
12
13 /*****************************************************************************/
14
15 #ifndef __dng_globals__
16 #define __dng_globals__
17
18 /*****************************************************************************/
19
20 #include "dng_flags.h"
21 #include "dng_types.h"
22
23 /*****************************************************************************/
24
25 #if qDNGValidate || qDNGDebug
26
27 /// When validation (qValidate) is turned on, this global enables verbose
28 /// output about DNG tags and other properties.
29
30 extern bool gVerbose;
31
32 /// When validation (qValidate) is turned on, and verbose mode (gVerbose) is
33 /// enabled, limits the number of lines of text that are dumped for each tag.
34
35 extern uint32 gDumpLineLimit;
36
37 #endif
38
39 /*****************************************************************************/
40
41 // Print out results from dng_timers?
42
43 extern bool gDNGShowTimers;
44
45 /******************************************************************************/
46
47 // MWG says don't use fake time zones in XMP, but there is some
48 // old software that requires them to work correctly.
49
50 extern bool gDNGUseFakeTimeZonesInXMP;
51
52 /*****************************************************************************/
53
54 // Stream block size. Choose a size that the OS likes for file system
55 // efficent read/write alignment.
56
57 extern uint32 gDNGStreamBlockSize;
58
59 // Maximum stream buffer size to use on large reads and writes.
60
61 extern uint32 gDNGMaxStreamBufferSize;
62
63 /*****************************************************************************/
64
65 // Are we running as part of the imagecore library?
66
67 extern bool gImagecore;
68
69 // Print out timing info for area tasks?
70
71 extern bool gPrintTimings;
72
73 // Print assert messages?
74
75 extern bool gPrintAsserts;
76
77 // Break into debugger on asserts?
78
79 extern bool gBreakOnAsserts;
80
81 /*****************************************************************************/
82
83 #endif
84
85 /*****************************************************************************/