WPILibC++
2027.0.0-alpha-4
Loading...
Searching...
No Matches
PixelFormat.h
Go to the documentation of this file.
1
// Copyright (c) FIRST and other WPILib contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the WPILib BSD license file in the root directory of this project.
4
5
#pragma once
6
7
/**
8
* Pixel formats
9
*/
10
enum
WPI_PixelFormat
{
11
WPI_PIXFMT_UNKNOWN
= 0,
// unknown
12
WPI_PIXFMT_MJPEG
,
// Motion-JPEG (compressed image data)
13
WPI_PIXFMT_YUYV
,
// YUV 4:2:2, 16 bpp
14
WPI_PIXFMT_RGB565
,
// RGB 5-6-5, 16 bpp
15
WPI_PIXFMT_BGR
,
// BGR 8-8-8, 24 bpp
16
WPI_PIXFMT_GRAY
,
// Grayscale, 8 bpp
17
WPI_PIXFMT_Y16
,
// Grayscale, 16 bpp
18
WPI_PIXFMT_UYVY
,
// YUV 4:2:2, 16 bpp
19
WPI_PIXFMT_BGRA
,
// BGRA 8-8-8-8-, 32 bpp
20
};
WPI_PixelFormat
WPI_PixelFormat
Pixel formats.
Definition
PixelFormat.h:10
WPI_PIXFMT_YUYV
@ WPI_PIXFMT_YUYV
Definition
PixelFormat.h:13
WPI_PIXFMT_Y16
@ WPI_PIXFMT_Y16
Definition
PixelFormat.h:17
WPI_PIXFMT_UYVY
@ WPI_PIXFMT_UYVY
Definition
PixelFormat.h:18
WPI_PIXFMT_BGRA
@ WPI_PIXFMT_BGRA
Definition
PixelFormat.h:19
WPI_PIXFMT_MJPEG
@ WPI_PIXFMT_MJPEG
Definition
PixelFormat.h:12
WPI_PIXFMT_GRAY
@ WPI_PIXFMT_GRAY
Definition
PixelFormat.h:16
WPI_PIXFMT_RGB565
@ WPI_PIXFMT_RGB565
Definition
PixelFormat.h:14
WPI_PIXFMT_BGR
@ WPI_PIXFMT_BGR
Definition
PixelFormat.h:15
WPI_PIXFMT_UNKNOWN
@ WPI_PIXFMT_UNKNOWN
Definition
PixelFormat.h:11
wpi
util
PixelFormat.h
Generated on
for WPILibC++ by
1.15.0