Instances of me capture frames in real time from a video signal provided to an input of an AJA device.
More...
#include <ntv2dolbycapture.h>
|
static void | ConsumerThreadStatic (AJAThread *pThread, void *pContext) |
| This is the consumer thread's static callback function that gets called when the consumer thread runs. This function gets "Attached" to the consumer thread's AJAThread instance. More...
|
|
static void | ProducerThreadStatic (AJAThread *pThread, void *pContext) |
| This is the capture thread's static callback function that gets called when the capture thread runs. This function gets "Attached" to the AJAThread instance. More...
|
|
Instances of me capture frames in real time from a video signal provided to an input of an AJA device.
Definition at line 72 of file ntv2dolbycapture.h.
◆ NTV2DolbyCapture()
NTV2DolbyCapture::NTV2DolbyCapture |
( |
const DolbyConfig & |
inConfig | ) |
|
Constructs me using the given settings.
- Parameters
-
[in] | inConfig | Specifies how to configure capture. |
- Note
- I'm not completely initialized and ready to use until after my Init method has been called.
Definition at line 28 of file ntv2dolbycapture.cpp.
◆ ~NTV2DolbyCapture()
NTV2DolbyCapture::~NTV2DolbyCapture |
( |
| ) |
|
|
virtual |
◆ CaptureFrames()
void NTV2DolbyCapture::CaptureFrames |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly captures frames using AutoCirculate (until global quit flag set).
Definition at line 504 of file ntv2dolbycapture.cpp.
◆ ConsumeFrames()
void NTV2DolbyCapture::ConsumeFrames |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly consumes frames from the circular buffer (until global quit flag set).
Definition at line 385 of file ntv2dolbycapture.cpp.
◆ ConsumerThreadStatic()
void NTV2DolbyCapture::ConsumerThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the consumer thread's static callback function that gets called when the consumer thread runs. This function gets "Attached" to the consumer thread's AJAThread instance.
- Parameters
-
[in] | pThread | A valid pointer to the consumer thread's AJAThread instance. |
[in] | pContext | Context information to pass to the thread. (For this application, this will point to the NTV2DolbyCapture instance.) |
Definition at line 373 of file ntv2dolbycapture.cpp.
◆ GetACStatus()
void NTV2DolbyCapture::GetACStatus |
( |
ULWord & |
outGoodFrames, |
|
|
ULWord & |
outDroppedFrames, |
|
|
ULWord & |
outBufferLevel |
|
) |
| |
|
virtual |
Provides status information about my input (capture) process.
- Parameters
-
[out] | outGoodFrames | Receives the number of successfully captured frames. |
[out] | outDroppedFrames | Receives the number of dropped frames. |
[out] | outBufferLevel | Receives the buffer level (number of captured frames ready to be transferred to the host). |
Definition at line 587 of file ntv2dolbycapture.cpp.
◆ Init()
◆ ProducerThreadStatic()
void NTV2DolbyCapture::ProducerThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the capture thread's static callback function that gets called when the capture thread runs. This function gets "Attached" to the AJAThread instance.
- Parameters
-
[in] | pThread | Points to the AJAThread instance. |
[in] | pContext | Context information to pass to the thread. (For this application, this will point to the NTV2DolbyCapture instance.) |
Definition at line 492 of file ntv2dolbycapture.cpp.
◆ Quit()
void NTV2DolbyCapture::Quit |
( |
void |
| ) |
|
|
virtual |
◆ RecoverAudio()
◆ RecoverDolby()
uint32_t NTV2DolbyCapture::RecoverDolby |
( |
NTV2Buffer & |
audio, |
|
|
uint32_t |
audioSize, |
|
|
NTV2Buffer & |
dolby |
|
) |
| |
|
protectedvirtual |
◆ RouteInputSignal()
void NTV2DolbyCapture::RouteInputSignal |
( |
void |
| ) |
|
|
protectedvirtual |
◆ Run()
Runs me.
- Note
- Call this method only after calling Init and it returned AJA_STATUS_SUCCESS.
Definition at line 349 of file ntv2dolbycapture.cpp.
◆ SetupAudio()
AJAStatus NTV2DolbyCapture::SetupAudio |
( |
void |
| ) |
|
|
protectedvirtual |
◆ SetupHostBuffers()
void NTV2DolbyCapture::SetupHostBuffers |
( |
void |
| ) |
|
|
protectedvirtual |
◆ SetupVideo()
AJAStatus NTV2DolbyCapture::SetupVideo |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartConsumerThread()
void NTV2DolbyCapture::StartConsumerThread |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartProducerThread()
void NTV2DolbyCapture::StartProducerThread |
( |
void |
| ) |
|
|
protectedvirtual |
The documentation for this class was generated from the following files:
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajantv2/demos/ntv2dolbycapture/ntv2dolbycapture.h
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajantv2/demos/ntv2dolbycapture/ntv2dolbycapture.cpp