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
main
int main(int argc, const char **argv)
Definition:
main.cpp:30
AJAStatus
AJAStatus
Definition:
types.h:380
AJA_FAILURE
#define AJA_FAILURE(_status_)
Definition:
types.h:373
ntv2metale2e.h
std
Definition:
json.hpp:5362
NTV2MetalE2E
Definition:
ntv2metale2e.h:434
AJAStatusToString
std::string AJAStatusToString(const AJAStatus inStatus, const bool inDetailed)
Definition:
debug.cpp:987
NTV2MetalE2E::Run
AJAStatus Run(void)
Do something from the KonaX Xilinx Baremetal system.
Definition:
ntv2metale2e.cpp:35
libajantv2
demos
ntv2metale2e
main.cpp
Generated on Thu Jun 4 2026 06:18:26 for AJA NTV2 SDK by
1.8.14