OnFrameOverlayUsingDIB
Deprecated
Kept for backward compatibility only.
property OnFrameOverlayUsingDIB: TOnFrameOverlayUsingDIB read FOnFrameOverlayUsingDIB write FOnFrameOverlayUsingDIB;
__property TOnFrameOverlayUsingDIB OnFrameOverlayUsingDIB = {read=FOnFrameOverlayUsingDIB, write=FOnFrameOverlayUsingDIB};
typedef void __fastcall (__closure *TOnFrameOverlayUsingDIB)(System::TObject* Sender, HBITMAP FrameBitmapHandle, System::LongWord FrameNumber, LargeInteger FrameTime, System::LongInt FrameId);
public event OnFrameOverlayUsingDIBEventHandler OnFrameOverlayUsingDIB;
public delegate void OnFrameOverlayUsingDIBEventHandler(object sender, TOnFrameOverlayUsingDIBEventArgs e);
Public Event OnFrameOverlayUsingDIB As OnFrameOverlayUsingDIBEventHandler
Public Delegate Sub OnFrameOverlayUsingDIBEventHandler(sender As Object, e As TOnFrameOverlayUsingDIBEventArgs)
void SetOnFrameOverlayUsingDIB (TOnFrameOverlayUsingDIBCb OnFrameOverlayUsingDIBCb);
typedef void CALLBACK TOnFrameOverlayUsingDIBCb (void *Object, void *Sender, HBITMAP FrameBitmapHandle, unsigned int FrameNumber, __int64 FrameTime, int FrameId);
Put the application code in this event to apply any processing to each video frame, through its DIB bitmap.
Remarks
DEPRECATED, use OnFrameBitmap instead
This TOnFrameOverlayUsingDIB event is used to process each video frame DIB bitmap.
This event occurs for each video frame that goes through the video stream, during preview, recording or playback.
The frame grabber must be enabled for this event to occur.
This event offers full access to the DIB bitmap of each video frame.
This event is TIME CRITICAL. The code used in this event must be as short and fast as possible.
Sample code is included in the MainDemo project.
To get information about the current video frame, invoke GetFrameInfo (FrameId,...). E.g.
SampleTimeHour = VideoGrabber.GetFrameInfo (FrameId, fi_SampleTime_Hour)