This topic describes only module-specific error codes. For details about universal error codes, see Universal Error Codes.
Error Message
Some unknown error occurred, such as GPU calculation failure or memcpy failure.
Description
An unknown error occurs. For example, GPU computation fails or content copy fails.
Possible Causes
Handling Procedure
Error Message
The global environment initialization for image processing failed, such as failure to initialize the GPU environment.
Description
Initialization of the global environment for image processing fails. For example, GPU environment initialization fails.
Possible Causes
GPU initialization fails.
Handling Procedure
Check the log for any GPU exceptions.
Error Message
Failed to create image processing instance. For example, the number of instances exceeds the upper limit.
Description
Creation of an image processing instance fails. For example, the number of instances exceeds the upper limit.
Possible Causes
Too many instances have been created.
Handling Procedure
Reduce the number of instances created.
Error Message
Failed to process image buffer. For example, the processing times out.
Description
Processing the image buffer fails. For example, processing timed out.
Possible Causes
Processing timed out.
Handling Procedure
Reduce the load.
Error Message
The processing is not supported. You may call OH_ImageProcessing_IsXXXSupported to check whether the capability is supported.
Description
The processing is not supported. You can call OH_ImageProcessing_IsXXXSupported to check whether the capability is supported.
Possible Causes
The capability is not supported.
Handling Procedure
Check the log for details.
Error Message
The operation is not permitted. This may be caused by incorrect status.
Description
The operation is not permitted due to incorrect status.
Possible Causes
The status is abnormal.
Handling Procedure
Check the log for details.
Error Message
Out of memory.
Description
The memory is insufficient.
Possible Causes
The memory is insufficient.
Handling Procedure
Reduce memory allocation.
Error Message
The image processing instance is invalid. This may be caused by null instance.
Description
The image processing instance is invalid, possibly due to a null instance.
Possible Causes
Invalid instance.
Handling Procedure
Check instance creation.
Error Message
Input value is invalid. This error is returned for all of the following error conditions:
Description
The input value is invalid. This error code is returned for all the following cases:
Possible Causes
Handling Procedure