H.264 Codec for ESP32-S3
Loading...
Searching...
No Matches
Classes | Typedefs
esp_h264 Namespace Reference

Classes

class  H264Decoder
 Template class for decoding H.264 streams to raw video frames. More...
 
class  H264Encoder
 Template class for capturing frames from ESP32 camera and encoding to H.264. More...
 
class  PSRAMAllocatorH264
 STL-compatible allocator that prefers PSRAM allocation with fallback. More...
 
class  RAMAllocatorH264
 STL-compatible allocator that uses internal RAM (DRAM) allocation. More...
 
class  RDPPacketizer
 RDPPacketizer class to packetize H.264 NAL units into RTP packets. This class takes raw H.264 NAL units (in Annex-B format) and packetizes them into RTP packets suitable for streaming over UDP. More...
 
class  UDPPrint
 A Print implementation that buffers and sends data over UDP. More...
 

Typedefs

using H264DecoderPSRAM = H264Decoder< PSRAMAllocatorH264< uint8_t > >
 Type alias for H264Decoder using default PSRAM allocation.
 
using H264DecoderRAM = H264Decoder< RAMAllocatorH264< uint8_t > >
 Type alias for H264Decoder using internal RAM allocation.
 
using H264EncoderPSRAM = H264Encoder< PSRAMAllocatorH264< uint8_t > >
 Type alias for H264Encoder using default PSRAM allocation.
 
using H264EncoderRAM = H264Encoder< RAMAllocatorH264< uint8_t > >
 Type alias for H264Encoder using internal RAM allocation.
 
template<typename T >
using PSVec = std::vector< T, PSRAMAllocatorH264< T > >
 Convenience type alias for vectors using PSRAMAllocatorH264.
 
template<typename T >
using RAMVec = std::vector< T, RAMAllocatorH264< T > >
 Convenience type alias for vectors using RAMAllocatorH264.
 

Typedef Documentation

◆ H264DecoderPSRAM

Type alias for H264Decoder using default PSRAM allocation.

Provides a simpler way to declare H264Decoder instances without specifying the allocator template parameter. Uses PSRAMAllocatorH264<uint8_t> by default.

Example usage:

H264DecoderPSRAM decoder(&udp); // Instead of H264Decoder<PSRAMAllocatorH264<uint8_t>>
Template class for decoding H.264 streams to raw video frames.
Definition: H264Decoder.h:78

◆ H264DecoderRAM

Type alias for H264Decoder using internal RAM allocation.

Provides a simpler way to declare H264Decoder instances that use fast internal RAM instead of external PSRAM.

Example usage:

H264DecoderRAM decoder(&udp); // Instead of H264Decoder<RAMAllocatorH264<uint8_t>>

◆ H264EncoderPSRAM

Type alias for H264Encoder using default PSRAM allocation.

Provides a simpler way to declare H264Encoder instances without specifying the allocator template parameter. Uses PSRAMAllocatorH264<uint8_t> by default.

Example usage:

H264EncoderPSRAM encoder; // Instead of
Template class for capturing frames from ESP32 camera and encoding to H.264.
Definition: H264Encoder.h:75

◆ H264EncoderRAM

Type alias for H264Encoder using internal RAM allocation.

Provides a simpler way to declare H264Encoder instances that use fast internal RAM instead of external PSRAM.

Example usage:

◆ PSVec

using PSVec = std::vector<T, PSRAMAllocatorH264<T> >

Convenience type alias for vectors using PSRAMAllocatorH264.

PSVec provides a shorter way to declare vectors that use PSRAMAllocatorH264.

Template Parameters
TThe element type of the vector

Example usage:

PSVec<uint8_t> buffer; // Instead of std::vector<uint8_t,
PSRAMAllocatorH264<uint8_t>> buffer.resize(1024);
STL-compatible allocator that prefers PSRAM allocation with fallback.
Definition: PSRAMAllocatorH264.h:59
std::vector< T, PSRAMAllocatorH264< T > > PSVec
Convenience type alias for vectors using PSRAMAllocatorH264.
Definition: PSRAMAllocatorH264.h:155

◆ RAMVec

using RAMVec = std::vector<T, RAMAllocatorH264<T> >

Convenience type alias for vectors using RAMAllocatorH264.

RAMVec provides a shorter way to declare vectors that use RAMAllocatorH264.

Template Parameters
TThe element type of the vector

Example usage:

RAMVec<uint32_t> buffer; // Instead of std::vector<uint32_t,
RAMAllocatorH264<uint32_t>> buffer.resize(256);
STL-compatible allocator that uses internal RAM (DRAM) allocation.
Definition: RAMAllocatorH264.h:54
std::vector< T, RAMAllocatorH264< T > > RAMVec
Convenience type alias for vectors using RAMAllocatorH264.
Definition: RAMAllocatorH264.h:150