|
H.264 Codec for ESP32-S3
|

Functions | |
| esp_h264_err_t | esp_h264_dec_open (esp_h264_dec_handle_t dec) |
| This function opens an H.264 decoder in stream. | |
| esp_h264_err_t | esp_h264_dec_process (esp_h264_dec_handle_t dec, esp_h264_dec_in_frame_t *in_frame, esp_h264_dec_out_frame_t *out_frame) |
| This function performs decoding of H.264 video frames. | |
| esp_h264_err_t | esp_h264_dec_close (esp_h264_dec_handle_t dec) |
This function closes the H.264 decoder instance specified by dec | |
| esp_h264_err_t | esp_h264_dec_del (esp_h264_dec_handle_t dec) |
| This function is used to delete an H.264 decoder. | |
| esp_h264_err_t esp_h264_dec_close | ( | esp_h264_dec_handle_t | dec | ) |
This function closes the H.264 decoder instance specified by dec
| [in] | dec | A pointer to the H.264 decoder instance |
| esp_h264_err_t esp_h264_dec_del | ( | esp_h264_dec_handle_t | dec | ) |
This function is used to delete an H.264 decoder.
| [in] | dec | A pointer to the H.264 decoder instance |
| esp_h264_err_t esp_h264_dec_open | ( | esp_h264_dec_handle_t | dec | ) |
This function opens an H.264 decoder in stream.
| [in] | dec | A pointer to the H.264 decoder instance |
| esp_h264_err_t esp_h264_dec_process | ( | esp_h264_dec_handle_t | dec, |
| esp_h264_dec_in_frame_t * | in_frame, | ||
| esp_h264_dec_out_frame_t * | out_frame | ||
| ) |
This function performs decoding of H.264 video frames.
| [in] | dec | A pointer to the H.264 decoder instance |
| [in] | in_frame | A pointer to encoded input frame |
| [in/out] | out_frame A pointer to store decoded output frame. The out_frame->outbuf will store an image data address after decoding. This address will be re-used in esp_h264_dec_process. Users, ensure to retrieve the data in the address promptly. If the NALU is not related to image data like SPS, PPS, etc., out_frame->out_size will return 0. |