|
H.264 Codec for ESP32-S3
|

Functions | |
| void * | esp_h264_aligned_calloc (uint32_t alignment, uint32_t n, uint32_t size, uint32_t *actual_size, uint32_t caps) |
| Allocate an aligned chunk of memory which has the given capabilities. | |
| void * | esp_h264_calloc_prefer (uint32_t n, uint32_t size, uint32_t *actual_size, uint32_t caps1, uint32_t caps2) |
| Allocate a chunk of memory as preference in decreasing order. And helper function for calloc a cache aligned data memory buffer. | |
| void * esp_h264_aligned_calloc | ( | uint32_t | alignment, |
| uint32_t | n, | ||
| uint32_t | size, | ||
| uint32_t * | actual_size, | ||
| uint32_t | caps | ||
| ) |
Allocate an aligned chunk of memory which has the given capabilities.
| [in] | alignment | How the pointer received needs to be aligned must be a power of two. If the value is less than cache line size, the value will be forced cache line size. |
| [in] | n | Number of continuing chunks of memory to allocate |
| [in] | size | Size, in bytes, of a chunk of memory to allocate |
| [in] | caps | ESP_H264_MEM_INTERNAL or ESP_H264_MEM_SPIRAM |
| void * esp_h264_calloc_prefer | ( | uint32_t | n, |
| uint32_t | size, | ||
| uint32_t * | actual_size, | ||
| uint32_t | caps1, | ||
| uint32_t | caps2 | ||
| ) |
Allocate a chunk of memory as preference in decreasing order. And helper function for calloc a cache aligned data memory buffer.
| [in] | n | Number of continuing chunks of memory to allocate |
| [in] | size | Size, in bytes, of a chunk of memory to allocate |
| [in] | caps1 | ESP_H264_MEM_INTERNAL or ESP_H264_MEM_SPIRAM |
| [in] | caps2 | ESP_H264_MEM_INTERNAL or ESP_H264_MEM_SPIRAM |