|
esp32cam
OV2640 camera on ESP32-CAM
|
Camera initialization configuration. More...
#include <config.hpp>
Classes | |
| class | CameraConfigT |
Public Member Functions | |
| Config () | |
| ~Config () | |
| Config & | setPins (const Pins &pins) |
| Config & | setResolution (const Resolution &resolution) |
| Config & | setBufferCount (int n) |
| Set number of frame buffers. | |
| Config & | setRgb () |
| Change pixel format to RGB565. | |
| Config & | setYuv () |
| Change pixel format to YUV422. | |
| Config & | setGrayscale () |
| Change pixel format to grayscale. | |
| Config & | setJpeg (int quality) |
| Change pixel format to JPEG. | |
Friends | |
| class | CameraClass |
Camera initialization configuration.
| esp32cam::Config::Config | ( | ) |
| esp32cam::Config::~Config | ( | ) |
| Config & esp32cam::Config::setBufferCount | ( | int | n | ) |
Set number of frame buffers.
| n | >=1, having more frame buffers allows better streaming fps. |
| Config & esp32cam::Config::setGrayscale | ( | ) |
Change pixel format to grayscale.
| Config & esp32cam::Config::setJpeg | ( | int | quality | ) |
Change pixel format to JPEG.
| quality | JPEG quality between 0 (worst) and 100 (best). |
| Config & esp32cam::Config::setResolution | ( | const Resolution & | resolution | ) |
| Config & esp32cam::Config::setRgb | ( | ) |
Change pixel format to RGB565.
| Config & esp32cam::Config::setYuv | ( | ) |
Change pixel format to YUV422.
|
friend |