45 virtual void Quit (
void);
47 virtual bool IsRunning (
void)
const {
return !mGlobalQuit;}
96 typedef std::vector<NTV2Buffer> NTV2Buffers;
105 double mToneFrequency;
114 NTV2Buffers mTestPatRasters;
118 #endif // _NTV2PLAYER_H virtual void StartProducerThread(void)
Starts my producer thread.
NTV2AudioSystem
Used to identify an Audio System on an NTV2 device. See Audio System Operation for more information...
std::set< NTV2TCIndex > NTV2TCIndexes
virtual AJAStatus SetUpTestPatternBuffers(void)
Creates my test pattern buffers.
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.
Declares the AJATimeCodeBurn class.
static void ProducerThreadStatic(AJAThread *pThread, void *pContext)
This is the producer thread's static callback function that gets called when the producer thread star...
Declares the AJAThread class.
virtual void ProduceFrames(void)
My producer thread that repeatedly produces video frames.
virtual uint32_t AddTone(NTV2FrameData &inFrameData)
Inserts audio tone (based on my current tone frequency) into the given NTV2FrameData's audio buffer...
virtual AJAStatus SetUpAudio(void)
Performs all audio setup.
virtual AJAStatus SetUpVideo(void)
Performs all video setup.
virtual void ConsumeFrames(void)
My consumer thread that repeatedly plays frames using AutoCirculate (until quit). ...
NTV2Player(const PlayerConfig &inConfig)
Constructs me using the given configuration settings.
std::vector< NTV2FrameData > NTV2FrameDataArray
A vector of NTV2FrameData elements.
virtual AJAStatus SetUpHostBuffers(void)
Sets up my host video & audio buffers.
I play out SD or HD test pattern (with timecode) to an output of an AJA device with or without audio ...
virtual ~NTV2Player(void)
This is returned from the CNTV2Card::AutoCirculateGetStatus function.
virtual AJAStatus Run(void)
Runs me.
virtual void Quit(void)
Gracefully stops me from running.
I encapsulate the video, audio and anc host buffers used in the AutoCirculate demos. I'm a more modern version of the AVDataBuffer.
This file contains some structures, constants, classes and functions that are used in some of the dem...
Configures an NTV2Player instance.
virtual bool IsRunning(void) const
virtual bool RouteOutputSignal(void)
Performs all widget/signal routing for playout.
virtual void StartConsumerThread(void)
Starts my consumer thread.
virtual void GetACStatus(AUTOCIRCULATE_STATUS &outStatus)
Provides status information about my output (playout) process.
I am a circular frame buffer that simplifies implementing a type-safe producer/consumer model for pro...
virtual AJAStatus Init(void)
Initializes me and prepares me to Run.
static void ConsumerThreadStatic(AJAThread *pThread, void *pContext)
This is the consumer thread's static callback function that gets called when the consumer thread star...