#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"
Go to the source code of this file.
◆ ESP_H264_SW_MIN_HEIGHT
| #define ESP_H264_SW_MIN_HEIGHT (16) |
◆ ESP_H264_SW_MIN_WIDTH
| #define ESP_H264_SW_MIN_WIDTH (16) |
◆ esp_h264_enc_sw_param_cfg_t
Configuration structure for software-based H.264 encoder parameters.
◆ esp_h264_enc_sw_del_param()
Delete parameter set handle.
- Parameters
-
| handle | Hardware H.264 encoder parameter set handle |
- Returns
- ESP_H264_ERR_OK Succeeded
◆ esp_h264_enc_sw_new_param()
Create a new parameter set handle.
- Parameters
-
| cfg | It is a pointer to the esp_h264_enc_hw_param_cfg_t structure, which contains the configuration settings for the handle |
| handle | Hardware 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