目录

image_effect_errors.h

Overview

The image_effect_errors.h file declares the error codes used by the image effector.

Library: libimage_effect.so

System capability: SystemCapability.Multimedia.ImageEffect.Core

Since: 12

Related module: ImageEffect

Summary

[h2]Types

Name Description
typedef enum ImageEffect_ErrorCode ImageEffect_ErrorCode Defines an enum for the error codes used by the image effector.

[h2]Enums

Name Description

ImageEffect_ErrorCode {

EFFECT_SUCCESS = 0, EFFECT_ERROR_PERMISSION_DENIED = 201,

EFFECT_ERROR_PARAM_INVALID = 401, EFFECT_BUFFER_SIZE_NOT_MATCH = 29000001,

EFFECT_COLOR_SPACE_NOT_MATCH = 29000002, EFFECT_INPUT_OUTPUT_NOT_MATCH = 29000101,

EFFECT_EFFECT_NUMBER_LIMITED = 29000102, EFFECT_INPUT_OUTPUT_NOT_SUPPORTED = 29000103,

EFFECT_ALLOCATE_MEMORY_FAILED = 29000104, EFFECT_PARAM_ERROR = 29000121,

EFFECT_KEY_ERROR = 29000122, EFFECT_UNKNOWN = 29000199

}

Enumerates the error codes used by the image effector.