AJA NTV2 SDK  17.0.1.1246
NTV2 SDK 17.0.1.1246
main.cpp File Reference

Demonstration application to capture frames from SDI input. More...

#include "ntv2utils.h"
#include "ajatypes.h"
#include "ntv2m31publicinterface.h"
#include "ajabase/common/options_popt.h"
#include "ajabase/system/systemtime.h"
#include "ntv2encodehevcvif.h"
#include <signal.h>
#include <iostream>
#include <iomanip>
Include dependency graph for main.cpp:

Go to the source code of this file.

Functions

static const size_t gNumCodecPresets (sizeof(kCodecPreset)/sizeof(M31VideoPreset))
 
static const size_t gNumCodecFormats (sizeof(kCodecFormat)/sizeof(NTV2FrameBufferFormat))
 
static const int kNoSelection (1000000000)
 
static bool gGlobalQuit ((0))
 
static void SignalHandler (int inSignal)
 
static int printPresets (void)
 
static int printFormats (void)
 
int main (int argc, const char **argv)
 

Variables

const M31VideoPreset kCodecPreset []
 
const NTV2FrameBufferFormat kCodecFormat []
 

Detailed Description

Demonstration application to capture frames from SDI input.

Definition in file main.cpp.

Function Documentation

◆ gGlobalQuit()

static bool gGlobalQuit ( (0)  )
static

◆ gNumCodecFormats()

static const size_t gNumCodecFormats ( sizeof(kCodecFormat)/sizeof(NTV2FrameBufferFormat )
static

◆ gNumCodecPresets()

static const size_t gNumCodecPresets ( sizeof(kCodecPreset)/sizeof(M31VideoPreset )
static

◆ kNoSelection()

static const int kNoSelection ( 1000000000  )
static

◆ main()

int main ( int  argc,
const char **  argv 
)

Definition at line 78 of file main.cpp.

◆ printFormats()

static int printFormats ( void  )
static

Definition at line 66 of file main.cpp.

◆ printPresets()

static int printPresets ( void  )
static

Definition at line 55 of file main.cpp.

◆ SignalHandler()

static void SignalHandler ( int  inSignal)
static

Definition at line 50 of file main.cpp.

Variable Documentation

◆ kCodecFormat

◆ kCodecPreset

NTV2_FBF_10BIT_YCBCR_420PL2
@ NTV2_FBF_10BIT_YCBCR_420PL2
10-Bit 4:2:0 2-Plane YCbCr
Definition: ntv2enums.h:239
M31_VIF_3840X2160_422_10_50p
@ M31_VIF_3840X2160_422_10_50p
Definition: ntv2m31enums.h:174
M31_VIF_3840X2160_420_10_50p
@ M31_VIF_3840X2160_420_10_50p
Definition: ntv2m31enums.h:169
M31_VIF_3840X2160_422_10_5994p
@ M31_VIF_3840X2160_422_10_5994p
Definition: ntv2m31enums.h:175
M31_VIF_3840X2160_420_8_50p
@ M31_VIF_3840X2160_420_8_50p
Definition: ntv2m31enums.h:166
M31_VIF_3840X2160_420_10_5994p
@ M31_VIF_3840X2160_420_10_5994p
Definition: ntv2m31enums.h:170
M31_VIF_3840X2160_420_8_5994p
@ M31_VIF_3840X2160_420_8_5994p
Definition: ntv2m31enums.h:167
NTV2_FBF_8BIT_YCBCR_420PL2
@ NTV2_FBF_8BIT_YCBCR_420PL2
8-Bit 4:2:0 2-Plane YCbCr
Definition: ntv2enums.h:241
M31_VIF_3840X2160_420_10_60p
@ M31_VIF_3840X2160_420_10_60p
Definition: ntv2m31enums.h:171
M31_VIF_3840X2160_422_10_60p
@ M31_VIF_3840X2160_422_10_60p
Definition: ntv2m31enums.h:176
NTV2_FBF_10BIT_YCBCR_422PL2
@ NTV2_FBF_10BIT_YCBCR_422PL2
10-Bit 4:2:2 2-Plane YCbCr
Definition: ntv2enums.h:240
NTV2_FBF_8BIT_YCBCR_422PL2
@ NTV2_FBF_8BIT_YCBCR_422PL2
8-Bit 4:2:2 2-Plane YCbCr
Definition: ntv2enums.h:242
M31_VIF_3840X2160_420_8_60p
@ M31_VIF_3840X2160_420_8_60p
Definition: ntv2m31enums.h:168