mcMiscellaneousResources Enumeration
|
|
Allowed values for the WhichResource parameter of the McResourceManager.MiscellaneousResources property.
Namespace:
MediaCy.IQL.Engine
Assembly:
MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
SyntaxPublic Enumeration mcMiscellaneousResources
Members
| Member name | Value | Description |
---|
| mcmrNone | 0 | Nothing specified. On access,the highest currently assigned user resource is returned. |
| mcmrVeryLargeImage | 1 | Amount of image memory, inMBytes, above which the consuming image should be considered Very Large. The
default is 80% of McResourceManager.MemoryMax(mcmtImageMemory). In different
contexts, this value may be used as a threshold for the image memory
consumed by a single frame, the ROI on a single frame, the ROI on all frames
or all frames. See for example mcImageStateFlags.mcisfVeryLargeFrames. |
| mcmrMaxEditCopy | 2 | Maximum amount of imagememory, in MBytes, allowed to be used for an EditCopy or EditCut operation.
The default is 1/2 of McResourceManager.MemoryMax(mcmtImageMemory). |
| mcmrMaxLargeImageExtract | 3 | Maximum amount of imagememory, in MBytes, allowed to be used for extracting a portion of a Very
Large Image. The default is 1/2 of
McResourceManager.MemoryMax(mcmtImageMemory). |
| mcmrExpensiveToCopy | 4 | Amount of image memory, inMBytes, above which making a copy of this image memory would impose
substantial costs on image memory availability, and so avoiding a copy if
possible is desirable. The default is 1/4 of
McResourceManager.MemoryMax(mcmtImageMemory). |
| mcmrMemoryAutoLockLimit | 50 | When an image frame isaccessed for analysis, normally only a very small portion of it needs to be
guaranteed locked into memory. However, after one image access a larger
portion of the image will very likely need to be accessed soon (i.e.,
normally the entire McRegionAccess ROI will be traversed).
mcmrMemoryAutoLockLimit resource value property sets a limit on how much
extra image memory is automatically locked to optimize that traversal. The
default is 0.5 percent of McResourceManager.MemoryMax(mcmtImageMemory). |
| mcmrNonTrivalToLoadMBytes | 100 | Amount of imagememory, in MBytes, above which it is considered non-trivial to load from a swap
file or image file. The default is 15MB. |
| mcmrCostlyToLoadMBytes | 101 | Amount of imagememory, in MBytes, above which it is considered costly to load from a swap
file or image file. The default is 200MB. |
| mcmrUserResource | 1000 | Miscellaneous resources whichare not pre-defined, need to be at or above this value. |
| mcmrWhichResourceMask | 268435455 | Mask for the codespecifying which resource is being referred to without the flags specifying
how the value is to be interpreted. |
| mcmrValueIsDecimal | 0 | Flag noting value is decimal; this is the default. |
| mcmrValueIsPcntImageMemory | 1073741824 | Flag noting that thevalue given or returned as a percentage
McResourceManager.MemoryMax(mcmtImageMemory). The default value for a given
resource will be exposed as -1, irrespective of the presence of this flag. |
| mcmrValueIsPcntUsableMemory | -2147483648 | Flag noting that thevalue is given or returned as a percentage
McResourceManager.MemoryManagerInfo(mcmmiUsablePhysical). The default value
for a given resource will be exposed as -1, irrespective of the presence of
this flag. |
See Also