diff --git a/display/graphic/common/v2_1/BUILD.gn b/display/graphic/common/v2_1/BUILD.gn index 3dc0b995029fb0a0f3488001f978afae4f2bf763..8a6bb051ce3adcf1fe5a69fe628418c70cb17199 100644 --- a/display/graphic/common/v2_1/BUILD.gn +++ b/display/graphic/common/v2_1/BUILD.gn @@ -21,7 +21,10 @@ hdi("display_commontype") { "//drivers/interface/display/graphic/common/v2_0:libdisplay_commontype_stub_2.0", ] - sources = [ "CMColorSpace.idl" ] + sources = [ + "BufferHandleMetaKeyType.idl", + "CMColorSpace.idl", + ] language = "cpp" subsystem_name = "hdf" diff --git a/display/graphic/common/v2_1/BufferHandleMetaKeyType.idl b/display/graphic/common/v2_1/BufferHandleMetaKeyType.idl new file mode 100644 index 0000000000000000000000000000000000000000..0d810c022093175476ee656eac60da37307ec0fa --- /dev/null +++ b/display/graphic/common/v2_1/BufferHandleMetaKeyType.idl @@ -0,0 +1,33 @@ +/* + * Copyright (c) 2025 Huawei Device Co., Ltd. + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +/** + * @addtogroup HdiDisplay + * + * @since 5.1 + * @version 2.1 + */ + +package ohos.hdi.display.graphic.common.v2_1; +import ohos.hdi.display.graphic.common.v2_0.BufferHandleMetaKeyType; + +/** + * @ brief Enumerates buffer handle attribution keys. + * + */ +enum BufferHandleAttrKey : ohos.hdi.display.graphic.common.v2_0.BufferHandleAttrKey { + ATTRKEY_VIDEO_TV_PQ = 2049, // value: TvPQMetadata + ATTRKEY_ADAPTIVE_FOV_METADATA = 2050, // value: byte stream of look up table +}; \ No newline at end of file