hi_mpi_isp_query_inner_state_info
Description
Obtains the actual strength configuration and status of the internal register.
Prototype
hi_s32 hi_mpi_isp_query_inner_state_info(hi_vi_pipe vi_pipe, hi_isp_inner_state_info *inner_state_info)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
vi_pipe |
Input |
VI pipe ID Value range: [0, 8) |
inner_state_info |
Output |
Actual configuration information and status of the internal register |
Returns
- 0: success
- Other values: failure. For details, see Error Codes.
Constraints
- When the ISP algorithm is not running properly, calling this MPI may fail to obtain the correct actual strength configuration and internal status.
- When switching the resolution or performing the switching between linear and WDR modes, you can call this MPI to check whether switching is completed.
- During resolution or frame rate switching, only res_switch_finish is queried. During mode switching, only wdr_switch_finish is queried.
- When the service is running properly and the WDR mode remains unchanged, after hi_mpi_isp_set_pub_attr is called, the queried result of wdr_switch_finish is always 1.