H.264 Codec for ESP32-S3
Loading...
Searching...
No Matches
Public Attributes | List of all members
H264Decoder< Alloc >::Config Struct Reference

Configuration structure for H.264 decoder and output settings. More...

#include <H264Decoder.h>

Public Attributes

esp_h264_raw_format_t output_format = ESP_H264_RAW_FMT_I420
 Output pixel format after decoding (I420, RGB565, etc.)
 
size_t input_buffer_size = 400 * 1024
 Input buffer size for H.264 stream data (bytes)
 
size_t output_buffer_size = 640 * 480 * 3 / 2
 Output buffer size for decoded frame data (bytes)
 
size_t max_read_bytes = 1500
 Maximum bytes to read per processStream() call (0 = read all available)
 
std::function< void(const uint8_t *frame_data, uint32_t width, uint32_t height, esp_h264_raw_format_t format)> frame_callback = nullptr
 Optional frame callback for real-time processing.
 

Detailed Description

template<typename Alloc = H264_DEFAULT_ALLOCATOR>
struct esp_h264::H264Decoder< Alloc >::Config

Configuration structure for H.264 decoder and output settings.

Contains all parameters needed to configure the H.264 decoder, output format conversion, and buffer management.

Member Data Documentation

◆ frame_callback

std::function<void(const uint8_t* frame_data, uint32_t width, uint32_t height, esp_h264_raw_format_t format)> frame_callback = nullptr

Optional frame callback for real-time processing.

◆ input_buffer_size

size_t input_buffer_size = 400 * 1024

Input buffer size for H.264 stream data (bytes)

◆ max_read_bytes

size_t max_read_bytes = 1500

Maximum bytes to read per processStream() call (0 = read all available)

◆ output_buffer_size

size_t output_buffer_size = 640 * 480 * 3 / 2

Output buffer size for decoded frame data (bytes)

◆ output_format

Output pixel format after decoding (I420, RGB565, etc.)


The documentation for this struct was generated from the following file: