openharmony 鸿蒙 capi-image-effect-errors-h

2026-08-25 浏览 (1)

image_effect_errors.h

Overview

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

Library: libimage_effect.so

File to include: <multimedia/image_effect/image_effect_errors.h>

System capability: SystemCapability.Multimedia.ImageEffect.Core

Since: 12

Related module: ImageEffect

Summary

Enums

Nametypedef KeywordDescription
ImageEffect_ErrorCodeImageEffect_ErrorCodeEnumerates the error codes used by the image effector.

Enum Description

ImageEffect_ErrorCode

enum ImageEffect_ErrorCode

Description

Enumerates the error codes used by the image effector.

System capability: SystemCapability.Multimedia.ImageEffect.Core

Since: 12

Enum ItemDescription
EFFECT_SUCCESS = 0The operation is successful.
EFFECT_ERROR_PERMISSION_DENIED = 201Permission verification fails.
EFFECT_ERROR_PARAM_INVALID = 401Parameter check fails.
EFFECT_BUFFER_SIZE_NOT_MATCH = 29000001The output buffer size does not match.
EFFECT_COLOR_SPACE_NOT_MATCH = 29000002The input and output color spaces do not match.
EFFECT_INPUT_OUTPUT_NOT_MATCH = 29000101The input and output configurations do not match. For example, the input is a surface, but the output is a PixelMap.
EFFECT_EFFECT_NUMBER_LIMITED = 29000102The maximum number is reached.
EFFECT_INPUT_OUTPUT_NOT_SUPPORTED = 29000103The input or output configuration is not supported.
EFFECT_ALLOCATE_MEMORY_FAILED = 29000104Memory allocation fails.
EFFECT_PARAM_ERROR = 29000121Invalid parameter value. For example, the filter parameter value is invalid.
EFFECT_KEY_ERROR = 29000122Invalid parameter. For example, the filter parameter is invalid.
EFFECT_UNKNOWN = 29000199Undefined error.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-image-nativemodule-oh-pixelmap-hdrmetadatavalue

openharmony 鸿蒙 capi-image-imagepacker-opts-

openharmony 鸿蒙 capi-image-nativemodule-image-region

openharmony 鸿蒙 capi-image-imagepacker-native-

openharmony 鸿蒙 capi-image-imagenative-

openharmony 鸿蒙 capi-image-processing-h

openharmony 鸿蒙 capi-image-ohosimagesourcesupportedformat

openharmony 鸿蒙 capi-image-nativemodule-image-size

openharmony 鸿蒙 capi-image-mdk-h

openharmony 鸿蒙 capi-image-ohosimagesourcedelaytimelist

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/TYUKnxp3