8 #ifndef NTV2STREAMGRABBER_H 9 #define NTV2STREAMGRABBER_H 11 #include <QBasicTimer> 13 #if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)) 19 #include <QtMultimedia> 25 #if defined (INCLUDE_AJACC) 28 #endif // INCLUDE_AJACC 30 #define STREAMPREVIEW_WIDGET_X (960) 31 #define STREAMPREVIEW_WIDGET_Y (540) 80 void newFrame (
const QImage &inImage,
const bool inClear);
91 virtual void run (
void);
107 bool mbFixedReference;
117 bool mFormatIsProgressive;
122 bool mDoMultiChannel;
127 #endif // NTV2STREAMGRABBER_H Declares common types used in the ajabase library.
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: Sharing AJA Devices With Other Applications.
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)
Declares the CNTV2CaptionDecoder708 class.
virtual ~NTV2StreamGrabber()
My destructor.
bool SetupInput(void)
Configures my AJA device for capture.
Declares the AJAProcess class.
NTV2InputSource
Identifies a specific video input source.
Declares the CNTV2Task class (deprecated).
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
Declares the CNTV2CaptionDecoder608 class.
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.