WPILibC++ 2024.3.2
Raw Image Functions

Functions

uint64_t CS_GrabRawSinkFrame (CS_Sink sink, struct WPI_RawFrame *rawImage, CS_Status *status)
 
uint64_t CS_GrabRawSinkFrameTimeout (CS_Sink sink, struct WPI_RawFrame *rawImage, double timeout, CS_Status *status)
 
CS_Sink CS_CreateRawSink (const char *name, CS_Status *status)
 
CS_Sink CS_CreateRawSinkCallback (const char *name, void *data, void(*processFrame)(void *data, uint64_t time), CS_Status *status)
 
void CS_PutRawSourceFrame (CS_Source source, const struct WPI_RawFrame *image, CS_Status *status)
 
CS_Source CS_CreateRawSource (const char *name, const CS_VideoMode *mode, CS_Status *status)
 

Detailed Description

Function Documentation

◆ CS_CreateRawSink()

CS_Sink CS_CreateRawSink ( const char *  name,
CS_Status status 
)

◆ CS_CreateRawSinkCallback()

CS_Sink CS_CreateRawSinkCallback ( const char *  name,
void *  data,
void(*)(void *data, uint64_t time)  processFrame,
CS_Status status 
)

◆ CS_CreateRawSource()

CS_Source CS_CreateRawSource ( const char *  name,
const CS_VideoMode mode,
CS_Status status 
)

◆ CS_GrabRawSinkFrame()

uint64_t CS_GrabRawSinkFrame ( CS_Sink  sink,
struct WPI_RawFrame rawImage,
CS_Status status 
)

◆ CS_GrabRawSinkFrameTimeout()

uint64_t CS_GrabRawSinkFrameTimeout ( CS_Sink  sink,
struct WPI_RawFrame rawImage,
double  timeout,
CS_Status status 
)

◆ CS_PutRawSourceFrame()

void CS_PutRawSourceFrame ( CS_Source  source,
const struct WPI_RawFrame image,
CS_Status status 
)