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