AJA NTV2 SDK  17.6.0.1688
NTV2 SDK 17.6.0.1688
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
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 "ntv2encodehevcfile.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))
 
const int kNoSelection (1000000000)
 
static bool gGlobalQuit ((0))
 
static int printPresets (void)
 
static int printFormats (void)
 
static void SignalHandler (int inSignal)
 
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()

const int kNoSelection ( 1000000000  )

◆ main()

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

Definition at line 142 of file main.cpp.

◆ printFormats()

static int printFormats ( void  )
static

Definition at line 124 of file main.cpp.

◆ printPresets()

static int printPresets ( void  )
static

Definition at line 112 of file main.cpp.

◆ SignalHandler()

static void SignalHandler ( int  inSignal)
static

Definition at line 136 of file main.cpp.

Variable Documentation

◆ kCodecFormat

◆ kCodecPreset

const M31VideoPreset kCodecPreset[]

Definition at line 23 of file main.cpp.

NTV2_FBF_10BIT_YCBCR_420PL2
@ NTV2_FBF_10BIT_YCBCR_420PL2
10-Bit 4:2:0 2-Plane YCbCr
Definition: ntv2enums.h:242
NTV2_FBF_8BIT_YCBCR_420PL2
@ NTV2_FBF_8BIT_YCBCR_420PL2
8-Bit 4:2:0 2-Plane YCbCr
Definition: ntv2enums.h:244
NTV2_FBF_10BIT_YCBCR_422PL2
@ NTV2_FBF_10BIT_YCBCR_422PL2
10-Bit 4:2:2 2-Plane YCbCr
Definition: ntv2enums.h:243
NTV2_FBF_8BIT_YCBCR_422PL2
@ NTV2_FBF_8BIT_YCBCR_422PL2
8-Bit 4:2:2 2-Plane YCbCr
Definition: ntv2enums.h:245