AJA NTV2 SDK  18.0.0.2717
NTV2 SDK 18.0.0.2717
ntv2link.cpp File Reference

Simple C interface to NTV2. More...

#include "ntv2link.h"
#include "ntv2card.h"
Include dependency graph for ntv2link.cpp:

Go to the source code of this file.

Functions

bool ntv2card_open (int index, void **card)
 
void ntv2card_close (void *card)
 
bool ntv2card_get_display_name (void *card, char *display, int size)
 
bool ntv2card_get_description (void *card, char *description, int size)
 
bool ntv2card_get_serial_number (void *card, char *serial, int size)
 
bool ntv2card_register_read (void *card, unsigned int reg, unsigned int *data)
 
bool ntv2card_register_write (void *card, unsigned int reg, unsigned int data)
 

Detailed Description

Simple C interface to NTV2.

Note
This file is included in driver builds. It must not contain any c++.

Definition in file ntv2link.cpp.

Function Documentation

◆ ntv2card_close()

void ntv2card_close ( void *  card)

Definition at line 25 of file ntv2link.cpp.

◆ ntv2card_get_description()

bool ntv2card_get_description ( void *  card,
char *  description,
int  size 
)

Definition at line 44 of file ntv2link.cpp.

◆ ntv2card_get_display_name()

bool ntv2card_get_display_name ( void *  card,
char *  display,
int  size 
)

Definition at line 34 of file ntv2link.cpp.

◆ ntv2card_get_serial_number()

bool ntv2card_get_serial_number ( void *  card,
char *  serial,
int  size 
)

Definition at line 54 of file ntv2link.cpp.

◆ ntv2card_open()

bool ntv2card_open ( int  index,
void **  card 
)

Definition at line 12 of file ntv2link.cpp.

◆ ntv2card_register_read()

bool ntv2card_register_read ( void *  card,
unsigned int  reg,
unsigned int *  data 
)

Definition at line 66 of file ntv2link.cpp.

◆ ntv2card_register_write()

bool ntv2card_register_write ( void *  card,
unsigned int  reg,
unsigned int  data 
)

Definition at line 74 of file ntv2link.cpp.