ESPHome  2022.11.3
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 68 of file esp32_camera.h.

Constructor & Destructor Documentation

◆ CameraImage()

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

Definition at line 355 of file esp32_camera.cpp.

Member Function Documentation

◆ get_data_buffer()

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

Definition at line 358 of file esp32_camera.cpp.

◆ get_data_length()

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

Definition at line 359 of file esp32_camera.cpp.

◆ get_raw_buffer()

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

Definition at line 357 of file esp32_camera.cpp.

◆ was_requested_by()

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

Definition at line 360 of file esp32_camera.cpp.

Field Documentation

◆ buffer_

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

Definition at line 77 of file esp32_camera.h.

◆ requesters_

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

Definition at line 78 of file esp32_camera.h.


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