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

Member Function Documentation

◆ available()

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

Definition at line 344 of file esp32_camera.cpp.

◆ consume_data()

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

Definition at line 351 of file esp32_camera.cpp.

◆ peek_data_buffer()

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

Definition at line 352 of file esp32_camera.cpp.

◆ return_image()

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

Definition at line 350 of file esp32_camera.cpp.

◆ set_image()

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

Definition at line 340 of file esp32_camera.cpp.

Field Documentation

◆ image_

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

Definition at line 91 of file esp32_camera.h.

◆ offset_

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

Definition at line 92 of file esp32_camera.h.


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