目录

effect_types.h

Overview

The effect_types.h file declares the data types of the image effect filter.

File to include: <native_effect/effect_types.h>

Library: libnative_effect.so

System capability: SystemCapability.Multimedia.Image.Core

Since: 12

Related module: EffectKit

Summary

[h2]Structs

Name Description
struct OH_Filter_ColorMatrix Describes a matrix used to create an effect filter.

[h2]Types

Name Description
typedef struct OH_Filter OH_Filter Defines a struct for a filter used to generate a filter PixelMap.
typedef struct OH_PixelmapNative OH_PixelmapNative Defines a struct for the PixelMap.

[h2]Enums

Name Description
EffectErrorCode { EFFECT_SUCCESS = 0, EFFECT_BAD_PARAMETER = 401, EFFECT_UNSUPPORTED_OPERATION = 7600201, EFFECT_UNKNOWN_ERROR = 7600901 } Enumerates the status codes that may be used by the effect filter.