|
H.264 Codec for ESP32-S3
|

Functions | |
| esp_h264_err_t | esp_h264_enc_get_resolution (esp_h264_enc_param_handle_t handle, esp_h264_resolution_t *out_res) |
This function retrieves the resolution of the video encoder specified by the handle parameter The encoder's resolution is stored in the res, which is of type esp_h264_resolution_t. | |
| esp_h264_err_t | esp_h264_enc_set_fps (esp_h264_enc_param_handle_t handle, uint8_t fps) |
| This function sets the frames per second (FPS) parameter for the H.264 encoder. | |
| esp_h264_err_t | esp_h264_enc_get_fps (esp_h264_enc_param_handle_t handle, uint8_t *out_fps) |
| This function is used to retrieve the frames per second (FPS) from the encoder. | |
| esp_h264_err_t | esp_h264_enc_set_gop (esp_h264_enc_param_handle_t handle, uint8_t gop) |
| This function sets the group of picture(GOP) parameter for the H.264 encoder. | |
| esp_h264_err_t | esp_h264_enc_get_gop (esp_h264_enc_param_handle_t handle, uint8_t *out_gop) |
| This function is used to retrieve the group of picture(GOP) from the encoder. | |
| esp_h264_err_t | esp_h264_enc_set_bitrate (esp_h264_enc_param_handle_t handle, uint32_t bitrate) |
| This function sets the bitrate parameter for the H.264 encoder. | |
| esp_h264_err_t | esp_h264_enc_get_bitrate (esp_h264_enc_param_handle_t handle, uint32_t *out_bitrate) |
| This function is used to retrieve the bitrate from the encoder. | |
| esp_h264_err_t esp_h264_enc_get_bitrate | ( | esp_h264_enc_param_handle_t | handle, |
| uint32_t * | out_bitrate | ||
| ) |
This function is used to retrieve the bitrate from the encoder.
| [in] | handle | It is a pointer to the H.264 encoding parameters structure |
| [out] | out_bitrate | Pointer to a variable to store the retrieved bitrate value |
| esp_h264_err_t esp_h264_enc_get_fps | ( | esp_h264_enc_param_handle_t | handle, |
| uint8_t * | out_fps | ||
| ) |
This function is used to retrieve the frames per second (FPS) from the encoder.
| [in] | handle | It is a pointer to the H.264 encoding parameters structure |
| [out] | out_fps | Pointer to a variable to store the retrieved FPS value |
| esp_h264_err_t esp_h264_enc_get_gop | ( | esp_h264_enc_param_handle_t | handle, |
| uint8_t * | out_gop | ||
| ) |
This function is used to retrieve the group of picture(GOP) from the encoder.
| [in] | handle | It is a pointer to the H.264 encoding parameters structure. |
| [out] | out_gop | Pointer to a variable to store the retrieved GOP value |
| esp_h264_err_t esp_h264_enc_get_resolution | ( | esp_h264_enc_param_handle_t | handle, |
| esp_h264_resolution_t * | out_res | ||
| ) |
This function retrieves the resolution of the video encoder specified by the handle parameter The encoder's resolution is stored in the res, which is of type esp_h264_resolution_t.
| [in] | handle | It is a pointer to the H.264 encoding parameters structure |
| [out] | out_res | A pointer to the resolution structure where the encoder's resolution will be stored |
| esp_h264_err_t esp_h264_enc_set_bitrate | ( | esp_h264_enc_param_handle_t | handle, |
| uint32_t | bitrate | ||
| ) |
This function sets the bitrate parameter for the H.264 encoder.
| [in] | handle | It is a pointer to the H.264 encoding parameters structure |
| [in] | bitrate | The desired bitrate value |
| esp_h264_err_t esp_h264_enc_set_fps | ( | esp_h264_enc_param_handle_t | handle, |
| uint8_t | fps | ||
| ) |
This function sets the frames per second (FPS) parameter for the H.264 encoder.
fps value is within the range of 1 to 255. This function may return ESP_H264_ERR_ARG if fps value is out of range.| [in] | handle | It is a pointer to the H.264 encoding parameters structure |
| [in] | fps | The desired FPS value (a single byte) |
| esp_h264_err_t esp_h264_enc_set_gop | ( | esp_h264_enc_param_handle_t | handle, |
| uint8_t | gop | ||
| ) |
This function sets the group of picture(GOP) parameter for the H.264 encoder.
gop value is within the range of 1 to 255. This function may return ESP_H264_ERR_ARG if gop value is out of range.| [in] | handle | It is a pointer to the H.264 encoding parameters structure. |
| [in] | gop | The desired GOP value (a single byte) |