OnFrameOverlayUsingVIDEOHDR
Delphi
property OnFrameOverlayUsingVIDEOHDR: TOnFrameOverlayUsingVIDEOHDR read FOnFrameOverlayUsingVIDEOHDR write FOnFrameOverlayUsingVIDEOHDR;
C++Builder
__property TOnFrameOverlayUsingVIDEOHDR OnFrameOverlayUsingVIDEOHDR = {read=FOnFrameOverlayUsingVIDEOHDR, write=FOnFrameOverlayUsingVIDEOHDR};
typedef void __fastcall (__closure *TOnFrameOverlayUsingVIDEOHDR)(System::TObject* Sender, System::LongWord FrameNumber, LargeInteger FrameTime, System::LongInt FrameId, const TVideoHdr &VideoHdr);
Put the application code in this event to apply any processing to each video frame, through a VFW VIDEOHDR format.
Remarks
DEPRECATED, use OnFrameBitmap instead This TOnFrameOverlayUsingVIDEOHDR event is used to draw graphic objects over video frames, by using a VIDEOHDR video frame format.
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.
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)