• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# effect_types.h
2
3
4## Overview
5
6The **effect_types.h** file declares the data types of the image effect filter.
7
8**File to include**: <native_effect/effect_types.h>
9
10**Library**: libnative_effect.so
11
12**System capability**: SystemCapability.Multimedia.Image.Core
13
14**Since**: 12
15
16**Related module**: [EffectKit](effect_kit.md)
17
18
19## Summary
20
21
22### Structs
23
24| Name| Description|
25| -------- | -------- |
26| struct  [OH_Filter_ColorMatrix](_o_h___filter___color_matrix.md) | Describes a matrix used to create an effect filter.|
27
28
29### Types
30
31| Name| Description|
32| -------- | -------- |
33| typedef struct [OH_Filter](effect_kit.md#oh_filter) [OH_Filter](effect_kit.md#oh_filter) | Defines a struct for a filter used to generate a filter PixelMap.|
34| typedef struct [OH_PixelmapNative](effect_kit.md#oh_pixelmapnative) [OH_PixelmapNative](effect_kit.md#oh_pixelmapnative) | Defines a struct for the PixelMap.|
35
36
37### Enums
38
39| Name| Description|
40| -------- | -------- |
41| [EffectErrorCode](effect_kit.md#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.|
42| [EffectTileMode](effect_kit.md#effecttilemode) { CLAMP = 0, REPEAT, MIRROR, DECAL } | Enumerates the tile modes of the shader effect.|
43