Grabber::getGraphStartReferenceTime Method

This method retrieves the reference time at which the image stream (the filter graph) was started.
Syntax:
bool getGraphStartReferenceTime(REFERENCE_TIME& GraphStart) const;
Parameter Description
GraphStart

Specifies a REFERENCE_TIME variable that will receive the reference time.

Return value:

true on success, false otherwise.

Remarks:

The returned value in GraphStart specifies the time in 100 nanosecond (or 1/10000 millisecond) resolution. The resolution depends on the reference clock used internally by DirectShow (but it is mostly equivalent to QueryPerformanceCounter).

If no reference clock is available, this method fails.

See also: Grabber, Grabber::getCurReferenceTime

<< Grabber

This site is part of The Imaging Source Network. Other sites include Company Portal, Image Processing, Astronomy Cameras, Astronomy Cameras Blog, Blog caméras d'astronomie, Astronomy Cameras Competition, TX Text Control, LiveDocx, phpLiveDocx and Forums.