SetInputFormat
Syntax
AIStatus SetInputFormat(AippInputFormat inputFormat);
Function Description
Sets the original input type of a model.
Parameter Description
Parameter |
Input/Output |
Type |
Description |
---|---|---|---|
inputFormat |
Input |
AippInputFormat |
Original input type of a model. enum AippInputFormat { YUV420SP_U8 = 1, XRGB8888_U8, RGB888_U8, YUV400_U8, RESERVED }; |
Return Value
Parameter |
Type |
Description |
---|---|---|
- |
AIStatus |
If the parameter is set successfully, 0 is returned. If the input is invalid, other values are returned. The AIStatus type is defined as follows: AIStatus = uint32_t |
Exception Handling
None
Restriction
None
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