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. More... | |
Config & | setRgb () |
Change pixel format to RGB565. More... | |
Config & | setYuv () |
Change pixel format to YUV422. More... | |
Config & | setGrayscale () |
Change pixel format to grayscale. More... | |
Config & | setJpeg (int quality) |
Change pixel format to JPEG. More... | |
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 |