1 /* 2 * Copyright (C) 2024-2024 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 #ifndef FRAMEWORKS_SERVICES_MEDIA_MULTI_STAGES_CAPTURE_INCLUDE_MEDIA_CONTAINER_TYPES_H 17 #define FRAMEWORKS_SERVICES_MEDIA_MULTI_STAGES_CAPTURE_INCLUDE_MEDIA_CONTAINER_TYPES_H 18 19 #include <string> 20 21 namespace OHOS { 22 namespace Media { 23 24 /** Supported audio container types */ 25 const std::string AUDIO_CONTAINER_TYPE_AAC = "aac"; 26 const std::string AUDIO_CONTAINER_TYPE_MP3 = "mp3"; 27 const std::string AUDIO_CONTAINER_TYPE_FLAC = "flac"; 28 const std::string AUDIO_CONTAINER_TYPE_WAV = "wav"; 29 const std::string AUDIO_CONTAINER_TYPE_OGG = "ogg"; 30 const std::string AUDIO_CONTAINER_TYPE_M4A = "m4a"; 31 32 /** Supported video container types */ 33 const std::string VIDEO_CONTAINER_TYPE_MP4 = "mp4"; 34 const std::string VIDEO_CONTAINER_TYPE_3GP = "3gp"; 35 const std::string VIDEO_CONTAINER_TYPE_MPG = "mpg"; 36 const std::string VIDEO_CONTAINER_TYPE_MOV = "mov"; 37 const std::string VIDEO_CONTAINER_TYPE_WEBM = "webm"; 38 const std::string VIDEO_CONTAINER_TYPE_MKV = "mkv"; 39 const std::string VIDEO_CONTAINER_TYPE_H264 = "h264"; 40 const std::string VIDEO_CONTAINER_TYPE_MPEG = "mpeg"; 41 const std::string VIDEO_CONTAINER_TYPE_TS = "ts"; 42 const std::string VIDEO_CONTAINER_TYPE_M4V = "m4v"; 43 const std::string VIDEO_CONTAINER_TYPE_3G2 = "3g2"; 44 45 /** Supported image types */ 46 const std::string IMAGE_CONTAINER_TYPE_BMP = "bmp"; 47 const std::string IMAGE_CONTAINER_TYPE_BM = "bm"; 48 const std::string IMAGE_CONTAINER_TYPE_GIF = "gif"; 49 const std::string IMAGE_CONTAINER_TYPE_JPG = "jpg"; 50 const std::string IMAGE_CONTAINER_TYPE_JPEG = "jpeg"; 51 const std::string IMAGE_CONTAINER_TYPE_JPE = "jpe"; 52 const std::string IMAGE_CONTAINER_TYPE_PNG = "png"; 53 const std::string IMAGE_CONTAINER_TYPE_WEBP = "webp"; 54 const std::string IMAGE_CONTAINER_TYPE_RAW = "raw"; 55 const std::string IMAGE_CONTAINER_TYPE_DNG = "dng"; 56 const std::string IMAGE_CONTAINER_TYPE_SVG = "svg"; 57 const std::string IMAGE_CONTAINER_TYPE_HEIF = "heif"; 58 const std::string IMAGE_CONTAINER_TYPE_HEIC = "heic"; 59 const std::string DIR_ALL_CONTAINER_TYPE = ".ALLTYPE"; 60 const std::string DIR_ALL_TYPE_VALUES = "ALLTYPE"; 61 62 const std::string DOC_EXTENSION_VALUES = DIR_ALL_CONTAINER_TYPE; 63 64 const std::string DOC_TYPE_VALUES = DIR_ALL_TYPE_VALUES; 65 66 const std::string DOWNLOAD_EXTENSION_VALUES = DIR_ALL_CONTAINER_TYPE; 67 68 const std::string DOWNLOAD_TYPE_VALUES = DIR_ALL_TYPE_VALUES; 69 } // namespace Media 70 } // namespace OHOS 71 #endif // FRAMEWORKS_SERVICES_MEDIA_MULTI_STAGES_CAPTURE_INCLUDE_MEDIA_CONTAINER_TYPES_H