![]() |
AJA NTV2 SDK
17.6.0.1688
NTV2 SDK 17.6.0.1688
|
Outputs live input video overlaid with image having transparency. More...
#include <ntv2overlay.h>
Public Member Functions | |
NTV2Overlay (const OverlayConfig &inConfig) | |
Construct from OverlayConfig. More... | |
virtual | ~NTV2Overlay () |
My destructor. More... | |
AJAStatus | Init (void) |
Prepares me to Run() More... | |
AJAStatus | Run (void) |
Runs me (only after Init called) More... | |
void | Quit (void) |
Gracefully stops me. More... | |
Protected Member Functions | |
AJAStatus | SetupVideo (void) |
Performs all video setup. More... | |
AJAStatus | SetupAudio (void) |
Performs all audio setup. More... | |
AJAStatus | SetupCaptureBuffers (void) |
Allocates capture buffers & ring. More... | |
void | ReleaseCaptureBuffers (void) |
Frees capture buffers & ring. More... | |
AJAStatus | SetupOverlayBug (void) |
Sets up overlay "bug". More... | |
NTV2VideoFormat | WaitForStableInputSignal (void) |
Waits for stable input signal. More... | |
void | RouteInputSignal (void) |
Performs input routing. More... | |
void | RouteOverlaySignal (void) |
Performs overlay routing. More... | |
void | RouteOutputSignal (void) |
Performs output routing. More... | |
void | StartOutputThread (void) |
Starts output thread. More... | |
void | OutputThread (void) |
The output/playout thread function. More... | |
void | StartInputThread (void) |
Starts input thread. More... | |
void | InputThread (void) |
The input/capture thread function. More... | |
Static Protected Member Functions | |
static void | OutputThreadStatic (AJAThread *pThread, void *pInstance) |
static void | InputThreadStatic (AJAThread *pThread, void *pInstance) |
Static output/playout thread function. More... | |
Outputs live input video overlaid with image having transparency.
Definition at line 22 of file ntv2overlay.h.
NTV2Overlay::NTV2Overlay | ( | const OverlayConfig & | inConfig | ) |
Construct from OverlayConfig.
Definition at line 23 of file ntv2overlay.cpp.
|
virtual |
My destructor.
Definition at line 38 of file ntv2overlay.cpp.
AJAStatus NTV2Overlay::Init | ( | void | ) |
Prepares me to Run()
Definition at line 68 of file ntv2overlay.cpp.
|
protected |
The input/capture thread function.
Definition at line 514 of file ntv2overlay.cpp.
|
staticprotected |
Static output/playout thread function.
Definition at line 494 of file ntv2overlay.cpp.
|
protected |
The output/playout thread function.
Definition at line 388 of file ntv2overlay.cpp.
|
staticprotected |
Definition at line 367 of file ntv2overlay.cpp.
void NTV2Overlay::Quit | ( | void | ) |
Gracefully stops me.
Definition at line 48 of file ntv2overlay.cpp.
|
protected |
Frees capture buffers & ring.
Definition at line 229 of file ntv2overlay.cpp.
|
protected |
Performs input routing.
Definition at line 159 of file ntv2overlay.cpp.
|
protected |
Performs output routing.
Definition at line 184 of file ntv2overlay.cpp.
|
protected |
Performs overlay routing.
Definition at line 175 of file ntv2overlay.cpp.
AJAStatus NTV2Overlay::Run | ( | void | ) |
Runs me (only after Init called)
Definition at line 347 of file ntv2overlay.cpp.
|
protected |
Performs all audio setup.
Definition at line 192 of file ntv2overlay.cpp.
|
protected |
Allocates capture buffers & ring.
Definition at line 206 of file ntv2overlay.cpp.
|
protected |
Sets up overlay "bug".
Definition at line 267 of file ntv2overlay.cpp.
|
protected |
Performs all video setup.
Definition at line 127 of file ntv2overlay.cpp.
|
protected |
Starts input thread.
Definition at line 485 of file ntv2overlay.cpp.
|
protected |
Starts output thread.
Definition at line 358 of file ntv2overlay.cpp.
|
protected |
Waits for stable input signal.
Definition at line 298 of file ntv2overlay.cpp.