hi_isp_frame_info
Description
Defines the real-time ISP information.
Prototype
typedef struct {
hi_u32 iso;
hi_u32 exposure_time;
hi_u32 isp_dgain;
hi_u32 again;
hi_u32 dgain;
hi_u32 ratio[3];
hi_u32 isp_nr_strength;
hi_u32 f_number;
hi_u32 sensor_id;
hi_u32 sensor_mode;
hi_u32 hmax_times;
hi_u32 vmax;
hi_u32 vc_num;
hi_u64 fsync_timestamp;
hi_u64 fs_timestamp;
hi_u64 fe_timestamp;
hi_u64 pe_timestamp;
hi_s64 motion_filter[9];
hi_u32 reserved[10];
} hi_isp_frame_info;
Members
|
Member |
Description |
|---|---|
|
iso |
Current sensor analog gain x Sensor digital gain x ISP digital gain x 100. Used only for PQ tuning. |
|
exposure_time |
Exposure time (in μs). Used only for PQ tuning. |
|
isp_dgain |
ISP digital gain. Used only for PQ tuning. |
|
again |
Sensor analog gain. Used only for PQ tuning. |
|
dgain |
Sensor digital gain. Used only for PQ tuning. |
|
ratio |
Default exposure ratio of two adjacent frames in multi-frame combination WDR mode. Used only for PQ tuning. |
|
isp_nr_strength |
NR strength of the ISP. This parameter is not supported currently. The default value is 0. |
|
f_number |
F-number of the current lens. Used only for PQ tuning. |
|
sensor_id |
Sensor ID. Used only for PQ tuning. |
|
sensor_mode |
Sensor sequence mode. Used only for PQ tuning. |
|
hmax_times |
Time it takes for the current sensor to read a line (in ns). Used only for PQ tuning. |
|
vmax |
Total number of lines that take effect in each frame for the sensor. The unit is line. Used only for PQ tuning. |
|
vc_num |
This parameter is not supported currently. The default value is 0. This parameter is not supported currently. The default value is 0. |
|
fsync_timestamp |
Time when the fsync exposure synchronization signal is sent. |
|
fs_timestamp |
Time when the FrameStart signal of the sensor module is received. The time is for reference only and may be inaccurate due to the CPU load and scheduling. |
|
fe_timestamp |
Time when the FrameEnd signal of the sensor module is received. The time is for reference only and may be inaccurate due to the CPU load and scheduling. |
|
pe_timestamp |
Time for outputting images after ISP processing. It is used only as a reference for maintenance and test. |
|
motion_filter |
3 x 3 affine transformation matrix of DIS, in 15-bit decimal precision. The value is automatically generated after DIS is enabled. Users cannot directly use this matrix as the affine transformation matrix. To obtain the affine transformation matrix, perform the following steps: (1) Convert data in the matrix to floating-point data for normalization.
(2) Find matrix m2, which is the inverse matrix of matrix m1. Matrix m2 can be directly operated on images.
(3) Multiply the input image and matrix m2 to obtain the corrected image.
|
|
reserved |
Reserved. The default value is 0. |


