Click or drag to resize

IMcCompositeHostGetInfo Method

Returns information about how the current set sources will be combined.

Namespace:  MediaCy.IQL.Operations
Assembly:  MediaCy.IQL.Operations (in MediaCy.IQL.Operations.dll) Version: 10.0.6912.0
Syntax
VB
Function GetInfo ( 
	<OutAttribute> ByRef BitsPerColorChannels As Object,
	<OutAttribute> ByRef MaxBitsPerColorChannel As Integer,
	<OutAttribute> ByRef IsFloatPixelDataTypes As Object,
	<OutAttribute> ByRef SomePixelDataTypeIsFloat As Boolean,
	<OutAttribute> ByRef FrameCounts As Object,
	<OutAttribute> ByRef MinAndMaxMappedFrameCounts As Object,
	<OutAttribute> ByRef MappedFrameStatus As Object,
	<OutAttribute> ByRef SourceSizes As Object,
	<OutAttribute> ByRef MinAndMaxSourceSizes As Object,
	<OutAttribute> ByRef OffsetSourceBounds As Object
) As mcCompositeInfoFlags

Parameters

BitsPerColorChannels
Type: SystemObject
A returned array of SourceCount Long values giving the number of bits in each pixel for each source. This value will be 8, 12, 16 or 32. If all sources do not have the same pixel bit-depth, then the mccpfMixedBitsPerChannel bit is set in the return value
MaxBitsPerColorChannel
Type: SystemInt32
A returned Long value giving the maximumn number of bits in each pixel for all sources. This value will be 8, 12, 16 or 32.
IsFloatPixelDataTypes
Type: SystemObject
A returned array of SourceCount Boolean values which will be True if the PixelDataType of the corresponding source is a floating point type. If all sources do not have the same PixelDataType, then the mccpfMixedPixelTypes bit is set in the return value.
SomePixelDataTypeIsFloat
Type: SystemBoolean
True if any source has a floating point PixelDataType.
FrameCounts
Type: SystemObject
A returned 2-D array of SourceCount by 3 Long [i.e., Dim (0 to 2, 0 to SourceCount-1) As Long in VB] values giving several counts of the number of frames in each source. The first triplet value for each source is the raw count of source frames, the second value is the number of times those source frames are mapped onto destination frames and the third value is the number of mapped destination frames; if no SourceFrameMappings array is supplied for a source, then all three values will be the same. If all sources do not have the same mapped destination frame count (the third triplet value), then the mccpfMixedFrameCounts bit is set in the return value. The total number of adjusted mapped destination frames for each source will be this frame-count minus the corresponding SourceStartingFrames value for the source.
MinAndMaxMappedFrameCounts
Type: SystemObject
A length-2 Long array giving, in the first element, the minimum adjusted mapped destination frame count for any source; that is, this is the longest destination sequence that can be aligned with all sources in the first element. The second element gives the maximum mapped destination frame count where any source will map a frame. The adjusted frame count for each is its mapped destination frame-count minus the corresponding SourceStartingFrames value for the source.
MappedFrameStatus
Type: SystemObject
An array of mcMappedFrameStatusFlags values. The length of this array is the maximium mapped destination frame count (that is, the second element of the MinAndMaxMappedFrameCounts). For each mapped destination frame, flags will be set to indicate whether all source frames are available for doing the composite for that destination frame.
SourceSizes
Type: SystemObject
A returned array of SourceCount LONGPOINT structures giving size of each source rectangle. If the mcccfUseAoiAsSource bit is set in the ControlFlags argument, this will be the size of the bounds of the Aoi, otherwise it will be the size of the image. If all sources do not have the same size, then the mccpfMixedSourceSizes bit is set in the return value.
MinAndMaxSourceSizes
Type: SystemObject
A returned length-2 array of LONGPOINT structures giving minimum and maximum sizes of the source rectangles.
OffsetSourceBounds
Type: SystemObject
A returned array of 2 LONGRECT structures giving the intersection and union of the Source rectangles, as offset by SourceOffsetsXY minus DestOffsetXY. If the mcchsfUseAoiAsSource bit is set in the Status property, the un-offset source rectangle will be the bounds of the Aoi, otherwise it will be the bounds of the image. If there is no overlap between two or more of the offset source rectangles, then the mccpfEmptyIntersection bit will be set in the return value.

Return Value

Type: mcCompositeInfoFlags
A set of bits flagging inconsistencies and potential problems in the sources.
See Also