|
H.264 Codec for ESP32-S3
|
#include <stdio.h>#include <string.h>#include "esp_h264_dec.h"#include "h264bsd_decoder.h"#include "esp_h264_check.h"#include "esp_h264_alloc.h"#include "esp_h264_dec_sw.h"
Classes | |
| struct | esp_h264_dec_sw_handle |
Typedefs | |
| typedef struct esp_h264_dec_sw_handle | esp_h264_dec_sw_handle_t |
Functions | |
| esp_h264_err_t | esp_h264_dec_sw_new (const esp_h264_dec_cfg_sw_t *cfg, esp_h264_dec_handle_t *out_dec) |
This function is used to create a new instance of the esp_h264_dec_t data structure, which represents a single-streams H.264 decoder in software. The decoder is from tinyh264. | |
| esp_h264_err_t | esp_h264_dec_sw_get_param_hd (esp_h264_dec_handle_t dec, esp_h264_dec_param_sw_handle_t *out_param) |
This function returns a pointer to the software-decoded parameter structure associated with the given esp_h264_dec_t decoder. | |
| typedef struct esp_h264_dec_sw_handle esp_h264_dec_sw_handle_t |
| esp_h264_err_t esp_h264_dec_sw_get_param_hd | ( | esp_h264_dec_handle_t | dec, |
| esp_h264_dec_param_sw_handle_t * | out_param | ||
| ) |
This function returns a pointer to the software-decoded parameter structure associated with the given esp_h264_dec_t decoder.
| [in] | dec | The decoder instance that is from esp_h264_dec_hw_new |
| [out] | out_param | The parameter set handle |
| esp_h264_err_t esp_h264_dec_sw_new | ( | const esp_h264_dec_cfg_sw_t * | cfg, |
| esp_h264_dec_handle_t * | out_dec | ||
| ) |
This function is used to create a new instance of the esp_h264_dec_t data structure, which represents a single-streams H.264 decoder in software. The decoder is from tinyh264.
| [in] | cfg | It is a pointer to the esp_h264_dec_cfg_sw_t structure, which contains the configuration settings for the decoder |
| [out] | out_dec | It is a double pointer to the esp_h264_dec_t structure, which will store the created decoder instance |
Create decoder handle
Encoder handle configure
Delete the decoder handle