Instances of me capture frames in real time from a video signal provided to an input of an AJA device.
More...
#include <ntv2encodehevc.h>
|
static void | VideoInputThreadStatic (AJAThread *pThread, void *pContext) |
| This is the video input thread's static callback function that gets called when the thread starts. This function gets "Attached" to the AJAThread instance. More...
|
|
static void | VideoProcessThreadStatic (AJAThread *pThread, void *pContext) |
| This is the video process thread's static callback function that gets called when the thread starts. This function gets "Attached" to the consumer thread's AJAThread instance. More...
|
|
static void | CodecRawThreadStatic (AJAThread *pThread, void *pContext) |
| This is the codec raw thread's static callback function that gets called when the thread starts. This function gets "Attached" to the consumer thread's AJAThread instance. More...
|
|
static void | CodecHevcThreadStatic (AJAThread *pThread, void *pContext) |
| This is the codec hevc thread's static callback function that gets called when the thread starts. This function gets "Attached" to the consumer thread's AJAThread instance. More...
|
|
static void | VideoFileThreadStatic (AJAThread *pThread, void *pContext) |
| This is the video file writer thread's static callback function that gets called when the thread starts. This function gets "Attached" to the consumer thread's AJAThread instance. More...
|
|
static void | AudioFileThreadStatic (AJAThread *pThread, void *pContext) |
| This is the audio file writer thread's static callback function that gets called when the thread starts. This function gets "Attached" to the consumer thread's 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 37 of file ntv2encodehevc.h.
◆ NTV2EncodeHEVC()
Constructs me using the given settings.
- Note
- I'm not completely initialized and ready to use until after my Init method has been called.
- Parameters
-
[in] | inDeviceSpecifier | Specifies the AJA device to use. Defaults to "0" (first device found). |
[in] | inChannel | Specifies the channel to use. Defaults to NTV2_CHANNEL1. |
[in] | inM31Preset | Specifies the m31 preset to use. Defaults to 8-bit 1280x720 5994p. |
[in] | inPixelFormat | Specifies the pixel format to use. Defaults to NTV2_FBF_10BIT_YCBCR_420PL2. |
[in] | inQuadMode | Specifies UHD mode. Defaults to HD mode. |
[in] | inAudioChannels | Specifies number of audio channels to write to AIFF file. Defaults to 2 channels. |
[in] | inTimeCodeBurn | Add timecode burn. Defaults to no timecode burn. |
[in] | inInfoMode | Use picture and encoded information. Defaults to no info data. |
[in] | inTsiMode | Use two sample interleave mode for UHD/4K. Defaults to square division mode. |
[in] | inMaxFrames | Specifies the maximum number of frames to capture. Defaults to 0xFFFFFFFF (unlimited). |
Definition at line 21 of file ntv2encodehevc.cpp.
◆ ~NTV2EncodeHEVC()
NTV2EncodeHEVC::~NTV2EncodeHEVC |
( |
| ) |
|
|
virtual |
◆ AudioFileThreadStatic()
void NTV2EncodeHEVC::AudioFileThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the audio file writer thread's static callback function that gets called when the thread starts. 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. |
Definition at line 1347 of file ntv2encodehevc.cpp.
◆ AudioFileWorker()
void NTV2EncodeHEVC::AudioFileWorker |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly removes audio samples from the audio input ring and writes them to the audio output file.
Definition at line 1357 of file ntv2encodehevc.cpp.
◆ CodecHevcThreadStatic()
void NTV2EncodeHEVC::CodecHevcThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the codec hevc thread's static callback function that gets called when the thread starts. 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. |
Definition at line 1150 of file ntv2encodehevc.cpp.
◆ CodecHevcWorker()
void NTV2EncodeHEVC::CodecHevcWorker |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly transfers hevc frames from the codec and adds them to the hevc ring.
Definition at line 1160 of file ntv2encodehevc.cpp.
◆ CodecRawThreadStatic()
void NTV2EncodeHEVC::CodecRawThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the codec raw thread's static callback function that gets called when the thread starts. 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. |
Definition at line 1018 of file ntv2encodehevc.cpp.
◆ CodecRawWorker()
void NTV2EncodeHEVC::CodecRawWorker |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly removes video frames from the raw video ring and transfers them to the codec.
Definition at line 1028 of file ntv2encodehevc.cpp.
◆ GetCodecPreset()
◆ GetStatus()
Provides status information about my input (capture) process.
- Parameters
-
[out] | outStatus | Receives status information about my input (capture) process. |
Definition at line 1390 of file ntv2encodehevc.cpp.
◆ Init()
◆ ProcessVideoFrame()
Default do-nothing function for processing the captured frames.
Definition at line 1401 of file ntv2encodehevc.cpp.
◆ Quit()
void NTV2EncodeHEVC::Quit |
( |
void |
| ) |
|
|
virtual |
◆ RouteInputSignal()
void NTV2EncodeHEVC::RouteInputSignal |
( |
void |
| ) |
|
|
protectedvirtual |
◆ Run()
Runs me.
- Note
- Do not call this method without first calling my Init method.
Definition at line 772 of file ntv2encodehevc.cpp.
◆ SetupAudio()
AJAStatus NTV2EncodeHEVC::SetupAudio |
( |
void |
| ) |
|
|
protectedvirtual |
◆ SetupAutoCirculate()
void NTV2EncodeHEVC::SetupAutoCirculate |
( |
void |
| ) |
|
|
protectedvirtual |
◆ SetupHostBuffers()
void NTV2EncodeHEVC::SetupHostBuffers |
( |
void |
| ) |
|
|
protectedvirtual |
◆ SetupVideo()
AJAStatus NTV2EncodeHEVC::SetupVideo |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartAudioFileThread()
void NTV2EncodeHEVC::StartAudioFileThread |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartCodecHevcThread()
void NTV2EncodeHEVC::StartCodecHevcThread |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartCodecRawThread()
void NTV2EncodeHEVC::StartCodecRawThread |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartVideoFileThread()
void NTV2EncodeHEVC::StartVideoFileThread |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartVideoInputThread()
void NTV2EncodeHEVC::StartVideoInputThread |
( |
void |
| ) |
|
|
protectedvirtual |
◆ StartVideoProcessThread()
void NTV2EncodeHEVC::StartVideoProcessThread |
( |
void |
| ) |
|
|
protectedvirtual |
◆ VideoFileThreadStatic()
void NTV2EncodeHEVC::VideoFileThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the video file writer thread's static callback function that gets called when the thread starts. 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. |
Definition at line 1288 of file ntv2encodehevc.cpp.
◆ VideoFileWorker()
void NTV2EncodeHEVC::VideoFileWorker |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly removes hevc frame from the hevc ring and writes them to the hevc output file.
Definition at line 1298 of file ntv2encodehevc.cpp.
◆ VideoInputThreadStatic()
void NTV2EncodeHEVC::VideoInputThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the video input thread's static callback function that gets called when the thread starts. 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. |
Definition at line 804 of file ntv2encodehevc.cpp.
◆ VideoInputWorker()
void NTV2EncodeHEVC::VideoInputWorker |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly captures video frames using AutoCirculate and add them to the video input ring.
Definition at line 814 of file ntv2encodehevc.cpp.
◆ VideoProcessThreadStatic()
void NTV2EncodeHEVC::VideoProcessThreadStatic |
( |
AJAThread * |
pThread, |
|
|
void * |
pContext |
|
) |
| |
|
staticprotected |
This is the video process thread's static callback function that gets called when the thread starts. 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. |
Definition at line 967 of file ntv2encodehevc.cpp.
◆ VideoProcessWorker()
void NTV2EncodeHEVC::VideoProcessWorker |
( |
void |
| ) |
|
|
protectedvirtual |
Repeatedly removes video frames from the video input ring, calls a custom video process method and adds the result to the raw video ring.
Definition at line 977 of file ntv2encodehevc.cpp.
The documentation for this class was generated from the following files:
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajantv2/demos/ntv2encodehevc/ntv2encodehevc.h
- /home/tcbuilder/buildAgent/work/df8e8cce5bebfd58/libajantv2/demos/ntv2encodehevc/ntv2encodehevc.cpp