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
SyntaxPublic Enumeration mcPixelBufferStatusFlags
Members
| Member name | Value | Description |
---|
| mpbsfNoFlags | 0 | No status flags. |
| mpbsfMultiframeMemory | 1 | Set 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. |
| mpbsfExternallyOwnedMemory | 2 | Set 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. |
| mpbsfInHeapMemory | 4 | Set 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. |
| mpbsfHasBeenAccessed | 8 | Set 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. |
| mpbsfHasBeenWritten | 16 | Set 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. |
| mpbsfHaveOriginalSource | 32 | Set 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. |
| mpbsfOnDemandStorageOnly | 64 | Set 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. |
| mpbsfHasNaturalSizeRatios | 128 | Set 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. |
| mpbsfNoWriteToImageData | 256 | Set if writing to image data isdisallowed. This state will be the same for all frames in the pixel buffer. |
| mpbsfVeryLargeFrames | 512 | Set 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. |
| mpbsfDiscardableImageData | 1024 | If set, then when memory needsto be freed, instead of spooling out the memory to a swap file, it will be
just discarded. |
| mpbsfNoManagedMemory | 0 | The frame memory is either externally owned or allocated on the heap |
| mpbsfNeverAllocated | 65536 | Any portion of the frame has never been allocated |
| mpbsfInSwapFile | 131072 | Any portion of the frame is now swapped out |
| mpbsfInMemory | 262144 | Any portion of the frame is valid in memory |
| mpbsfInOriginalFile | 524288 | Any portion of the frame is only available in the original file. |
| mpbsfDiscarded | 1048576 | Any portion of the frame has been discarded. |
| mpbsfManagedMemoryStateMask | 2031616 | mask for bits describing the current managed memory data location |
| mpbsfGoodInSwapFile | 16777216 | set if any rows are good in the swap file |
| mpbsfGoodInOriginalFile | 33554432 | |
| mpbsfMixedState | 67108864 | set if all rows in the frame donot have the same managed memory state masked bympbsfManagedMemoryStateMask. |
| mpbsfWillNeedToSpool | 134217728 | set 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