From 0bab95d3efeeac0c92472a19c03118e6578e7f9d Mon Sep 17 00:00:00 2001 From: zhjs Date: Fri, 11 Oct 2024 10:25:37 +0800 Subject: [PATCH 1/2] =?UTF-8?q?DTS0000000000000test=20=EF=BC=88cherry=20pi?= =?UTF-8?q?cked=20commit=20from=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- graphic/graphic_2d/native_buffer/buffer_common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index fd1bfa4a5..d67646240 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -138,7 +138,12 @@ typedef enum OH_NativeBuffer_MetadataType { /** HDR10 */ OH_VIDEO_HDR_HDR10, /** HDR VIVID */ - OH_VIDEO_HDR_VIVID + OH_VIDEO_HDR_VIVID, + /** + * NONE Metadata + * @since 13 + */ + OH_VIDEO_NONE = -1 } OH_NativeBuffer_MetadataType; /** -- Gitee From 4a0cea99e83d26ab2c22c22e92bb6eb9d9c6dc84 Mon Sep 17 00:00:00 2001 From: zhjs Date: Fri, 11 Oct 2024 10:25:37 +0800 Subject: [PATCH 2/2] =?UTF-8?q?DTS0000000000000test=20=EF=BC=88cherry=20pi?= =?UTF-8?q?cked=20commit=20from=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: zhjs --- graphic/graphic_2d/native_buffer/buffer_common.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/graphic/graphic_2d/native_buffer/buffer_common.h b/graphic/graphic_2d/native_buffer/buffer_common.h index fd1bfa4a5..d67646240 100644 --- a/graphic/graphic_2d/native_buffer/buffer_common.h +++ b/graphic/graphic_2d/native_buffer/buffer_common.h @@ -138,7 +138,12 @@ typedef enum OH_NativeBuffer_MetadataType { /** HDR10 */ OH_VIDEO_HDR_HDR10, /** HDR VIVID */ - OH_VIDEO_HDR_VIVID + OH_VIDEO_HDR_VIVID, + /** + * NONE Metadata + * @since 13 + */ + OH_VIDEO_NONE = -1 } OH_NativeBuffer_MetadataType; /** -- Gitee