diff --git a/graphic/graphic_2d/native_buffer/native_buffer.h b/graphic/graphic_2d/native_buffer/native_buffer.h
index 70d47a631f87e2dbc026ae2cf59ba722381ac7b8..46cdbcd6d6bc35b5cebcb2c52531f538e9df3fe0 100644
--- a/graphic/graphic_2d/native_buffer/native_buffer.h
+++ b/graphic/graphic_2d/native_buffer/native_buffer.h
@@ -462,7 +462,7 @@ int32_t OH_NativeBuffer_GetColorSpace(OH_NativeBuffer *buffer, OH_NativeBuffer_C
* @version 1.0
*/
int32_t OH_NativeBuffer_SetMetadataValue(OH_NativeBuffer *buffer, OH_NativeBuffer_MetadataKey metadataKey,
- int32_t size, uint8_t *metadata);
+ int32_t size, uint8_t *metaData);
/**
* @brief Set the metadata type of the OH_NativeBuffer.\n
@@ -481,7 +481,7 @@ int32_t OH_NativeBuffer_SetMetadataValue(OH_NativeBuffer *buffer, OH_NativeBuffe
* @version 1.0
*/
int32_t OH_NativeBuffer_GetMetadataValue(OH_NativeBuffer *buffer, OH_NativeBuffer_MetadataKey metadataKey,
- int32_t *size, uint8_t **metadata);
+ int32_t *size, uint8_t **metaData);
#ifdef __cplusplus
}
diff --git a/graphic/graphic_2d/native_window/external_window.h b/graphic/graphic_2d/native_window/external_window.h
index 41b01ce8d0503a1eb63d77c705c13fb120de7c2e..bb7019ceada301e4fbcc52ba65d624a620be926e 100644
--- a/graphic/graphic_2d/native_window/external_window.h
+++ b/graphic/graphic_2d/native_window/external_window.h
@@ -848,7 +848,7 @@ int32_t OH_NativeWindow_GetColorSpace(OHNativeWindow *window, OH_NativeBuffer_Co
* @version 1.0
*/
int32_t OH_NativeWindow_SetMetadataValue(OHNativeWindow *window, OH_NativeBuffer_MetadataKey metadataKey,
- int32_t size, uint8_t *metadata);
+ int32_t size, uint8_t *metaData);
/**
* @brief Set the metadata type of the native window.\n
@@ -867,7 +867,7 @@ int32_t OH_NativeWindow_SetMetadataValue(OHNativeWindow *window, OH_NativeBuffer
* @version 1.0
*/
int32_t OH_NativeWindow_GetMetadataValue(OHNativeWindow *window, OH_NativeBuffer_MetadataKey metadataKey,
- int32_t *size, uint8_t **metadata);
+ int32_t *size, uint8_t **metaData);
/**
* @brief Clean all OHNativeWindowBuffer caches of this OHNativeWindow