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

Functions

esp_h264_err_t esp_h264_dec_get_resolution (esp_h264_dec_param_handle_t handle, esp_h264_resolution_t *out_res)
 This function retrieves the resolution of the video decoder specified by the handle parameter The decoder's resolution is stored in the res, which is of type esp_h264_resolution_t
 

Function Documentation

◆ esp_h264_dec_get_resolution()

esp_h264_err_t esp_h264_dec_get_resolution ( esp_h264_dec_param_handle_t  handle,
esp_h264_resolution_t out_res 
)

This function retrieves the resolution of the video decoder specified by the handle parameter The decoder's resolution is stored in the res, which is of type esp_h264_resolution_t

Parameters
[in]handleIt is a pointer to the H.264 decoding parameters structure
[out]out_resA pointer to the resolution structure where the decoder's resolution will be stored
Returns
  • ESP_H264_ERR_OK Succeeded
  • ESP_H264_ERR_ARG Invalid arguments
  • ESP_H264_ERR_UNSUPPORTED Get resolution feature is not supported by the decoder