1 /* 2 * Copyright (C) 2023 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 INTERFACES_INNERKITS_SHOOTING_MODE_COLUMN_H 17 #define INTERFACES_INNERKITS_SHOOTING_MODE_COLUMN_H 18 19 #include <string> 20 21 #include "userfile_manager_types.h" 22 23 namespace OHOS { 24 namespace Media { 25 /* ShootingMode album const values */ 26 constexpr int32_t SHOOTING_MODE_TYPE = PhotoAlbumType::SMART; 27 constexpr int32_t SHOOTING_MODE_SUB_TYPE = PhotoAlbumSubType::SHOOTING_MODE; 28 29 /* ShootingMode tag value wrote by camera */ 30 const std::string PORTRAIT_ALBUM_TAG = "23"; 31 const std::string WIDE_APERTURE_ALBUM_TAG = "19"; 32 const std::string NIGHT_SHOT_ALBUM_TAG = "7"; 33 const std::string REAR_CAMERA_NIGHT_SHOT_TAG = "42"; 34 const std::string MOVING_PICTURE_ALBUM_TAG = "20"; 35 const std::string PRO_PHOTO_ALBUM_TAG = "2"; 36 const std::string TAIL_LIGHT_ALBUM_TAG = "9"; 37 const std::string LIGHT_GRAFFITI_TAG = "10"; 38 const std::string SILKY_WATER_TAG = "11"; 39 const std::string STAR_TRACK_TAG = "12"; 40 const std::string HIGH_PIXEL_ALBUM_TAG = "53"; 41 const std::string SUPER_MACRO_ALBUM_TAG = "47"; 42 const std::string SLOW_MOTION_ALBUM_TAG = "TypeSlowMotion"; 43 const std::string SUPER_SLOW_MOTION_ALBUM_TAG = "TypeSSlowMotion"; 44 45 /* ShootingMode value in medialibrary */ 46 const std::string PORTRAIT_ALBUM = "1"; 47 const std::string WIDE_APERTURE_ALBUM = "2"; 48 const std::string NIGHT_SHOT_ALBUM = "3"; 49 const std::string MOVING_PICTURE_ALBUM = "4"; 50 const std::string PRO_PHOTO_ALBUM = "5"; 51 const std::string SLOW_MOTION_ALBUM = "6"; 52 const std::string LIGHT_PAINTING_ALBUM = "7"; 53 const std::string HIGH_PIXEL_ALBUM = "8"; 54 const std::string SUPER_MACRO_ALBUM = "9"; 55 }; 56 } // namespace OHOS::Media 57 #endif // INTERFACES_INNERKITS_SHOOTING_MODE_COLUMN_H