mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
change(isp): change isp_af_window_t to isp_window_t
This commit is contained in:
@@ -62,7 +62,7 @@ void isp_hal_init(isp_hal_context_t *hal, int isp_id);
|
||||
* @param[in] window_id Window ID
|
||||
* @param[in] window Window info, see `isp_af_window_t`
|
||||
*/
|
||||
void isp_hal_af_window_config(const isp_hal_context_t *hal, int window_id, const isp_af_window_t *window);
|
||||
void isp_hal_af_window_config(const isp_hal_context_t *hal, int window_id, const isp_window_t *window);
|
||||
|
||||
/*---------------------------------------------------------------
|
||||
INTR
|
||||
|
||||
@@ -23,6 +23,24 @@ typedef soc_periph_isp_clk_src_t isp_clk_src_t; ///< Clock source type of
|
||||
typedef int isp_clk_src_t; ///< Default type
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief ISP coordinate type
|
||||
*
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t x; ///< X coordinate of the point
|
||||
uint32_t y; ///< Y coordinate of the point
|
||||
} isp_coordinate_t;
|
||||
|
||||
/**
|
||||
* @brief ISP window type
|
||||
*
|
||||
*/
|
||||
typedef struct {
|
||||
isp_coordinate_t top_left; ///< The top left point coordinate
|
||||
isp_coordinate_t btm_right; ///< The bottom right point coordinate
|
||||
} isp_window_t;
|
||||
|
||||
/**
|
||||
* @brief ISP Input Source
|
||||
*/
|
||||
@@ -63,16 +81,6 @@ typedef enum {
|
||||
#define ISP_AF_WINDOW_NUM 0
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @brief ISP AF window
|
||||
*/
|
||||
typedef struct {
|
||||
uint32_t top_left_x; ///< Top left x axis value
|
||||
uint32_t top_left_y; ///< Top left y axis value
|
||||
uint32_t bottom_right_x; ///< Bottom right x axis value
|
||||
uint32_t bottom_right_y; ///< Bottom right y axis value
|
||||
} isp_af_window_t;
|
||||
|
||||
/**
|
||||
* @brief ISP AF result
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user