Lines Matching refs:index
97 * @param index Indicates the position of the OH_EffectFilter witch is created and added
99 * @return Returns a pointer to an OH_EffectFilter instance if the index and filter name is valid, otherwise returns
103 OH_EffectFilter *OH_ImageEffect_InsertFilter(OH_ImageEffect *imageEffect, uint32_t index, const char *filterName);
110 * @param index Indicates the position of the OH_EffectFilter witch is added
114 * {@link EFFECT_ERROR_PARAM_INVALID}, the input parameter is a null pointer or the index is invalid value
117 ImageEffect_ErrorCode OH_ImageEffect_InsertFilterByFilter(OH_ImageEffect *imageEffect, uint32_t index,
136 * @param index Indicates the position of the OH_EffectFilter witch is removed
139 * {@link EFFECT_ERROR_PARAM_INVALID}, the input parameter is a null pointer or the index is invalid value
142 ImageEffect_ErrorCode OH_ImageEffect_RemoveFilterByIndex(OH_ImageEffect *imageEffect, uint32_t index);
149 * @param index Indicates the position of the OH_EffectFilter witch is created and replaced
151 * @return Returns a pointer to an OH_EffectFilter instance if the index and filter name is valid, otherwise returns
155 OH_EffectFilter *OH_ImageEffect_ReplaceFilter(OH_ImageEffect *imageEffect, uint32_t index, const char *filterName);
162 * @param index Indicates the position of the OH_EffectFilter witch is replaced
166 * {@link EFFECT_ERROR_PARAM_INVALID}, the input parameter is a null pointer or the index is invalid value
169 ImageEffect_ErrorCode OH_ImageEffect_ReplaceFilterByFilter(OH_ImageEffect *imageEffect, uint32_t index,
183 * @brief Get an OH_EffectFilter instance that add to OH_ImageEffect by the index
187 * @param index Indicates the position of the OH_EffectFilter that add to OH_ImageEffect
188 * @return Returns a pointer to an OH_EffectFilter instance if the index is valid, otherwise returns nullptr
191 OH_EffectFilter *OH_ImageEffect_GetFilter(OH_ImageEffect *imageEffect, uint32_t index);