hbVPISP
ISP configuration parameter structure.
-
Member
Note
When using ISP, the width of the input image must meet the limit of [480, 4096], and the height must meet the limit of [240, 2160]. The execution backend specified when submitting the ISP task must be consistent with the backend parameter in the configuration parameters.
Create an ISP context API. Before creating it, you need to initialize the context to nullptr.
- Parameter
- [out]
contextISP context. - [in]
ispCtxParamISP configuration structure.
- [out]
- Return Value
- Returning
0means the API is executed successfully, otherwise it fails.
- Returning
The API for calling ISP.
- Parameter
- [out]
taskHandleThe task handle is responsible for the interaction between the operator and the UCP architecture. - [in]
srcImgInput image for ISP. - [in]
contextISP context。
- [out]
- Return Value
- Return
0means the API was successfully executed, otherwise the execution failed.
- Return
- Description of interface limitations
- When executing ISP, the Image Format of the input image is required to be
HB_VP_IMAGE_FORMAT_Y, the Image Type of the input image is required to beHB_VP_IMAGE_TYPE_U12C1. - Only asynchronous task creation is supported.
- When executing ISP, the Image Format of the input image is required to be
The API for get ISP output buffer.
- Parameter
- [out]
outImgOutput image of ISP. The image format is nv12. - [in]
taskHandleThe task handle is responsible for the interaction between the operator and the UCP architecture.
- [out]
- Return Value
- Return
0means the API was successfully executed, otherwise the execution failed.
- Return
- Description of interface limitations
- The image buffer
dstImgis allocated internally by ISP. - When the task is successfully completed, the data in the output buffer is valid; in the task release phase, the output buffer will be released.
- The image buffer
Release ISP context API.
- Parameter
- [in]
contextISP context。
- [in]
- Return Value
- Return
0means the API was successfully executed, otherwise the execution failed.
- Return
