#include <VideoFrame.h>
The classes uses shared data, so passing copies of the class around does not incur a penalty. However, changes to the image data will be reflected by all shared objects!
|
|
|
|
|
|
|
|
|
|
|
Get sequence number. VideoFrames are sequentially numbered as they are fetches from videodevice or file. The sequence number is a monotonous increasing number. Note: when fetching frames from a video device, sequence numbers are not contiguous in case frames are dropped by the capture process. |
|
Get time stamp.
Note: The first video frame of a video sequence is not guaranteed to have a timestamp of 0! The only guarantee you have is that the timestamp is a monotonous increasing number. |
|
|
|
|
|
|
|
|
|
|
|
|