10 #define _NTV2CAPTURE_H 46 virtual void Quit (
void);
138 #endif // _NTV2CAPTURE_H NTV2AudioSystem
Used to identify an Audio System on an NTV2 device. See Audio System Operation for more information...
Instances of me capture frames in real time from a video signal provided to an input of an AJA device...
I interrogate and control an AJA video/audio capture/playout device.
NTV2TaskMode
Describes the task mode state. See also: Sharing AJA Devices With Other Applications.
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
virtual AJAStatus SetupVideo(void)
Sets up everything I need for capturing video.
virtual AJAStatus SetupAudio(void)
Sets up everything I need for capturing audio.
virtual AJAStatus Run(void)
Runs me.
virtual bool RouteInputSignal(void)
Sets up device routing for capture.
virtual void GetACStatus(ULWord &outGoodFrames, ULWord &outDroppedFrames, ULWord &outBufferLevel)
Provides status information about my input (capture) process.
static void ConsumerThreadStatic(AJAThread *pThread, void *pContext)
This is the consumer thread's static callback function that gets called when the consumer thread runs...
virtual void CaptureFrames(void)
Repeatedly captures frames using AutoCirculate (until global quit flag set).
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
This class is used to configure an NTV2Capture instance.
Declares the AJAThread class.
virtual void StartProducerThread(void)
Starts my capture thread.
virtual void Quit(void)
Gracefully stops me from running.
std::vector< NTV2FrameData > NTV2FrameDataArray
A vector of NTV2FrameData elements.
virtual void ConsumeFrames(void)
Repeatedly consumes frames from the circular buffer (until global quit flag set). ...
virtual void SetupHostBuffers(void)
Sets up my circular buffers.
static void ProducerThreadStatic(AJAThread *pThread, void *pContext)
This is the capture thread's static callback function that gets called when the capture thread runs...
virtual void StartConsumerThread(void)
Starts my frame consumer thread.
This file contains some structures, constants, classes and functions that are used in some of the dem...
virtual AJAStatus Init(void)
Initializes me and prepares me to Run.
NTV2Capture(const CaptureConfig &inConfig)
Constructs me using the given settings.
I am a circular frame buffer that simplifies implementing a type-safe producer/consumer model for pro...