H.264 Codec for ESP32-S3
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
esp_h264_enc_sw_param.h File Reference
#include <string.h>
#include "esp_h264_enc_param.h"
#include "codec_api.h"
#include "codec_app_def.h"
#include "codec_def.h"
#include "esp_h264_check.h"
#include "esp_h264_alloc.h"
Include dependency graph for esp_h264_enc_sw_param.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  esp_h264_set_cfg
 Configuration structure for software-based H.264 encoder parameters. More...
 

Macros

#define ESP_H264_SW_MIN_WIDTH   (16)
 
#define ESP_H264_SW_MIN_HEIGHT   (16)
 

Typedefs

typedef struct esp_h264_set_cfg esp_h264_enc_sw_param_cfg_t
 Configuration structure for software-based H.264 encoder parameters.
 

Functions

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.
 
esp_h264_err_t esp_h264_enc_sw_del_param (esp_h264_enc_param_t *handle)
 Delete parameter set handle.
 

Macro Definition Documentation

◆ ESP_H264_SW_MIN_HEIGHT

#define ESP_H264_SW_MIN_HEIGHT   (16)

◆ ESP_H264_SW_MIN_WIDTH

#define ESP_H264_SW_MIN_WIDTH   (16)

Typedef Documentation

◆ esp_h264_enc_sw_param_cfg_t

Configuration structure for software-based H.264 encoder parameters.

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