mcExposedImageStateEnum Enumeration
|
|
State and error code values set by calls to theIMcImageSet2.ExposeAsImage method. State values refer to the
ExposeAsImage.PixelBuffer.GetImageStorage IMcImageStorage instance.
Namespace:
MediaCy.IQL.Sets
Assembly:
MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
SyntaxPublic Enumeration mcExposedImageStateEnum
Members
| Member name | Value | Description |
---|
| mceisUninitializedState | 0 | IMcImageStorage was not created successfully |
| mceisInitializedState | 1 | Sucessfully initialized, but storage has not been opened |
| mceisStorageIsOpenState | 2 | Sucessfully initialized, and storage has been opened |
| mceisStorageStateMask | 15 | mask for the state portion |
| mceisAddRefOnOwnerFlag | 16 | Flag set if we are holding an AddRef on our owning CMcImageSet |
| mceisScanDimNotTiledFlag | 32 | Flag set if the maximum number of validfull-resolution tiles in the scan dimension is 1. See also the mceisWarningTilingHoles
flags. |
| mceisRawSources | 64 | Flag set if theExposeAsImageCreationFlags mcExposeAsImageCreationFlags.mceascfDoNotCollapseDims
was set, so that raw sources are exposed. |
| mceisRawNaturalSizeRatios | 128 | Flag set if the mceisRawSourcesstate is set and the IMcImageStorage.Capabilities will set the
mciscHasNaturalSubsample. |
| mceisSameSizeTiles | 256 | For all full-resolution collapsedframes in the region, all sources in the mcisdScan dimension tilings are of the
same size. This state will only occur if mceisRawSources is clear. |
| mceisHavePerfectTiling | 512 | For at least one collapsed frame inregion, the full resolution mcisdScan dimension tiles completely cover a
rectangular space with no overlap. The mcmiscfLastPerfectTilingFrameCount Action
Command flag will give a count of all frames (at any resolution) where tiling was
perfect. This state will only occur if mceisRawSources is clear. |
| mceisNoOverlap | 1024 | For all full resolution collapsedframes in the region, mcisdScan dimension source tiles do not overlap. The tiles
may or may not completely cover a rectangular space, but no tile overlaps any
other. This state will only occur if mceisRawSources is clear. |
| mceisErrorNoFrames | 4096 | storage cannot be initializedbecause there are no frames in the storage region. |
| mceisErrorHolesInRange | 8192 | storage cannot be initializedbecause some dimension (other than mcisdScan) is not of constant length. This
error state will only occur if mceisRawSources is clear. |
| mceisErrorUnSyncedResolutions | 16384 | storage cannot be initializedbecause multiple resolution frames are not aligned. This
error state will only occur if mceisRawSources is clear. |
| mceisErrorMixedTypesOrSizes | 32768 | storage cannot be initializedbecause frames in the region are of mixed McImageType. If the ExposeAsImage was
called with the mcExposeAsImageCreationFlags.mceascfDoNotCollapseDims flag
(mceisRawSources is set), then this flag will also be set if the source frames in
the exposed region are not all the same size. |
| mceisErrorMissingFrames | 65536 | storage cannot be initializedbecause one or more "frames" in the region are missing any backing data (sparse
set). |
| mceisErrorMalformedResolutions | 131072 | storage cannot be initializedbecause resolutions info is bad or varies across the region. |
| mceisErrorNeedsMultResolutions | 262144 | storage cannot be initializedbecause the collapsed tiled frame is larger than a VLI threshold (50% of managed
image memory, by default) and there are no sub-resolutions available. |
| mceisErrorOther | 524288 | storage cannot be initializedbecause of some other type of error. |
| mceisWarningBadTileLayout | 1048576 | For one third or more of theframes in the region, the tile positions are unreasonably placed for a rectangular
tiling. The conditions tested for are: sparse coverage (the sum of the areas of
all tiles is less than 5% of the area of the rectangular bounds of the tiles) or
excessive overlap (average tile overlap is greater than 60%). The
mcmiscfLastBadTilingFrameCount Action Command flag will give a count of all frames
(at any resolution) where there were layout or other problems. This error state
will only occur if mceisRawSources is clear. |
| mceisWarningTilingHoles | 2097152 | The tiling of storage at some"frame" location(s) is missing one or more expected tiles along the mcisdScan
dimension. The mcmiscfLastBadTilingFrameCount Action Command flag will give a
count of all frames (at any resolution) where there were one or more missing
tiles. This error state will only occur if mceisRawSources is clear. |
| mceisWarningBadTilePosition | 67108864 | The tiling of storage at some"frame" location(s) is bad because all multiple frames in one mcisdScan have no
valid tile positions, so only the last frame in this mcisdScan will be shown (at
0,0 pixel location); if this status bit is set, the mceisWarningTilingHoles bit
will be set as well. The mcmiscfLastBadTilingFrameCount Action Command flag will
give a count of all frames (at any resolution) where all multiple tiles were
missing postion information or had other problems. This error state will only
occur if mceisRawSources is clear. |
| mceisWarningDegenerateTiling | 134217728 | Tiling of the storage at some"frame" locations is bad because all multiple tiles in one mcisdScan have the same
tile position. The mcmiscfLastBadTilingFrameCount Action Command flag will give
a count of all frames (at any resolution) where all multiple tiles had the same
position or other problems. This will also result in an Excessive Overlap state
for this frame. If degenerate tiling occurs on more than one third of the frames
in the region, then the initialization will fail with the mceisWarningBadTileLayout
state set. This error state will only occur if mceisRawSources is clear. |
See Also