|
AJA NTV2 SDK
17.1.3.1410
NTV2 SDK 17.1.3.1410
|
Go to the documentation of this file.
9 #ifndef _NTV2DOLBYCAPTURE_H
10 #define _NTV2DOLBYCAPTURE_H
72 virtual void Quit (
void);
175 uint32_t mDolbyState;
176 uint32_t mDolbyLength;
180 #endif // _NTV2CAPTURE_H
std::string fDolbyDataFilePath
Optional path to Dolby binary data file.
static void ProducerThreadStatic(AJAThread *pThread, void *pContext)
This is the capture thread's static callback function that gets called when the capture thread runs....
enum NTV2EveryFrameTaskMode NTV2TaskMode
bool fDoAudioFilter
If true, capture only audio anc.
NTV2DolbyCapture(const DolbyCaptureConfig &inConfig)
Constructs me using the given settings.
This class is used to configure an NTV2Capture instance.
A generic user-space buffer object that has an address and a length. Used most often to share an arbi...
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.
virtual AJAStatus Init(void)
Initializes me and prepares me to Run.
virtual void CaptureFrames(void)
Repeatedly captures frames using AutoCirculate (until global quit flag set).
virtual ~NTV2DolbyCapture()
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
DolbyCaptureConfig DolbyCaptureConfig
This class is used to configure an NTV2Capture instance.
virtual void SetupHostBuffers(void)
Sets up my circular buffers.
virtual AJAStatus SetupVideo(void)
Sets up everything I need for capturing video.
std::string fAudioDataFilePath
Optional path to Audio binary data file.
static void ConsumerThreadStatic(AJAThread *pThread, void *pContext)
This is the consumer thread's static callback function that gets called when the consumer thread runs...
AJALabelValuePairs Get(const bool inCompact=(0)) const
This class is used to configure an NTV2Capture instance.
virtual uint32_t RecoverAudio(const NTV2Buffer &inAncBuffer, const uint32_t inAncSize, NTV2Buffer &outAudioBuffer)
Recover audio from ancillary data.
virtual void StartConsumerThread(void)
Starts my frame consumer thread.
virtual AJAStatus SetupAudio(void)
Sets up everything I need for capturing audio.
I interrogate and control an AJA video/audio capture/playout device.
virtual void StartProducerThread(void)
Starts my capture thread.
std::vector< NTV2FrameData > NTV2FrameDataArray
A vector of NTV2FrameData elements.
This file contains some structures, constants, classes and functions that are used in some of the dem...
DolbyCaptureConfig(const std::string &inDeviceSpec="0")
Constructs a default DolbyCaptureConfig.
bool fDoFrameStats
if true, output per frame statistics
virtual AJAStatus Run(void)
Runs me.
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
virtual void Quit(void)
Gracefully stops me from running.
I capture HDMI Dolby audio from an HDMI input of an AJA device.
std::vector< AJALabelValuePair > AJALabelValuePairs
An ordered sequence of label/value pairs.
NTV2AudioSystem
Used to identify an Audio System on an NTV2 device. See Audio System Operation for more information.
std::ostream & operator<<(std::ostream &ioStrm, const DolbyCaptureConfig &inObj)
Declares the AJAThread class.
virtual uint32_t RecoverDolby(const NTV2Buffer &inAudioBuffer, const uint32_t inAudioSize, NTV2Buffer &outDolbyBuffer)
Recover Dolby data from the given audio data.
virtual void ConsumeFrames(void)
Repeatedly consumes frames from the circular buffer (until global quit flag set).