9 #ifndef _NTV2STREAMPLAYER_H 10 #define _NTV2STREAMPLAYER_H 45 virtual void Quit (
void);
47 virtual bool IsRunning (
void)
const {
return !mGlobalQuit;}
93 typedef std::vector<FrameData> FrameDataArray;
94 typedef FrameDataArray::iterator FrameDataArrayIter;
95 typedef std::vector<NTV2Buffer> NTV2Buffers;
109 FrameDataArray mHostBuffers;
112 NTV2Buffers mTestPatRasters;
116 #endif // _NTV2STREAMPLAYER_H virtual bool IsRunning(void) const
virtual void ConsumeFrames(void)
My consumer thread that repeatedly plays frames using AutoCirculate (until quit). ...
virtual void Quit(void)
Gracefully stops me from running.
I interrogate and control an AJA video/audio capture/playout device.
I play out SD or HD test pattern (with timecode) to an output of an AJA device with or without audio ...
NTV2TaskMode
Describes the task mode state. See also: Sharing AJA Devices With Other Applications.
virtual void StartConsumerThread(void)
Starts my consumer thread.
virtual AJAStatus SetUpHostBuffers(void)
Sets up my host video & audio buffers.
static void ConsumerThreadStatic(AJAThread *pThread, void *pContext)
This is the consumer thread's static callback function that gets called when the consumer thread star...
virtual AJAStatus Run(void)
Runs me.
virtual bool RouteOutputSignal(void)
Performs all widget/signal routing for playout.
Declares the AJATimeCodeBurn class.
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
virtual AJAStatus SetUpVideo(void)
Performs all video setup.
Declares the AJAThread class.
virtual ~NTV2StreamPlayer(void)
virtual AJAStatus Init(void)
Initializes me and prepares me to Run.
Describes a user-space buffer on the host computer. I have an address and a length, plus some optional attributes (allocated by SDK?, page-aligned? etc.).
static void ProducerThreadStatic(AJAThread *pThread, void *pContext)
This is the producer thread's static callback function that gets called when the producer thread star...
virtual void GetStreamStatus(NTV2StreamChannel &outStatus)
Provides status information about my output (playout) process.
virtual void StartProducerThread(void)
Starts my producer thread.
NTV2StreamPlayer(const PlayerConfig &inConfig)
Constructs me using the given configuration settings.
This file contains some structures, constants, classes and functions that are used in some of the dem...
Configures an NTV2Player instance.
virtual AJAStatus SetUpTestPatternBuffers(void)
Creates my test pattern buffers.
virtual void ProduceFrames(void)
My producer thread that repeatedly produces video frames.