H.264 Codec for ESP32-S3
Loading...
Searching...
No Matches
Classes | Functions
esp_h264_enc_sw_param.c File Reference
#include "esp_h264_enc_sw_param.h"
#include "esp_h264_check.h"
Include dependency graph for esp_h264_enc_sw_param.c:

Classes

struct  esp_h264_enc_sw_param_t
 

Functions

esp_h264_err_t esp_h264_enc_sw_del_param (esp_h264_enc_param_t *handle)
 Delete parameter set handle.
 
esp_h264_err_t esp_h264_enc_sw_new_param (esp_h264_enc_sw_param_cfg_t *cfg, esp_h264_enc_param_t **handle)
 Create a new parameter set handle.
 

Function Documentation

◆ esp_h264_enc_sw_del_param()

esp_h264_err_t esp_h264_enc_sw_del_param ( esp_h264_enc_param_t handle)

Delete parameter set handle.

Parameters
handleHardware H.264 encoder parameter set handle
Returns
  • ESP_H264_ERR_OK Succeeded

◆ esp_h264_enc_sw_new_param()

esp_h264_err_t esp_h264_enc_sw_new_param ( esp_h264_enc_sw_param_cfg_t cfg,
esp_h264_enc_param_t **  handle 
)

Create a new parameter set handle.

Parameters
cfgIt is a pointer to the esp_h264_enc_hw_param_cfg_t structure, which contains the configuration settings for the handle
handleHardware H.264 encoder parameter set handle. If return value isn't ESP_H264_ERR_OK, handle will be set NULL
Returns
  • ESP_H264_ERR_OK Succeeded
  • ESP_H264_ERR_ARG Invalid arguments passed
  • ESP_H264_ERR_MEM Insufficient memory, the *handle will be set NULL

Create a new parameter handle

Encoder handle configure