|
AJA NTV2 SDK
17.0.1.1246
NTV2 SDK 17.0.1.1246
|
Go to the documentation of this file.
9 #ifndef _NTV2DOLBYCAPTURE_H
10 #define _NTV2DOLBYCAPTURE_H
47 inline explicit DolbyConfig (
const std::string & inDeviceSpec =
"0")
99 virtual void Quit (
void);
200 uint32_t mDolbyState;
201 uint32_t mDolbyLength;
205 #endif // _NTV2CAPTURE_H
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
Declares the AJASystemInfo class.
bool fDoAudioFilter
If true, capture only audio anc.
Declares device capability functions.
std::string fDeviceSpec
The AJA device to use.
std::string fDolbyDataFilePath
Optional path to Dolby binary data file.
NTV2Channel
These enum values are mostly used to identify a specific Frame Store. They're also commonly used to i...
A generic user-space buffer object that has an address and a length. Used most often to share an arbi...
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.
struct DolbyConfig DolbyConfig
This class is used to configure an NTV2Capture instance.
bool fDoFrameData
if true, output per frame statistics
virtual void CaptureFrames(void)
Repeatedly captures frames using AutoCirculate (until global quit flag set).
NTV2Channel fInputChannel
The device channel to use.
This class is used to configure an NTV2Capture instance.
virtual ~NTV2DolbyCapture()
NTV2InputSource fInputSource
The device input connector to use.
NTV2DeviceID
Identifies a specific AJA NTV2 device model number. The NTV2DeviceID is actually the PROM part number...
bool fDoMultiFormat
If true, use multi-format/multi-channel mode, if device supports it; otherwise normal mode.
NTV2FrameBufferFormat
Identifies a particular video frame buffer format. See Device Frame Buffer Formats for details.
virtual void SetupHostBuffers(void)
Sets up my circular buffers.
virtual AJAStatus SetupVideo(void)
Sets up everything I need for capturing video.
virtual void RouteInputSignal(void)
Sets up device routing for capture.
static void ConsumerThreadStatic(AJAThread *pThread, void *pContext)
This is the consumer thread's static callback function that gets called when the consumer thread runs...
NTV2DolbyCapture(const DolbyConfig &inConfig)
Constructs me using the given settings.
Declares the CNTV2DeviceScanner class.
DolbyConfig(const std::string &inDeviceSpec="0")
Constructs a default NTV2Capture configuration.
AutoCirculate Frame Range.
@ NTV2_INPUTSOURCE_INVALID
The invalid video input.
virtual void StartConsumerThread(void)
Starts my frame consumer thread.
virtual uint32_t RecoverDolby(NTV2Buffer &audio, uint32_t audioSize, NTV2Buffer &dolby)
Recover dolby from audio data.
Enumerations for controlling NTV2 devices.
@ NTV2_FBF_8BIT_YCBCR
See 8-Bit YCbCr Format.
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.
virtual uint32_t RecoverAudio(NTV2Buffer &anc, uint32_t ancSize, NTV2Buffer &audio)
Recover audio from ancillary data.
bool fWithAnc
If true, also capture Anc.
NTV2InputSource
Identifies a specific video input source.
CNTV2DemoCommon::ACFrameRange fFrames
AutoCirculate frame count or range.
This file contains some structures, constants, classes and functions that are used in some of the dem...
bool fWithDolby
If true, also capture Dolby.
Declares the enumeration constants used in the ajabase library.
virtual AJAStatus Run(void)
Runs me.
enum _NTV2VideoFormat NTV2VideoFormat
Identifies a particular video format.
virtual void Quit(void)
Gracefully stops me from running.
AJALabelValuePairs Get(const bool inCompact=(0)) const
bool fWithAudio
If true, also capture Audio.
NTV2PixelFormat fPixelFormat
Pixel format to use.
Instances of me capture frames in real time from a video signal provided to an input of an AJA device...
Declaration of AJACircularBuffer template class.
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::string fAudioDataFilePath
Optional path to Audio binary data file.
Declares the AJAThread class.
std::string fAncDataFilePath
Optional path to Anc binary data file.
std::ostream & operator<<(std::ostream &ioStrm, const DolbyConfig &inObj)
virtual void ConsumeFrames(void)
Repeatedly consumes frames from the circular buffer (until global quit flag set).