ESPHome  2024.12.2
Public Member Functions | Protected Attributes
esphome::esp32_camera::CameraImage Class Reference

#include <esp32_camera.h>

Public Member Functions

 CameraImage (camera_fb_t *buffer, uint8_t requester)
 
camera_fb_t * get_raw_buffer ()
 
uint8_t * get_data_buffer ()
 
size_t get_data_length ()
 
bool was_requested_by (CameraRequester requester) const
 

Protected Attributes

camera_fb_t * buffer_
 
uint8_t requesters_
 

Detailed Description

Definition at line 76 of file esp32_camera.h.

Constructor & Destructor Documentation

◆ CameraImage()

esphome::esp32_camera::CameraImage::CameraImage ( camera_fb_t *  buffer,
uint8_t  requester 
)

Definition at line 419 of file esp32_camera.cpp.

Member Function Documentation

◆ get_data_buffer()

uint8_t * esphome::esp32_camera::CameraImage::get_data_buffer ( )

Definition at line 422 of file esp32_camera.cpp.

◆ get_data_length()

size_t esphome::esp32_camera::CameraImage::get_data_length ( )

Definition at line 423 of file esp32_camera.cpp.

◆ get_raw_buffer()

camera_fb_t * esphome::esp32_camera::CameraImage::get_raw_buffer ( )

Definition at line 421 of file esp32_camera.cpp.

◆ was_requested_by()

bool esphome::esp32_camera::CameraImage::was_requested_by ( CameraRequester  requester) const

Definition at line 424 of file esp32_camera.cpp.

Field Documentation

◆ buffer_

camera_fb_t* esphome::esp32_camera::CameraImage::buffer_
protected

Definition at line 85 of file esp32_camera.h.

◆ requesters_

uint8_t esphome::esp32_camera::CameraImage::requesters_
protected

Definition at line 86 of file esp32_camera.h.


The documentation for this class was generated from the following files: