dvpp_get_version
Applicability
Product |
Supported (√/x) |
|---|---|
√ |
|
√ |
|
x |
|
√ |
|
√ |
Function Usage
Returns the version number. The version number is formatted as A.B.C, where A indicates incompatible changes, B indicates new APIs, and C indicates the patch version.
Prototype
- C Prototype
1hi_s32 hi_mpi_dvpp_get_version(hi_s32 *major_version, hi_s32 *minor_version, hi_s32 *patch_version)
- Python Function
1major_version, minor_version, patch_version, ret = acl.himpi.dvpp_get_version()
Parameter Description
None.
Return Value Description
Return Value |
Description |
|---|---|
major_version |
Int, major version. The value starts from 1 and is incremented by 1 with each incompatible API change. |
minor_version |
Int, minor version. The value starts from 0 and is incremented by 1 with each newly added API. |
patch_version |
Int, patch version. The value starts from 0, indicating that this version has only fixed the bugs. The value is incremented by 1 if major_version and minor_version remain unchanged, and remains at 0 when major_version and minor_version increase. |
ret |
Int, error code.
|