File indexing completed on 2025-01-19 03:54:58

0001 /*****************************************************************************/
0002 // Copyright 2006-2019 Adobe Systems Incorporated
0003 // All Rights Reserved.
0004 //
0005 // NOTICE:  Adobe permits you to use, modify, and distribute this file in
0006 // accordance with the terms of the Adobe license agreement accompanying it.
0007 /*****************************************************************************/
0008 
0009 /** \file
0010  * Definitions of global variables controling DNG SDK behavior.
0011  */
0012 
0013 /*****************************************************************************/
0014 
0015 #ifndef __dng_globals__
0016 #define __dng_globals__
0017 
0018 /*****************************************************************************/
0019 
0020 #include "dng_flags.h"
0021 #include "dng_types.h"
0022 
0023 /*****************************************************************************/
0024 
0025 #if qDNGValidate
0026 
0027 /// When validation (qValidate) is turned on, this global enables verbose
0028 /// output about DNG tags and other properties.
0029 
0030 extern bool gVerbose;
0031 
0032 /// When validation (qValidate) is turned on, and verbose mode (gVerbose) is
0033 /// enabled, limits the number of lines of text that are dumped for each tag.
0034 
0035 extern uint32 gDumpLineLimit;
0036 
0037 #endif
0038 
0039 /*****************************************************************************/
0040 
0041 // Print out results from dng_timers?
0042 
0043 extern bool gDNGShowTimers;
0044 
0045 /******************************************************************************/
0046 
0047 // MWG says don't use fake time zones in XMP, but there is some
0048 // old software that requires them to work correctly.
0049 
0050 extern bool gDNGUseFakeTimeZonesInXMP;
0051 
0052 /*****************************************************************************/
0053 
0054 // Stream block size.  Choose a size that the OS likes for file system
0055 // efficent read/write alignment.
0056 
0057 extern uint32 gDNGStreamBlockSize;
0058 
0059 // Maximum stream buffer size to use on large reads and writes.
0060 
0061 extern uint32 gDNGMaxStreamBufferSize;
0062 
0063 /*****************************************************************************/
0064 
0065 // Are we running as part of the imagecore library?
0066 
0067 extern bool gImagecore;
0068 
0069 // Print out timing info for area tasks?
0070 
0071 extern bool gPrintTimings;
0072 
0073 // Print assert messages?
0074 
0075 extern bool gPrintAsserts;
0076 
0077 // Break into debugger on asserts?
0078 
0079 extern bool gBreakOnAsserts;
0080 
0081 /*****************************************************************************/
0082 
0083 #endif
0084 
0085 /*****************************************************************************/