H.264 Codec for ESP32-S3
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
RAMAllocatorH264.h File Reference

Header-only C++ allocator that uses internal RAM (DRAM) on ESP32. More...

#include <cstdlib>
#include <cstring>
#include <new>
#include <type_traits>
#include <vector>
#include "H264Config.h"
#include "h264/esp_h264_alloc.h"
Include dependency graph for RAMAllocatorH264.h:

Go to the source code of this file.

Classes

class  RAMAllocatorH264< T >
 STL-compatible allocator that uses internal RAM (DRAM) allocation. More...
 
struct  RAMAllocatorH264< T >::rebind< U >
 Rebind allocator to different type. More...
 

Namespaces

namespace  esp_h264
 

Typedefs

template<typename T >
using RAMVec = std::vector< T, RAMAllocatorH264< T > >
 Convenience type alias for vectors using RAMAllocatorH264.
 

Functions

template<class T , class U >
bool operator== (const esp_h264::RAMAllocatorH264< T > &, const esp_h264::RAMAllocatorH264< U > &) noexcept
 Equality operator for RAMAllocatorH264 instances.
 
template<class T , class U >
bool operator!= (const esp_h264::RAMAllocatorH264< T > &, const esp_h264::RAMAllocatorH264< U > &) noexcept
 Inequality operator for RAMAllocatorH264 instances.
 

Detailed Description

Header-only C++ allocator that uses internal RAM (DRAM) on ESP32.

Function Documentation

◆ operator!=()

bool operator!= ( const esp_h264::RAMAllocatorH264< T > &  ,
const esp_h264::RAMAllocatorH264< U > &   
)
inlinenoexcept

Inequality operator for RAMAllocatorH264 instances.

All RAMAllocatorH264 instances are considered equal, so inequality always returns false.

Template Parameters
TFirst allocator's value type
USecond allocator's value type
Parameters
lhsFirst allocator
rhsSecond allocator
Returns
false Always returns false

◆ operator==()

bool operator== ( const esp_h264::RAMAllocatorH264< T > &  ,
const esp_h264::RAMAllocatorH264< U > &   
)
inlinenoexcept

Equality operator for RAMAllocatorH264 instances.

All RAMAllocatorH264 instances are considered equal regardless of their template type parameter, as required by STL allocator requirements.

Template Parameters
TFirst allocator's value type
USecond allocator's value type
Parameters
lhsFirst allocator
rhsSecond allocator
Returns
true Always returns true