QMedia Grabber channel commands

QM_GetChannelSourceDims

QM_GetChannelSourceDims(areaRef; channelRef; sourceWidth; sourceHeight):error
areaRef Longint Grabber area reference
channelRef Longint Channel reference
sourceWidth Longint Channel source width
sourceHeight Longint Channel source height
error Longint Error result

Returns the dimensions of the source of a channel.

The grabber plug-in area is specified by areaRef.

Parameter channelRef is the reference to the channel. The channel reference must have been previously obtained with a call to QM_NewChannel.

Parameters sourceWidth and sourceHeight receive the width and height of the channel's source respectively.

Example

C_LONGINT($sourceWidth;$sourceHeight)
 
$error:=QM_GetChannelSourceDims(xGrabber;$videoChannel;$sourceWidth;$sourceHeight)
 

QMedia © Escape OE
Generated by QDoc 2.8 on Thu, Nov 24, 2011 18:43:29