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

Simple C interface to NTV2. More...

#include "ntv2link.h"
#include "ntv2card.h"
#include "ntv42message.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)
 
bool ntv2card_send_message (void *card, void *data, unsigned int size)
 

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 26 of file ntv2link.cpp.

◆ ntv2card_get_description()

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

Definition at line 45 of file ntv2link.cpp.

◆ ntv2card_get_display_name()

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

Definition at line 35 of file ntv2link.cpp.

◆ ntv2card_get_serial_number()

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

Definition at line 55 of file ntv2link.cpp.

◆ ntv2card_open()

bool ntv2card_open ( int  index,
void **  card 
)

Definition at line 13 of file ntv2link.cpp.

◆ ntv2card_register_read()

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

Definition at line 67 of file ntv2link.cpp.

◆ ntv2card_register_write()

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

Definition at line 83 of file ntv2link.cpp.

◆ ntv2card_send_message()

bool ntv2card_send_message ( void *  card,
void *  data,
unsigned int  size 
)

Definition at line 91 of file ntv2link.cpp.