diff --git a/graphic/graphic_2d/native_buffer/native_buffer.h b/graphic/graphic_2d/native_buffer/native_buffer.h index 734fdc04ba74f2173386a6f054e7b52e5fa8b576..771256ac5402a3cfea51e66c389e0799049f1597 100644 --- a/graphic/graphic_2d/native_buffer/native_buffer.h +++ b/graphic/graphic_2d/native_buffer/native_buffer.h @@ -209,12 +209,12 @@ typedef enum OH_NativeBuffer_Format { */ NATIVEBUFFER_PIXEL_FMT_RGBA16_FLOAT, /** - * RGBA16 Y8 format + * Y8 format * @since 20 */ NATIVEBUFFER_PIXEL_FMT_Y8 = 40, /** - * RGBA16 Y16 format + * Y16 format * @since 20 */ NATIVEBUFFER_PIXEL_FMT_Y16 = 41, diff --git a/graphic/graphic_2d/native_fence/BUILD.gn b/graphic/graphic_2d/native_fence/BUILD.gn index 7709bc1e4b3fec5a834b8513652f8f219505f4fc..ac784db3d07edd957e4765ea17a64dcf5dc68cd5 100644 --- a/graphic/graphic_2d/native_fence/BUILD.gn +++ b/graphic/graphic_2d/native_fence/BUILD.gn @@ -16,9 +16,7 @@ import("//build/ohos/ndk/ndk.gni") ohos_ndk_headers("native_fence_header") { dest_dir = "$ndk_headers_out_dir/native_fence" - sources = [ - "./native_fence.h", - ] + sources = [ "./native_fence.h" ] } ohos_ndk_library("libnative_fence_ndk") { @@ -26,7 +24,5 @@ ohos_ndk_library("libnative_fence_ndk") { output_extension = "so" ndk_description_file = "./libnative_fence.ndk.json" system_capability = "SystemCapability.Graphic.Graphic2D.NativeFence" - system_capability_headers = [ - "native_fence/native_fence.h", - ] + system_capability_headers = [ "native_fence/native_fence.h" ] } diff --git a/graphic/graphic_2d/native_fence/native_fence.h b/graphic/graphic_2d/native_fence/native_fence.h index c43d9c4a5386f1da86c7357a2623afb4a7190120..25b8f120198e103b3784efe38386a6e98e6f5f38 100644 --- a/graphic/graphic_2d/native_fence/native_fence.h +++ b/graphic/graphic_2d/native_fence/native_fence.h @@ -49,7 +49,7 @@ extern "C" { * * @syscap SystemCapability.Graphic.Graphic2D.NativeFence * @param fenceFd Indicates a file descriptor handle, which is used for timing synchronization. - * @return Returns true means the fence is valid, otherwise, invalid. + * @return Returns true if the fence is valid, otherwise, invalid. * @since 20 * @version 1.0 */