WPILibC++ 2023.4.3-108-ge5452e3
cscore_raw.h File Reference
#include "cscore_c.h"
#include "cscore_oo.h"

Go to the source code of this file.

Classes

struct  CS_RawFrame
 Raw Frame. More...
 
struct  cs::RawFrame
 
class  cs::RawSource
 A source for user code to provide video frames as raw bytes. More...
 
class  cs::RawSink
 A sink for user code to accept video frames as raw bytes. More...
 

Namespaces

namespace  cs
 CameraServer (cscore) namespace.
 

Typedefs

typedef struct CS_RawFrame CS_RawFrame
 Raw Frame. More...
 

Functions

void CS_AllocateRawFrameData (CS_RawFrame *frame, int requestedSize)
 
void CS_FreeRawFrameData (CS_RawFrame *frame)
 
uint64_t CS_GrabRawSinkFrame (CS_Sink sink, struct CS_RawFrame *rawImage, CS_Status *status)
 
uint64_t CS_GrabRawSinkFrameTimeout (CS_Sink sink, struct CS_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 CS_RawFrame *image, CS_Status *status)
 
CS_Source CS_CreateRawSource (const char *name, const CS_VideoMode *mode, CS_Status *status)
 
CS_Source cs::CreateRawSource (std::string_view name, const VideoMode &mode, CS_Status *status)
 
CS_Sink cs::CreateRawSink (std::string_view name, CS_Status *status)
 
CS_Sink cs::CreateRawSinkCallback (std::string_view name, std::function< void(uint64_t time)> processFrame, CS_Status *status)
 
void cs::PutSourceFrame (CS_Source source, const CS_RawFrame &image, CS_Status *status)
 
uint64_t cs::GrabSinkFrame (CS_Sink sink, CS_RawFrame &image, CS_Status *status)
 
uint64_t cs::GrabSinkFrameTimeout (CS_Sink sink, CS_RawFrame &image, double timeout, CS_Status *status)
 

Typedef Documentation

◆ CS_RawFrame

typedef struct CS_RawFrame CS_RawFrame

Raw Frame.