8 #ifndef NTV2STREAMGRABBER_H 9 #define NTV2STREAMGRABBER_H 11 #include <QBasicTimer> 13 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) 19 #include <QtMultimedia> 23 #define STREAMPREVIEW_WIDGET_X (960) 24 #define STREAMPREVIEW_WIDGET_Y (540) 73 void newFrame (
const QImage &inImage,
const bool inClear);
84 virtual void run (
void);
100 bool mbFixedReference;
110 bool mFormatIsProgressive;
115 bool mDoMultiChannel;
120 #endif // NTV2STREAMGRABBER_H
I interrogate and control an AJA video/audio capture/playout device.
NTV2FrameBufferFormat
Identifies a particular video frame buffer pixel format. See Device Frame Buffer Formats for details...
NTV2TaskMode
Describes the task mode state. See also: NTV2 Device Sharing.
NTV2LHIHDMIColorSpace GetColorSpaceFromInputSource(void)
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
bool IsInput3Gb(const NTV2InputSource inputSource)
bool CheckForValidInput(void)
NTV2Channel
These enum values are mostly used to identify a specific widget_framestore. They're also commonly use...
void newFrame(const QImage &inImage, const bool inClear)
This is signaled (called) when a new frame has been captured and is available for display...
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
Enumerations for controlling NTV2 devices.
NTV2VideoFormat GetVideoFormatFromInputSource(void)
virtual ~NTV2StreamGrabber()
My destructor.
bool SetupInput(void)
Configures my AJA device for capture.
NTV2InputSource
Identifies a specific video input source.
void SetDeviceIndex(const UWord inDeviceIndex)
Sets the AJA device to be used for capture.
void StopStream(void)
Stops capturing.
virtual void run(void)
My thread function.
void SetFixedReference(bool fixed)
Describes the horizontal and vertical size dimensions of a raster, bitmap, frame or image...
void newStatusString(const QString &inStatus)
This is signaled (called) when my status string changes.
Declares the CNTV2Card class.
UWord GetDeviceIndex(void) const
void SetInputSource(const NTV2InputSource inInputSource)
Sets the input to be used for capture on the AJA device being used.
A QThread that captures audio/video from NTV2-compatible AJA devices and uses Qt signals to emit ARGB...
NTV2StreamGrabber(QObject *pInParentObject=NULL)
Constructs me.