Click or drag to resize

mcPixelBufferStatusFlags Enumeration

Bit values returned by the McPixelBuffer.GetBufferStatus method.

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Public Enumeration mcPixelBufferStatusFlags
Members
  Member nameValueDescription
mpbsfNoFlags0No status flags.
mpbsfMultiframeMemory1Set if frame memory is part ofa multi-frame continguous block. If all frames are requested, set if the first frame is part of a contiguous block.
mpbsfExternallyOwnedMemory2Set if frame memory is ownedby the caller who added the frame. If all frames are requested, set if the first frame's memory is externally owned.
mpbsfInHeapMemory4Set if frame memory is allocatedon the local heap (this will be the case for very small images); if not set, then frame memory is allocated in the virtual memory space. If all frames are requested, this is set based on the allocation of the first frame.
mpbsfHasBeenAccessed8Set if any part of frame memoryhas ever been accessed for reading or writing. If all frames are requested, this is set if any frame has been accessed.
mpbsfHasBeenWritten16Set if any part of frame memoryhas ever been written to. If all frames are requested, this is set if any frame has been written to.
mpbsfHaveOriginalSource32Set if any part of the memorynode of which this frame's memory is a part is still available from an original on-demand loaded source. If all frames are requested, this is set based on the memory node holding the first frame.
mpbsfOnDemandStorageOnly64Set if no image data is kept inmemory, except temporarily for caching purposes. The mpbsfHaveOriginalSource will always also be set if this flag is set. This state will be the same for all frames in the pixel buffer.
mpbsfHasNaturalSizeRatios128Set if set the node supportsaccess to subsampled (i.e., low-resolution) image data at no greater cost than access to full-resolution image data for certain "natural" degrees of sub-sampling. This state will be the same for all frames in the pixel buffer.
mpbsfNoWriteToImageData256Set if writing to image data isdisallowed. This state will be the same for all frames in the pixel buffer.
mpbsfVeryLargeFrames512Set if set the memory requiredto hold a single frame in memory is too large to fit within the limit set by ResourceManager.MiscellaneousResources( mcMiscellaneousResources.mcmrVeryLargeImage), which by default is 80% of managed memory reserved for images. This state will be the same for all frames in the pixel buffer.
mpbsfDiscardableImageData1024If set, then when memory needsto be freed, instead of spooling out the memory to a swap file, it will be just discarded.
mpbsfNoManagedMemory0The frame memory is either externally owned or allocated on the heap
mpbsfNeverAllocated65536Any portion of the frame has never been allocated
mpbsfInSwapFile131072Any portion of the frame is now swapped out
mpbsfInMemory262144Any portion of the frame is valid in memory
mpbsfInOriginalFile524288Any portion of the frame is only available in the original file.
mpbsfDiscarded1048576Any portion of the frame has been discarded.
mpbsfManagedMemoryStateMask2031616mask for bits describing the current managed memory data location
mpbsfGoodInSwapFile16777216set if any rows are good in the swap file
mpbsfGoodInOriginalFile33554432
mpbsfMixedState67108864set if all rows in the frame donot have the same managed memory state masked bympbsfManagedMemoryStateMask.
mpbsfWillNeedToSpool134217728set if any rows in the framehave a Status such that those rows will need to be spooled to a swap file; that is, some rows lack either the mpbsfNeverAllocated, mpbsfDiscarded, mpbsfGoodInSwapFile or mpbsfGoodInOriginalFile Status.
See Also