diff --git a/graphic/graphic_2d/native_effect/effect_filter.h b/graphic/graphic_2d/native_effect/effect_filter.h index 781d6da40..d89dabed0 100644 --- a/graphic/graphic_2d/native_effect/effect_filter.h +++ b/graphic/graphic_2d/native_effect/effect_filter.h @@ -25,7 +25,7 @@ /** * @file effect_filter.h * - * @brief This file declares the APIs of an image effect filter. + * @brief Declares the APIs for filter effects. It supports creating and managing various filter effects, including frosted glass blur, brightness adjustment, grayscale conversion, and color inversion. It also supports implementing rich image processing effects through custom matrices, applicable to scenarios such as image editing, photo beautification, and visual effects. * @kit ArkGraphics2D * @library libnative_effect.so * @syscap SystemCapability.Multimedia.Image.Core @@ -41,10 +41,10 @@ extern "C" { #endif /** - * @brief Creates an **OH_Filter** object. + * @brief Creates an **OH_Filter** object to apply various filter effects (such as blur, brightening, or grayscale) to an image, applicable to scenarios such as image editing, album apps, and video processing. * - * @param pixelmap [in] Pointer to the PixelMap. Cannot be NULL. - * @param filter [out] Double pointer to the filter created. Cannot be NULL. + * @param pixelmap [in] The pixelmap object used as the source image for filter effect processing. + * @param filter [out] Double pointer used to receive the filter. * @return