Tekkotsu Homepage | Demos | Overview | Downloads | Dev. Resources | Reference | Credits |
CameraSourceQTSG Class ReferenceThis interfaces with a specific camera through QuickTime and the Sequence Grabber, which is deprecated. See the alternative CameraSourceQTKit implementation. More...
Inheritance diagram for CameraSourceQTSG:
Detailed DescriptionThis interfaces with a specific camera through QuickTime and the Sequence Grabber, which is deprecated. See the alternative CameraSourceQTKit implementation. This camera source is used on pre-10.6 systems, supporting 32 bit only Definition at line 21 of file CameraSourceQTSG.h.
Constructor & Destructor Documentation
constructor, pass the short name, device name and input index Definition at line 24 of file CameraSourceQTSG.h.
destructor, free system resources
don't call (copy constructor) Member Function Documentation
Called when the simulator is stepping while paused or advancing a frozen data source, return true if successful, or false if no more data is available. Implements DataSource. Referenced by poll().
User hook, called when the data source should release its claim on outputs with feedback (ignoringOuput()). It would be wise to call this from your destructor as well. Reimplemented from DataSource.
user hook for when frozen is set to true; advance() will be called by simulator at user discretion. Reimplemented from DataSource.
user hook for when frozen is set to false; if enteringRealtime() has been called then you should resume sending data. Reimplemented from DataSource.
accessor for the device name Definition at line 47 of file CameraSourceQTSG.h.
accessor for the name of the input from the device Definition at line 49 of file CameraSourceQTSG.h.
accessor for the instance name Definition at line 45 of file CameraSourceQTSG.h.
Resamples a YUV 4:2:2 (aka '2vuy') image to a YUV 4:4:4 form which is expected in getData()'s payload.
Resamples a YUV 4:2:2 (aka 'yuv2' or 'yuvu') image to YUV 4:4:4 form which is expected in getData()'s payload.
Referenced by CameraSourceQTSG().
this is supposed to be the name for the next camera frame, we just reuse our static instance name Implements DataSource. Definition at line 52 of file CameraSourceQTSG.h.
Returns the simulator time of the next data segment. Should be in the future if nothing new since last data segment, otherwise should be the timestamp of the most recent data segment (older segments are skipped), return -1U if there is no more data Implements DataSource. Definition at line 51 of file CameraSourceQTSG.h.
don't call (assignment operator)
converts from pascal-format string to c-format string Definition at line 68 of file CameraSourceQTSG.h.
Definition at line 83 of file CameraSourceQTSG.h.
User hook, called when the data source should claim which outputs it provides feedback (providingOuput()). Does not indicate the data source should start sending updates yet — wait for enteringRealtime() or advance() to be called Reimplemented from DataSource.
Member Data Documentationset to true if the image should be skipped (e.g. clearing out a backlog of images when advancing while frozen Definition at line 106 of file CameraSourceQTSG.h.
error value from call back, so we can tell if an error came from SGIdle itself or the callback functions it may trigger Definition at line 103 of file CameraSourceQTSG.h.
Definition at line 101 of file CameraSourceQTSG.h.
Definition at line 100 of file CameraSourceQTSG.h.
name of hardware device the source is connected Definition at line 90 of file CameraSourceQTSG.h. Referenced by getDeviceName().
index number of the input Definition at line 92 of file CameraSourceQTSG.h.
name of the input on the device (in case a single device has multiple inputs) Definition at line 91 of file CameraSourceQTSG.h. Referenced by getInputName().
Definition at line 102 of file CameraSourceQTSG.h. Definition at line 99 of file CameraSourceQTSG.h. Referenced by nextTimestamp().
current frame number Definition at line 94 of file CameraSourceQTSG.h. set to true when setDataSourceThread is called with a non-NULL value, but can be set back to false if an error occurs Definition at line 97 of file CameraSourceQTSG.h. Referenced by poll().
graphics buffer to store the decompressed image (RGB, will have to be converted back to YUV) Definition at line 88 of file CameraSourceQTSG.h.
buffer used for gworld Definition at line 105 of file CameraSourceQTSG.h.
Definition at line 98 of file CameraSourceQTSG.h. Referenced by nextTimestamp().
Controls the resolution layer at which the image should be processed. Definition at line 58 of file CameraSourceQTSG.h. Referenced by CameraSourceQTSG().
name to use for image frames Definition at line 89 of file CameraSourceQTSG.h. Referenced by getName(), and nextName().
Definition at line 84 of file CameraSourceQTSG.h.
number of frames the system indicates are waiting to be processed Definition at line 96 of file CameraSourceQTSG.h.
sequence grabber, might need one of these globally instead of one per CameraSourceQTSG Definition at line 86 of file CameraSourceQTSG.h.
channel within the sequence grabber, I think there will be one channel per camera Definition at line 87 of file CameraSourceQTSG.h.
number of frames skipped since last successful frame Definition at line 95 of file CameraSourceQTSG.h. The documentation for this class was generated from the following file: |
Tekkotsu Hardware Abstraction Layer 5.1CVS |
Generated Mon May 9 05:01:40 2016 by Doxygen 1.6.3 |