WPILibC++ 2024.3.2
RawFrame.h File Reference
#include <stdint.h>
#include <concepts>
#include <cstddef>

Go to the source code of this file.

Classes

struct  WPI_RawFrame
 Raw Frame. More...
 
struct  wpi::RawFrame
 

Namespaces

namespace  wpi
 

Typedefs

typedef struct WPI_RawFrame WPI_RawFrame
 Raw Frame. More...
 

Enumerations

enum  WPI_PixelFormat {
  WPI_PIXFMT_UNKNOWN = 0 , WPI_PIXFMT_MJPEG , WPI_PIXFMT_YUYV , WPI_PIXFMT_RGB565 ,
  WPI_PIXFMT_BGR , WPI_PIXFMT_GRAY , WPI_PIXFMT_Y16 , WPI_PIXFMT_UYVY
}
 Pixel formats. More...
 

Functions

int WPI_AllocateRawFrameData (WPI_RawFrame *frame, size_t requestedSize)
 
void WPI_FreeRawFrameData (WPI_RawFrame *frame)
 
void WPI_SetRawFrameData (WPI_RawFrame *frame, void *data, size_t size, size_t capacity, void *cbdata, void(*freeFunc)(void *cbdata, void *data, size_t capacity))
 

Typedef Documentation

◆ WPI_RawFrame

typedef struct WPI_RawFrame WPI_RawFrame

Raw Frame.

Enumeration Type Documentation

◆ WPI_PixelFormat

Pixel formats.

Enumerator
WPI_PIXFMT_UNKNOWN 
WPI_PIXFMT_MJPEG 
WPI_PIXFMT_YUYV 
WPI_PIXFMT_RGB565 
WPI_PIXFMT_BGR 
WPI_PIXFMT_GRAY 
WPI_PIXFMT_Y16 
WPI_PIXFMT_UYVY 

Function Documentation

◆ WPI_AllocateRawFrameData()

int WPI_AllocateRawFrameData ( WPI_RawFrame frame,
size_t  requestedSize 
)

◆ WPI_FreeRawFrameData()

void WPI_FreeRawFrameData ( WPI_RawFrame frame)

◆ WPI_SetRawFrameData()

void WPI_SetRawFrameData ( WPI_RawFrame frame,
void *  data,
size_t  size,
size_t  capacity,
void *  cbdata,
void(*)(void *cbdata, void *data, size_t capacity)  freeFunc 
)