Package edu.wpi.first.cscore
Class VideoMode
java.lang.Object
edu.wpi.first.cscore.VideoMode
Video mode.
-
Field Summary
Modifier and TypeFieldDescriptionint
Frames per second.int
Height in pixels.Pixel format.int
Width in pixels. -
Constructor Summary
ConstructorDescriptionVideoMode
(int pixelFormat, int width, int height, int fps) Create a new video mode.VideoMode
(PixelFormat pixelFormat, int width, int height, int fps) Create a new video mode. -
Method Summary
-
Field Details
-
pixelFormat
Pixel format. -
width
Width in pixels. -
height
Height in pixels. -
fps
Frames per second.
-
-
Constructor Details
-
VideoMode
Create a new video mode.- Parameters:
pixelFormat
- The pixel format enum as an integer.width
- The image width in pixels.height
- The image height in pixels.fps
- The camera's frames per second.
-
VideoMode
Create a new video mode.- Parameters:
pixelFormat
- The pixel format.width
- The image width in pixels.height
- The image height in pixels.fps
- The camera's frames per second.
-
-
Method Details