mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-03 03:31:41 +03:00
feat(isp): demonstrate isp awb in current multi-pipeline example
This commit is contained in:
@@ -38,20 +38,6 @@ typedef struct {
|
||||
esp_sccb_io_handle_t dw9714_io_handle; // DW9714 VCM SCCB handle
|
||||
} example_isp_af_task_param_t;
|
||||
|
||||
/**
|
||||
* @brief AF configuration structure
|
||||
*/
|
||||
typedef struct {
|
||||
int window_size; // AF window size (centered window)
|
||||
int edge_thresh; // Edge threshold for definition calculation
|
||||
int env_interval; // Environment detector interval (frames)
|
||||
int first_step_val; // First step value for SA scheme
|
||||
int first_approx_cycles; // First approximation cycles
|
||||
int second_step_val; // Second step value for SA scheme
|
||||
int second_approx_cycles; // Second approximation cycles
|
||||
int focus_val_max; // Maximum focus value
|
||||
} example_isp_af_config_t;
|
||||
|
||||
/**
|
||||
* @brief Initialize AF module
|
||||
*
|
||||
@@ -60,15 +46,13 @@ typedef struct {
|
||||
*
|
||||
* @param[in] isp_proc ISP processor handle
|
||||
* @param[in] dw9714_io_handle DW9714 VCM SCCB handle
|
||||
* @param[in] config AF configuration (can be NULL for default values)
|
||||
* @return
|
||||
* - ESP_OK: Success
|
||||
* - ESP_ERR_INVALID_ARG: Invalid arguments
|
||||
* - ESP_ERR_NO_MEM: Out of memory
|
||||
*/
|
||||
esp_err_t example_isp_af_init(isp_proc_handle_t isp_proc,
|
||||
esp_sccb_io_handle_t dw9714_io_handle,
|
||||
const example_isp_af_config_t *config);
|
||||
esp_sccb_io_handle_t dw9714_io_handle);
|
||||
|
||||
/**
|
||||
* @brief Start AF task
|
||||
|
||||
Reference in New Issue
Block a user