WPILibC++ 2023.4.3-108-ge5452e3
Source Functions

Functions

enum CS_SourceKind CS_GetSourceKind (CS_Source source, CS_Status *status)
 
char * CS_GetSourceName (CS_Source source, CS_Status *status)
 
char * CS_GetSourceDescription (CS_Source source, CS_Status *status)
 
uint64_t CS_GetSourceLastFrameTime (CS_Source source, CS_Status *status)
 
void CS_SetSourceConnectionStrategy (CS_Source source, enum CS_ConnectionStrategy strategy, CS_Status *status)
 
CS_Bool CS_IsSourceConnected (CS_Source source, CS_Status *status)
 
CS_Bool CS_IsSourceEnabled (CS_Source source, CS_Status *status)
 
CS_Property CS_GetSourceProperty (CS_Source source, const char *name, CS_Status *status)
 
CS_PropertyCS_EnumerateSourceProperties (CS_Source source, int *count, CS_Status *status)
 
void CS_GetSourceVideoMode (CS_Source source, CS_VideoMode *mode, CS_Status *status)
 
CS_Bool CS_SetSourceVideoMode (CS_Source source, const CS_VideoMode *mode, CS_Status *status)
 
CS_Bool CS_SetSourceVideoModeDiscrete (CS_Source source, enum CS_PixelFormat pixelFormat, int width, int height, int fps, CS_Status *status)
 
CS_Bool CS_SetSourcePixelFormat (CS_Source source, enum CS_PixelFormat pixelFormat, CS_Status *status)
 
CS_Bool CS_SetSourceResolution (CS_Source source, int width, int height, CS_Status *status)
 
CS_Bool CS_SetSourceFPS (CS_Source source, int fps, CS_Status *status)
 
CS_Bool CS_SetSourceConfigJson (CS_Source source, const char *config, CS_Status *status)
 
char * CS_GetSourceConfigJson (CS_Source source, CS_Status *status)
 
CS_VideoModeCS_EnumerateSourceVideoModes (CS_Source source, int *count, CS_Status *status)
 
CS_SinkCS_EnumerateSourceSinks (CS_Source source, int *count, CS_Status *status)
 
CS_Source CS_CopySource (CS_Source source, CS_Status *status)
 
void CS_ReleaseSource (CS_Source source, CS_Status *status)
 

Detailed Description

Function Documentation

◆ CS_CopySource()

CS_Source CS_CopySource ( CS_Source  source,
CS_Status status 
)

◆ CS_EnumerateSourceProperties()

CS_Property * CS_EnumerateSourceProperties ( CS_Source  source,
int *  count,
CS_Status status 
)

◆ CS_EnumerateSourceSinks()

CS_Sink * CS_EnumerateSourceSinks ( CS_Source  source,
int *  count,
CS_Status status 
)

◆ CS_EnumerateSourceVideoModes()

CS_VideoMode * CS_EnumerateSourceVideoModes ( CS_Source  source,
int *  count,
CS_Status status 
)

◆ CS_GetSourceConfigJson()

char * CS_GetSourceConfigJson ( CS_Source  source,
CS_Status status 
)

◆ CS_GetSourceDescription()

char * CS_GetSourceDescription ( CS_Source  source,
CS_Status status 
)

◆ CS_GetSourceKind()

enum CS_SourceKind CS_GetSourceKind ( CS_Source  source,
CS_Status status 
)

◆ CS_GetSourceLastFrameTime()

uint64_t CS_GetSourceLastFrameTime ( CS_Source  source,
CS_Status status 
)

◆ CS_GetSourceName()

char * CS_GetSourceName ( CS_Source  source,
CS_Status status 
)

◆ CS_GetSourceProperty()

CS_Property CS_GetSourceProperty ( CS_Source  source,
const char *  name,
CS_Status status 
)

◆ CS_GetSourceVideoMode()

void CS_GetSourceVideoMode ( CS_Source  source,
CS_VideoMode mode,
CS_Status status 
)

◆ CS_IsSourceConnected()

CS_Bool CS_IsSourceConnected ( CS_Source  source,
CS_Status status 
)

◆ CS_IsSourceEnabled()

CS_Bool CS_IsSourceEnabled ( CS_Source  source,
CS_Status status 
)

◆ CS_ReleaseSource()

void CS_ReleaseSource ( CS_Source  source,
CS_Status status 
)

◆ CS_SetSourceConfigJson()

CS_Bool CS_SetSourceConfigJson ( CS_Source  source,
const char *  config,
CS_Status status 
)

◆ CS_SetSourceConnectionStrategy()

void CS_SetSourceConnectionStrategy ( CS_Source  source,
enum CS_ConnectionStrategy  strategy,
CS_Status status 
)

◆ CS_SetSourceFPS()

CS_Bool CS_SetSourceFPS ( CS_Source  source,
int  fps,
CS_Status status 
)

◆ CS_SetSourcePixelFormat()

CS_Bool CS_SetSourcePixelFormat ( CS_Source  source,
enum CS_PixelFormat  pixelFormat,
CS_Status status 
)

◆ CS_SetSourceResolution()

CS_Bool CS_SetSourceResolution ( CS_Source  source,
int  width,
int  height,
CS_Status status 
)

◆ CS_SetSourceVideoMode()

CS_Bool CS_SetSourceVideoMode ( CS_Source  source,
const CS_VideoMode mode,
CS_Status status 
)

◆ CS_SetSourceVideoModeDiscrete()

CS_Bool CS_SetSourceVideoModeDiscrete ( CS_Source  source,
enum CS_PixelFormat  pixelFormat,
int  width,
int  height,
int  fps,
CS_Status status 
)