WPILibC++  2019.3.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Modules Pages
cs::VideoMode Struct Reference

Video mode. More...

#include <cscore_cpp.h>

Inheritance diagram for cs::VideoMode:
CS_VideoMode

Public Types

enum  PixelFormat {
  kUnknown = CS_PIXFMT_UNKNOWN, kMJPEG = CS_PIXFMT_MJPEG, kYUYV = CS_PIXFMT_YUYV, kRGB565 = CS_PIXFMT_RGB565,
  kBGR = CS_PIXFMT_BGR, kGray = CS_PIXFMT_GRAY
}
 

Public Member Functions

 VideoMode (PixelFormat pixelFormat_, int width_, int height_, int fps_)
 
 operator bool () const
 
bool operator== (const VideoMode &other) const
 
bool operator!= (const VideoMode &other) const
 

Additional Inherited Members

- Public Attributes inherited from CS_VideoMode
int pixelFormat
 
int width
 
int height
 
int fps
 

Detailed Description

Video mode.


The documentation for this struct was generated from the following file: