1 /* 2 * Copyright (C) 2025 Huawei Device Co., Ltd. 3 * Licensed under the Apache License, Version 2.0 (the "License"); 4 * you may not use this file except in compliance with the License. 5 * You may obtain a copy of the License at 6 * 7 * http://www.apache.org/licenses/LICENSE-2.0 8 * 9 * Unless required by applicable law or agreed to in writing, software 10 * distributed under the License is distributed on an "AS IS" BASIS, 11 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 * See the License for the specific language governing permissions and 13 * limitations under the License. 14 */ 15 16 /** 17 * @addtogroup Core 18 * @{ 19 * 20 * @brief The Core module provides basic backbone capabilities for media frameworks, 21 * including functions such as memory, error codes, and media data structures. 22 * 23 * @syscap SystemCapability.Multimedia.Media.Core 24 * @since 18 25 */ 26 27 /** 28 * @file media_types.h 29 * 30 * @brief Declared the common media types definition. 31 * 32 * @kit AVCodecKit 33 * @library libnative_media_core.so 34 * @syscap SystemCapability.Multimedia.Media.Core 35 * @since 18 36 */ 37 38 #ifndef MEDIA_TYPES_H 39 #define MEDIA_TYPES_H 40 41 #include <stdint.h> 42 #include <stdio.h> 43 44 #ifdef __cplusplus 45 extern "C" { 46 #endif 47 48 /** 49 * @brief Enumerates HDR types. 50 * 51 * @syscap SystemCapability.Multimedia.Media.Core 52 * @since 18 53 */ 54 typedef enum OH_Core_HdrType { 55 /** 56 * This option is used to mark none HDR type. 57 */ 58 OH_CORE_HDR_TYPE_NONE = 0, 59 /** 60 * This option is used to mark HDR Vivid type. 61 */ 62 OH_CORE_HDR_TYPE_VIVID = 1, 63 } OH_Core_HdrType; 64 65 #ifdef __cplusplus 66 } 67 #endif 68 69 #endif // MEDIA_TYPES_H 70 /** @} */ 71