AJA NTV2 SDK  18.1.0.2262
NTV2 SDK 18.1.0.2262
main.cpp
Go to the documentation of this file.
1 /* SPDX-License-Identifier: MIT */
9 // Includes
10 #include "ntv2metale2e.h"
11 
12 
13 using namespace std;
14 
15 
16 int main (int argc, const char ** argv)
17 { // Create the object that program genlock and route video...
18  NTV2MetalE2E powerUpDemo;
19  AJAStatus status = powerUpDemo.Run();
20 
21  if (AJA_FAILURE(status))
22  {cout << "## ERROR: NTV2MetalE2E failed: " << ::AJAStatusToString(status) << endl; return 2;}
23 
24  return 0;
25 
26 } // main
int main(int argc, const char **argv)
Definition: main.cpp:30
AJAStatus
Definition: types.h:380
#define AJA_FAILURE(_status_)
Definition: types.h:373
Definition: json.hpp:5362
std::string AJAStatusToString(const AJAStatus inStatus, const bool inDetailed)
Definition: debug.cpp:987
AJAStatus Run(void)
Do something from the KonaX Xilinx Baremetal system.