ESPHome  2024.10.2
Public Member Functions | Protected Attributes
esphome::esp32_camera::CameraImageReader Class Reference

#include <esp32_camera.h>

Public Member Functions

void set_image (std::shared_ptr< CameraImage > image)
 
size_t available () const
 
uint8_t * peek_data_buffer ()
 
void consume_data (size_t consumed)
 
void return_image ()
 

Protected Attributes

std::shared_ptr< CameraImageimage_
 
size_t offset_ {0}
 

Detailed Description

Definition at line 95 of file esp32_camera.h.

Member Function Documentation

◆ available()

size_t esphome::esp32_camera::CameraImageReader::available ( ) const

Definition at line 408 of file esp32_camera.cpp.

◆ consume_data()

void esphome::esp32_camera::CameraImageReader::consume_data ( size_t  consumed)

Definition at line 415 of file esp32_camera.cpp.

◆ peek_data_buffer()

uint8_t * esphome::esp32_camera::CameraImageReader::peek_data_buffer ( )

Definition at line 416 of file esp32_camera.cpp.

◆ return_image()

void esphome::esp32_camera::CameraImageReader::return_image ( )

Definition at line 414 of file esp32_camera.cpp.

◆ set_image()

void esphome::esp32_camera::CameraImageReader::set_image ( std::shared_ptr< CameraImage image)

Definition at line 404 of file esp32_camera.cpp.

Field Documentation

◆ image_

std::shared_ptr<CameraImage> esphome::esp32_camera::CameraImageReader::image_
protected

Definition at line 104 of file esp32_camera.h.

◆ offset_

size_t esphome::esp32_camera::CameraImageReader::offset_ {0}
protected

Definition at line 105 of file esp32_camera.h.


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