Structures in IMAGE_CONFIG
- ROI_CONFIG structure
Member Variable |
Description |
Value Range |
---|---|---|
CROP_CONFIG crop_config |
Structure for cropping parameter configuration |
For details, see CROP_CONFIG structure. |
YUV_SUM_OUT_CONFIG sum_out |
Structure 1 of output parameter configuration |
For details, see YUV_SUM_OUT_CONFIG structure. |
NORMAL_OUT_CONFIG normal_out |
Structure 2 of output parameter configuration, which is reserved and not supported currently |
For details, see NORMAL_OUT_CONFIG structure. |
ROI_CONFIG* next |
Pointer to the next ROI_CONFIG structure |
Set this parameter when multiple ROIs are used. Otherwise, set this parameter to NULL. |
Member Variable |
Description |
Value Range |
---|---|---|
int enable |
Whether to perform cropping |
0: disabled 1: enabled |
unsigned int hmin |
Minimum horizontal offset |
The value is an even number and less than hmax. |
unsigned int hmax |
Maximum horizontal offset |
The value is an odd number and less than the input width (in_width). |
unsigned int vmin |
Minimum vertical offset |
The value is an even number and less than vmax. |
unsigned int vmax |
Maximum vertical offset |
The value is an odd number and less than the input height (in_height). |
Member Variable |
Description |
Value Range |
---|---|---|
int enable |
Whether to enable the channel for output |
0: disabled 1: enabled |
unsigned int out_width |
Output image width |
The value is an even number. The value range is [128, 4096] and the resizing ratio range is [0.03125, 4]. |
unsigned int out_height |
Output image height |
The value is an even number. The value range is [16, 4096] and the resizing ratio range is [0.03125, 4]. |
char* out_buffer |
Pointer to the address of the output image buffer |
The output buffer size must be calculated based on the output image resolution after the width is 128-pixel aligned and the height is 16-pixel aligned. |
unsigned int yuv_sum |
Sum of all YUV values of the output image |
Reserved (not supported yet) |
Member Variable |
Description |
Value Range |
---|---|---|
int enable |
Whether to enable the channel for output |
0: disabled 1: enabled |
unsigned int out_width |
Output image width |
The value is an even number. The value range is [128, 4096] and the resizing ratio range is [0.03125, 4]. |
unsigned int out_height |
Output image height |
The value is an even number. The value range is [16, 4096] and the resizing ratio range is [0.03125, 4]. |
char* out_buffer |
Pointer to the address of the output image buffer |
The output buffer size must be calculated based on the output image resolution after the width is 128-pixel aligned and the height is 16-pixel aligned. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot