diff --git a/multimedia/image_framework/include/image/image_packer_native.h b/multimedia/image_framework/include/image/image_packer_native.h index 7149c5fd80dfbabdb8ed17de305889f58e3cc6ba..14ba9ee6af7a5a8034b7256f660384e827574cd4 100644 --- a/multimedia/image_framework/include/image/image_packer_native.h +++ b/multimedia/image_framework/include/image/image_packer_native.h @@ -489,7 +489,7 @@ Image_ErrorCode OH_ImagePackerNative_Release(OH_ImagePackerNative *imagePacker); * {@link IMAGE_PACKER_INVALID_PARAMETER} if supportedFormats or length is empty. * @since 20 */ -Image_ErrorCode OH_ImagePackerNative_GetSupportedFormats(Image_MimeType **supportedFormats, size_t *length); +Image_ErrorCode OH_ImagePackerNative_GetSupportedFormats(Image_MimeType** supportedFormats, size_t* length); #ifdef __cplusplus }; diff --git a/multimedia/image_framework/include/image/image_source_native.h b/multimedia/image_framework/include/image/image_source_native.h index e4b854960bff37d0cb23938a7dea951847d472d0..588718d156abaa2d8dab042c38b78f36fe1d07a8 100644 --- a/multimedia/image_framework/include/image/image_source_native.h +++ b/multimedia/image_framework/include/image/image_source_native.h @@ -378,22 +378,22 @@ Image_ErrorCode OH_DecodingOptions_SetDesiredDynamicRange(OH_DecodingOptions *op * @brief Obtains the color space set in the decoding options. * * @param options Pointer to the decoding options. - * @param colorSpace Pointer to the color space, {@link ColorSpaceName}. + * @param colorSpace Pointer to the color space. * @return Returns one of the following result codes: - * {@link IMAGE_SUCCESS}: if the execution is successful. - * {@link IMAGE_SOURCE_INVALID_PARAMETER}: if options or colorSpace is null pointer. + * {@link IMAGE_SUCCESS} if the execution is successful. + * {@link IMAGE_SOURCE_INVALID_PARAMETER} if options or colorSpace is null pointer. * @since 20 */ Image_ErrorCode OH_DecodingOptions_GetDesiredColorSpace(OH_DecodingOptions *options, int32_t *colorSpace); /** - * @brief Sets desired color space for decoding options. + * @brief Sets the desired color space for the decoding options. * * @param options Pointer to the decoding options. - * @param colorSpace Desired color space, {@link ColorSpaceName}. + * @param colorSpace Desired color space. * @return Returns one of the following result codes: - * {@link IMAGE_SUCCESS}: if the execution is successful. - * {@link IMAGE_SOURCE_INVALID_PARAMETER}: if options is a null pointer or colorSpace is not supported. + * {@link IMAGE_SUCCESS} if the execution is successful. + * {@link IMAGE_SOURCE_INVALID_PARAMETER} if options is a null pointer or colorSpace is not supported. * @since 20 */ Image_ErrorCode OH_DecodingOptions_SetDesiredColorSpace(OH_DecodingOptions *options, int32_t colorSpace); @@ -695,7 +695,7 @@ Image_ErrorCode OH_DecodingOptionsForPicture_Release(OH_DecodingOptionsForPictur * {@link IMAGE_SOURCE_INVALID_PARAMETER} if supportedFormats or length is empty. * @since 20 */ -Image_ErrorCode OH_ImageSourceNative_GetSupportedFormats(Image_MimeType **supportedFormats, size_t *length); +Image_ErrorCode OH_ImageSourceNative_GetSupportedFormats(Image_MimeType** supportedFormats, size_t* length); #ifdef __cplusplus }; #endif