ESPHome  2024.10.2
Data Structures | Enumerations | Variables
esphome::esp32_camera Namespace Reference

Data Structures

class  CameraImage
 
struct  CameraImageData
 
class  CameraImageReader
 
class  ESP32Camera
 
class  ESP32CameraImageTrigger
 
class  ESP32CameraStreamStartTrigger
 
class  ESP32CameraStreamStopTrigger
 

Enumerations

enum  CameraRequester { IDLE, API_REQUESTER, WEB_REQUESTER }
 
enum  ESP32CameraFrameSize {
  ESP32_CAMERA_SIZE_160X120, ESP32_CAMERA_SIZE_176X144, ESP32_CAMERA_SIZE_240X176, ESP32_CAMERA_SIZE_320X240,
  ESP32_CAMERA_SIZE_400X296, ESP32_CAMERA_SIZE_640X480, ESP32_CAMERA_SIZE_800X600, ESP32_CAMERA_SIZE_1024X768,
  ESP32_CAMERA_SIZE_1280X1024, ESP32_CAMERA_SIZE_1600X1200, ESP32_CAMERA_SIZE_1920X1080, ESP32_CAMERA_SIZE_720X1280,
  ESP32_CAMERA_SIZE_864X1536, ESP32_CAMERA_SIZE_2048X1536, ESP32_CAMERA_SIZE_2560X1440, ESP32_CAMERA_SIZE_2560X1600,
  ESP32_CAMERA_SIZE_1080X1920, ESP32_CAMERA_SIZE_2560X1920
}
 
enum  ESP32AgcGainCeiling {
  ESP32_GAINCEILING_2X = GAINCEILING_2X, ESP32_GAINCEILING_4X = GAINCEILING_4X, ESP32_GAINCEILING_8X = GAINCEILING_8X, ESP32_GAINCEILING_16X = GAINCEILING_16X,
  ESP32_GAINCEILING_32X = GAINCEILING_32X, ESP32_GAINCEILING_64X = GAINCEILING_64X, ESP32_GAINCEILING_128X = GAINCEILING_128X
}
 
enum  ESP32GainControlMode { ESP32_GC_MODE_MANU = false, ESP32_GC_MODE_AUTO = true }
 
enum  ESP32WhiteBalanceMode {
  ESP32_WB_MODE_AUTO = 0U, ESP32_WB_MODE_SUNNY = 1U, ESP32_WB_MODE_CLOUDY = 2U, ESP32_WB_MODE_OFFICE = 3U,
  ESP32_WB_MODE_HOME = 4U
}
 
enum  ESP32SpecialEffect {
  ESP32_SPECIAL_EFFECT_NONE = 0U, ESP32_SPECIAL_EFFECT_NEGATIVE = 1U, ESP32_SPECIAL_EFFECT_GRAYSCALE = 2U, ESP32_SPECIAL_EFFECT_RED_TINT = 3U,
  ESP32_SPECIAL_EFFECT_GREEN_TINT = 4U, ESP32_SPECIAL_EFFECT_BLUE_TINT = 5U, ESP32_SPECIAL_EFFECT_SEPIA = 6U
}
 

Variables

ESP32Cameraglobal_esp32_camera
 

Enumeration Type Documentation

◆ CameraRequester

Enumerator
IDLE 
API_REQUESTER 
WEB_REQUESTER 

Definition at line 19 of file esp32_camera.h.

◆ ESP32AgcGainCeiling

Enumerator
ESP32_GAINCEILING_2X 
ESP32_GAINCEILING_4X 
ESP32_GAINCEILING_8X 
ESP32_GAINCEILING_16X 
ESP32_GAINCEILING_32X 
ESP32_GAINCEILING_64X 
ESP32_GAINCEILING_128X 

Definition at line 42 of file esp32_camera.h.

◆ ESP32CameraFrameSize

Enumerator
ESP32_CAMERA_SIZE_160X120 
ESP32_CAMERA_SIZE_176X144 
ESP32_CAMERA_SIZE_240X176 
ESP32_CAMERA_SIZE_320X240 
ESP32_CAMERA_SIZE_400X296 
ESP32_CAMERA_SIZE_640X480 
ESP32_CAMERA_SIZE_800X600 
ESP32_CAMERA_SIZE_1024X768 
ESP32_CAMERA_SIZE_1280X1024 
ESP32_CAMERA_SIZE_1600X1200 
ESP32_CAMERA_SIZE_1920X1080 
ESP32_CAMERA_SIZE_720X1280 
ESP32_CAMERA_SIZE_864X1536 
ESP32_CAMERA_SIZE_2048X1536 
ESP32_CAMERA_SIZE_2560X1440 
ESP32_CAMERA_SIZE_2560X1600 
ESP32_CAMERA_SIZE_1080X1920 
ESP32_CAMERA_SIZE_2560X1920 

Definition at line 21 of file esp32_camera.h.

◆ ESP32GainControlMode

Enumerator
ESP32_GC_MODE_MANU 
ESP32_GC_MODE_AUTO 

Definition at line 52 of file esp32_camera.h.

◆ ESP32SpecialEffect

Enumerator
ESP32_SPECIAL_EFFECT_NONE 
ESP32_SPECIAL_EFFECT_NEGATIVE 
ESP32_SPECIAL_EFFECT_GRAYSCALE 
ESP32_SPECIAL_EFFECT_RED_TINT 
ESP32_SPECIAL_EFFECT_GREEN_TINT 
ESP32_SPECIAL_EFFECT_BLUE_TINT 
ESP32_SPECIAL_EFFECT_SEPIA 

Definition at line 65 of file esp32_camera.h.

◆ ESP32WhiteBalanceMode

Enumerator
ESP32_WB_MODE_AUTO 
ESP32_WB_MODE_SUNNY 
ESP32_WB_MODE_CLOUDY 
ESP32_WB_MODE_OFFICE 
ESP32_WB_MODE_HOME 

Definition at line 57 of file esp32_camera.h.

Variable Documentation

◆ global_esp32_camera

ESP32Camera * esphome::esp32_camera::global_esp32_camera

Definition at line 401 of file esp32_camera.cpp.