Click or drag to resize

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
Syntax
VB
Public Enumeration mcMiscellaneousResources
Members
  Member nameValueDescription
mcmrNone0Nothing specified. On access,the highest currently assigned user resource is returned.
mcmrVeryLargeImage1Amount 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.
mcmrMaxEditCopy2Maximum amount of imagememory, in MBytes, allowed to be used for an EditCopy or EditCut operation. The default is 1/2 of McResourceManager.MemoryMax(mcmtImageMemory).
mcmrMaxLargeImageExtract3Maximum 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).
mcmrExpensiveToCopy4Amount 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).
mcmrMemoryAutoLockLimit50When 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).
mcmrNonTrivalToLoadMBytes100Amount of imagememory, in MBytes, above which it is considered non-trivial to load from a swap file or image file. The default is 15MB.
mcmrCostlyToLoadMBytes101Amount of imagememory, in MBytes, above which it is considered costly to load from a swap file or image file. The default is 200MB.
mcmrUserResource1000Miscellaneous resources whichare not pre-defined, need to be at or above this value.
mcmrWhichResourceMask268435455Mask for the codespecifying which resource is being referred to without the flags specifying how the value is to be interpreted.
mcmrValueIsDecimal0Flag noting value is decimal; this is the default.
mcmrValueIsPcntImageMemory1073741824Flag 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-2147483648Flag 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