From 789743610c3395f8f9e6315138254ed1d1f0f191 Mon Sep 17 00:00:00 2001 From: xuedong Date: Mon, 12 Aug 2024 09:36:16 +0000 Subject: [PATCH 1/5] =?UTF-8?q?update=20graphic/graphic=5F2d/native=5Fbuff?= =?UTF-8?q?er/buffer=5Fcommon.h.=20=E6=96=B0=E5=A2=9EOH=5FVIDEO=5FNONE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xuedong --- graphic/graphic_2d/native_buffer/buffer_common.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index 58007d1d9..95ebb8521 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -136,7 +136,9 @@ typedef enum OH_NativeBuffer_MetadataType { /** HDR10 */ OH_VIDEO_HDR_HDR10, /** HDR VIVID */ - OH_VIDEO_HDR_VIVID + OH_VIDEO_HDR_VIVID, + /** NONE */ + OH_VIDEO_NONE, } OH_NativeBuffer_MetadataType; /** -- Gitee From ce46fd94d708c3e3b7eb16c0236b5a4e521c941a Mon Sep 17 00:00:00 2001 From: liushang Date: Wed, 14 Aug 2024 10:40:44 +0800 Subject: [PATCH 2/5] add none = -1 Signed-off-by: liushang --- graphic/graphic_2d/native_buffer/buffer_common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index 95ebb8521..e61d12807 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -138,7 +138,7 @@ typedef enum OH_NativeBuffer_MetadataType { /** HDR VIVID */ OH_VIDEO_HDR_VIVID, /** NONE */ - OH_VIDEO_NONE, + OH_VIDEO_NONE = -1 } OH_NativeBuffer_MetadataType; /** -- Gitee From 40717d2e84bdda5f29609c56e4bbd27e4ab77fea Mon Sep 17 00:00:00 2001 From: liushang Date: Wed, 11 Sep 2024 19:14:09 +0800 Subject: [PATCH 3/5] api13 Signed-off-by: liushang --- graphic/graphic_2d/native_buffer/buffer_common.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index e61d12807..b73f8e1b2 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -137,7 +137,10 @@ typedef enum OH_NativeBuffer_MetadataType { OH_VIDEO_HDR_HDR10, /** HDR VIVID */ OH_VIDEO_HDR_VIVID, - /** NONE */ + /** + * NONE Metadata + * @since 13 + */ OH_VIDEO_NONE = -1 } OH_NativeBuffer_MetadataType; -- Gitee From a744ca667b5be8755b26e8b5c0e8f7dc24912da4 Mon Sep 17 00:00:00 2001 From: liushang Date: Fri, 11 Oct 2024 10:55:44 +0800 Subject: [PATCH 4/5] =?UTF-8?q?codecheck=EF=BC=81=20Signed-off-by:=20liush?= =?UTF-8?q?ang=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- graphic/graphic_2d/native_buffer/buffer_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index b73f8e1b2..97e15436d 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -137,10 +137,10 @@ typedef enum OH_NativeBuffer_MetadataType { OH_VIDEO_HDR_HDR10, /** HDR VIVID */ OH_VIDEO_HDR_VIVID, - /** - * NONE Metadata - * @since 13 - */ + /** + * NONE Metadata + * @since 13 + */ OH_VIDEO_NONE = -1 } OH_NativeBuffer_MetadataType; -- Gitee From d0f1ede36c1cc964b9c834496f4447117db516bd Mon Sep 17 00:00:00 2001 From: liushang Date: Mon, 14 Oct 2024 09:55:19 +0800 Subject: [PATCH 5/5] fix Signed-off-by: liushang --- graphic/graphic_2d/native_buffer/buffer_common.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index 97e15436d..80bb90438 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -137,8 +137,7 @@ typedef enum OH_NativeBuffer_MetadataType { OH_VIDEO_HDR_HDR10, /** HDR VIVID */ OH_VIDEO_HDR_VIVID, - /** - * NONE Metadata + /** NONE Metadata * @since 13 */ OH_VIDEO_NONE = -1 -- Gitee