WPILibC++ 2024.3.2
Sink Creation Functions

Functions

CS_Sink cs::CreateMjpegServer (std::string_view name, std::string_view listenAddress, int port, CS_Status *status)
 
CS_Sink cs::CreateCvSink (std::string_view name, VideoMode::PixelFormat pixelFormat, CS_Status *status)
 
CS_Sink cs::CreateCvSinkCallback (std::string_view name, VideoMode::PixelFormat pixelFormat, std::function< void(uint64_t time)> processFrame, CS_Status *status)
 

Detailed Description

Function Documentation

◆ CreateCvSink()

CS_Sink cs::CreateCvSink ( std::string_view  name,
VideoMode::PixelFormat  pixelFormat,
CS_Status status 
)

◆ CreateCvSinkCallback()

CS_Sink cs::CreateCvSinkCallback ( std::string_view  name,
VideoMode::PixelFormat  pixelFormat,
std::function< void(uint64_t time)>  processFrame,
CS_Status status 
)

◆ CreateMjpegServer()

CS_Sink cs::CreateMjpegServer ( std::string_view  name,
std::string_view  listenAddress,
int  port,
CS_Status status 
)