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 * @file Types.h 18 * 19 * @brief Declares data types 20 * used by the Hardware Driver Interfaces (HDIs) of this module. 21 * 22 * @since 5.1 23 * @version 1.4 24 */ 25 26package ohos.hdi.camera.v1_4; 27 28import ohos.hdi.camera.v1_3.Types; 29 30sequenceable ohos.hdi.camera.v1_0.BufferHandleSequenceable; 31sequenceable ohos.hdi.camera.v1_0.BufferProducerSequenceable; 32sequenceable ohos.hdi.camera.v1_0.MapDataSequenceable; 33 34/** 35 * @brief Enumerates encoding types of stream data. 36 * @since 5.1 37 * @version 1.0 38 */ 39enum EncodeType : ohos.hdi.camera.v1_3.EncodeType { 40 /** 41 * DNG_XDRAW 42 */ 43 ENCODE_TYPE_DNG_XDRAW = 5, 44}; 45