From bc582ceb13e3c0c71e68bd0b1a48e9610a0e979e Mon Sep 17 00:00:00 2001 From: "zhubingwei@huawei.com" Date: Wed, 20 Mar 2024 19:36:55 +0800 Subject: [PATCH 1/8] add file image_common.h Signed-off-by: zhubingwei@huawei.com --- .../include/image/image_common.h | 300 ++++++++++++++++++ 1 file changed, 300 insertions(+) create mode 100644 multimedia/image_framework/include/image/image_common.h diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h new file mode 100644 index 000000000..5e86fd303 --- /dev/null +++ b/multimedia/image_framework/include/image/image_common.h @@ -0,0 +1,300 @@ +/* + * Copyright (C) 2023 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 image + * @{ + * + * @brief Provides APIs for access to the image interface. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 2.0 + */ + +/** + * @file image_common.h + * + * @brief Declares the common enums and structs used by the image interface. + * + * @since 10 + * @version 2.0 + */ + +#ifndef INTERFACES_KITS_NATIVE_INCLUDE_IMAGE_IMAGE_COMMON_H_ +#define INTERFACES_KITS_NATIVE_INCLUDE_IMAGE_IMAGE_COMMON_H_ +#include +#include + +#ifdef __cplusplus +extern "C" { +#endif +#define IMAGE_RESULT_BASE 62980096 + +/** + * @brief Defines the image size. + * + * @since 10 + * @version 2.0 + */ +struct Image_Size { + /** Image width, in pixels. */ + int32_t width; + /** Image height, in pixels. */ + int32_t height; +}; + +/** + * @brief Declaration the image size. + * + * @since 10 + * @version 2.0 + */ +typedef struct Image_Size Image_Size; + +/** + * @brief Defines the region of the image source to decode. + * + * @since 10 + * @version 2.0 + */ +struct Image_Region { + /** X coordinate of the start point, in pixels. */ + uint32_t x; + /** Y coordinate of the start point, in pixels. */ + uint32_t y; + /** Width of the region, in pixels. */ + uint32_t width; + /** Height of the region, in pixels. */ + uint32_t height; +}; + +/** + * @brief Declaration the image region. + * + * @since 10 + * @version 2.0 + */ +typedef struct Image_Region Image_Region; + +/** + * @brief Defines the region of the image source to decode. + * + * @since 10 + * @version 2.0 + */ +struct Image_String { + /** data for string type */ + char *format = nullptr; + /** data lenth for string type */ + size_t size = 0; +}; + +/** + * @brief Defines the property string (in key-value format) of the image source. + * + * @since 10 + * @version 2.0 + */ +typedef Image_String Image_String; + +/** + * @brief Defines the image packing options. + * + * @since 10 + * @version 2.0 + */ +typedef Image_String Image_MimeType; + +/** + * @brief Enumerates the return values that may be used by the interface. + * + * @since 10 + * @version 2.0 + */ +typedef enum { + IMAGE_RESULT_SUCCESS = 0, // Operation success + IMAGE_RESULT_BAD_PARAMETER = -1, // Invalid parameter + IMAGE_RESULT_IMAGE_RESULT_BASE = IMAGE_RESULT_BASE, // Operation failed + IMAGE_RESULT_ERR_IPC = IMAGE_RESULT_BASE + 1, // ipc error + IMAGE_RESULT_ERR_SHAMEM_NOT_EXIST = IMAGE_RESULT_BASE + 2, // sharememory error + IMAGE_RESULT_ERR_SHAMEM_DATA_ABNORMAL = IMAGE_RESULT_BASE + 3, // sharememory data abnormal + IMAGE_RESULT_DECODE_ABNORMAL = IMAGE_RESULT_BASE + 4, // image decode error + IMAGE_RESULT_DATA_ABNORMAL = IMAGE_RESULT_BASE + 5, // image input data error + IMAGE_RESULT_MALLOC_ABNORMAL = IMAGE_RESULT_BASE + 6, // image malloc error + IMAGE_RESULT_DATA_UNSUPPORT = IMAGE_RESULT_BASE + 7, // image type unsupported + IMAGE_RESULT_INIT_ABNORMAL = IMAGE_RESULT_BASE + 8, // image init error + IMAGE_RESULT_GET_DATA_ABNORMAL = IMAGE_RESULT_BASE + 9, // image get data error + IMAGE_RESULT_TOO_LARGE = IMAGE_RESULT_BASE + 10, // image data too large + IMAGE_RESULT_TRANSFORM = IMAGE_RESULT_BASE + 11, // image transform error + IMAGE_RESULT_COLOR_CONVERT = IMAGE_RESULT_BASE + 12, // image color convert error + IMAGE_RESULT_CROP = IMAGE_RESULT_BASE + 13, // crop error + IMAGE_RESULT_SOURCE_DATA = IMAGE_RESULT_BASE + 14, // image source data error + IMAGE_RESULT_SOURCE_DATA_INCOMPLETE = IMAGE_RESULT_BASE + 15, // image source data incomplete + IMAGE_RESULT_MISMATCHED_FORMAT = IMAGE_RESULT_BASE + 16, // image mismatched format + IMAGE_RESULT_UNKNOWN_FORMAT = IMAGE_RESULT_BASE + 17, // image unknown format + IMAGE_RESULT_SOURCE_UNRESOLVED = IMAGE_RESULT_BASE + 18, // image source unresolved + IMAGE_RESULT_INVALID_PARAMETER = IMAGE_RESULT_BASE + 19, // image invalid parameter + IMAGE_RESULT_DECODE_FAILED = IMAGE_RESULT_BASE + 20, // decode fail + IMAGE_RESULT_PLUGIN_REGISTER_FAILED = IMAGE_RESULT_BASE + 21, // register plugin fail + IMAGE_RESULT_PLUGIN_CREATE_FAILED = IMAGE_RESULT_BASE + 22, // create plugin fail + IMAGE_RESULT_ENCODE_FAILED = IMAGE_RESULT_BASE + 23, // image encode fail + IMAGE_RESULT_ADD_PIXEL_MAP_FAILED = IMAGE_RESULT_BASE + 24, // image add pixel map fail + IMAGE_RESULT_HW_DECODE_UNSUPPORT = IMAGE_RESULT_BASE + 25, // image hardware decode unsupported + IMAGE_RESULT_DECODE_HEAD_ABNORMAL = IMAGE_RESULT_BASE + 26, // image decode head error + IMAGE_RESULT_DECODE_EXIF_UNSUPPORT = IMAGE_RESULT_BASE + 27, // image decode exif unsupport + IMAGE_RESULT_PROPERTY_NOT_EXIST = IMAGE_RESULT_BASE + 28, // image property not exist + + IMAGE_RESULT_MEDIA_DATA_UNSUPPORT = IMAGE_RESULT_BASE + 30, // media type unsupported + IMAGE_RESULT_MEDIA_TOO_LARGE = IMAGE_RESULT_BASE + 31, // media data too large + IMAGE_RESULT_MEDIA_MALLOC_FAILED = IMAGE_RESULT_BASE + 32, // media malloc memory failed + IMAGE_RESULT_MEDIA_END_OF_STREAM = IMAGE_RESULT_BASE + 33, // media end of stream error + IMAGE_RESULT_MEDIA_IO_ABNORMAL = IMAGE_RESULT_BASE + 34, // media io error + IMAGE_RESULT_MEDIA_MALFORMED = IMAGE_RESULT_BASE + 35, // media malformed error + IMAGE_RESULT_MEDIA_BUFFER_TOO_SMALL = IMAGE_RESULT_BASE + 36, // media buffer too small error + IMAGE_RESULT_MEDIA_OUT_OF_RANGE = IMAGE_RESULT_BASE + 37, // media out of range error + IMAGE_RESULT_MEDIA_STATUS_ABNORMAL = IMAGE_RESULT_BASE + 38, // media status abnormal error + IMAGE_RESULT_MEDIA_VALUE_INVALID = IMAGE_RESULT_BASE + 39, // media value invalid + IMAGE_RESULT_MEDIA_NULL_POINTER = IMAGE_RESULT_BASE + 40, // media error operation + IMAGE_RESULT_MEDIA_INVALID_OPERATION = IMAGE_RESULT_BASE + 41, // media invalid operation + IMAGE_RESULT_MEDIA_ERR_PLAYER_NOT_INIT = IMAGE_RESULT_BASE + 42, // media init error + IMAGE_RESULT_MEDIA_EARLY_PREPARE = IMAGE_RESULT_BASE + 43, // media early prepare + IMAGE_RESULT_MEDIA_SEEK_ERR = IMAGE_RESULT_BASE + 44, // media rewind error + IMAGE_RESULT_MEDIA_PERMISSION_DENIED = IMAGE_RESULT_BASE + 45, // media permission denied + IMAGE_RESULT_MEDIA_DEAD_OBJECT = IMAGE_RESULT_BASE + 46, // media dead object + IMAGE_RESULT_MEDIA_TIMED_OUT = IMAGE_RESULT_BASE + 47, // media time out + IMAGE_RESULT_MEDIA_TRACK_NOT_ALL_SUPPORTED = IMAGE_RESULT_BASE + 48, // media track subset support + IMAGE_RESULT_MEDIA_ADAPTER_INIT_FAILED = IMAGE_RESULT_BASE + 49, // media recorder adapter init failed + IMAGE_RESULT_MEDIA_WRITE_PARCEL_FAIL = IMAGE_RESULT_BASE + 50, // write parcel failed + IMAGE_RESULT_MEDIA_READ_PARCEL_FAIL = IMAGE_RESULT_BASE + 51, // read parcel failed + IMAGE_RESULT_MEDIA_NO_AVAIL_BUFFER = IMAGE_RESULT_BASE + 52, // read parcel failed + IMAGE_RESULT_MEDIA_INVALID_PARAM = IMAGE_RESULT_BASE + 53, // media function found invalid param + IMAGE_RESULT_MEDIA_CODEC_ADAPTER_NOT_EXIST = IMAGE_RESULT_BASE + 54, // media zcodec adapter not init + IMAGE_RESULT_MEDIA_CREATE_CODEC_ADAPTER_FAILED = IMAGE_RESULT_BASE + 55, // media create zcodec adapter failed + IMAGE_RESULT_MEDIA_CODEC_ADAPTER_NOT_INIT = IMAGE_RESULT_BASE + 56, // media adapter inner not init + IMAGE_RESULT_MEDIA_ZCODEC_CREATE_FAILED = IMAGE_RESULT_BASE + 57, // media adapter inner not init + IMAGE_RESULT_MEDIA_ZCODEC_NOT_EXIST = IMAGE_RESULT_BASE + 58, // media zcodec not exist + IMAGE_RESULT_MEDIA_JNI_CLASS_NOT_EXIST = IMAGE_RESULT_BASE + 59, // media jni class not found + IMAGE_RESULT_MEDIA_JNI_METHOD_NOT_EXIST = IMAGE_RESULT_BASE + 60, // media jni method not found + IMAGE_RESULT_MEDIA_JNI_NEW_OBJ_FAILED = IMAGE_RESULT_BASE + 61, // media jni obj new failed + IMAGE_RESULT_MEDIA_JNI_COMMON_ERROR = IMAGE_RESULT_BASE + 62, // media jni normal error + IMAGE_RESULT_MEDIA_DISTRIBUTE_NOT_SUPPORT = IMAGE_RESULT_BASE + 63, // media distribute not support + IMAGE_RESULT_MEDIA_SOURCE_NOT_SET = IMAGE_RESULT_BASE + 64, // media source not set + IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_INIT = IMAGE_RESULT_BASE + 65, // media rtsp adapter not init + IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_EXIST = IMAGE_RESULT_BASE + 66, // media rtsp adapter not exist + IMAGE_RESULT_MEDIA_RTSP_SURFACE_UNSUPPORT = IMAGE_RESULT_BASE + 67, // media rtsp surface not support + IMAGE_RESULT_MEDIA_RTSP_CAPTURE_NOT_INIT = IMAGE_RESULT_BASE + 68, // media rtsp capture init error + IMAGE_RESULT_MEDIA_RTSP_SOURCE_URL_INVALID = IMAGE_RESULT_BASE + 69, // media rtsp source url invalid + IMAGE_RESULT_MEDIA_RTSP_VIDEO_TRACK_NOT_FOUND = IMAGE_RESULT_BASE + 70, // media rtsp can't find video track + IMAGE_RESULT_MEDIA_RTSP_CAMERA_NUM_REACH_MAX = IMAGE_RESULT_BASE + 71, // rtsp camera num reach to max num + IMAGE_RESULT_MEDIA_SET_VOLUME = IMAGE_RESULT_BASE + 72, // media set volume error + IMAGE_RESULT_MEDIA_NUMBER_OVERFLOW = IMAGE_RESULT_BASE + 73, // media number operation overflow + IMAGE_RESULT_MEDIA_DIS_PLAYER_UNSUPPORTED = IMAGE_RESULT_BASE + 74, // media distribute player unsupporteded + IMAGE_RESULT_MEDIA_DENCODE_ICC_FAILED = IMAGE_RESULT_BASE + 75, // image dencode ICC fail + IMAGE_RESULT_MEDIA_ENCODE_ICC_FAILED = IMAGE_RESULT_BASE + 76, // image encode ICC fail + + IMAGE_RESULT_MEDIA_READ_PIXELMAP_FAILED = IMAGE_RESULT_BASE + 150, // read pixelmap failed + IMAGE_RESULT_MEDIA_WRITE_PIXELMAP_FAILED = IMAGE_RESULT_BASE + 151, // write pixelmap failed + IMAGE_RESULT_MEDIA_PIXELMAP_NOT_ALLOW_MODIFY = IMAGE_RESULT_BASE + 152, // pixelmap not allow modify + IMAGE_RESULT_MEDIA_CONFIG_FAILED = IMAGE_RESULT_BASE + 153, // config error + IMAGE_RESULT_JNI_ENV_ABNORMAL = IMAGE_RESULT_BASE + 154, // Abnormal JNI environment + IMAGE_RESULT_SURFACE_GRALLOC_BUFFER_FAILED = IMAGE_RESULT_BASE + 155, // surface gralloc buffer failed + IMAGE_RESULT_CREATE_SURFACE_FAILED = IMAGE_RESULT_BASE + 156, // create surface failed + IMAGE_RESULT_SURFACE_GET_PARAMETER_FAILED = IMAGE_RESULT_BASE + 157, // Failed to obtain parameters for surface + IMAGE_RESULT_GET_SURFACE_FAILED = IMAGE_RESULT_BASE + 158, // get sufrace failed + IMAGE_RESULT_SURFACE_ACQUIRE_BUFFER_FAILED = IMAGE_RESULT_BASE + 159, // Acquire Buffer failed + IMAGE_RESULT_SURFACE_REQUEST_BUFFER_FAILED = IMAGE_RESULT_BASE + 160, // request Buffer failed + IMAGE_RESULT_REGISTER_LISTENER_FAILED = IMAGE_RESULT_BASE + 161, // Failed to register listener + IMAGE_RESULT_REGISTER_BUFFER_FAILED = IMAGE_RESULT_BASE + 162, // Failed to register buffer + IMAGE_RESULT_FREAD_FAILED = IMAGE_RESULT_BASE + 163, // read file failed + IMAGE_RESULT_PEEK_FAILED = IMAGE_RESULT_BASE + 164, // peek file failed + IMAGE_RESULT_SEEK_FAILED = IMAGE_RESULT_BASE + 165, // seek file failed + IMAGE_RESULT_STREAM_SIZE_ERROR = IMAGE_RESULT_BASE + 166, // stream bad + IMAGE_RESULT_FILE_FD_ERROR = IMAGE_RESULT_BASE + 167, // file fd is bad + IMAGE_RESULT_FILE_DAMAGED = IMAGE_RESULT_BASE + 168, // file damaged + IMAGE_RESULT_CREATE_DECODER_FAILED = IMAGE_RESULT_BASE + 169, // create decoder failed + IMAGE_RESULT_CREATE_ENCODER_FAILED = IMAGE_RESULT_BASE + 170, // create encoder failed + IMAGE_RESULT_CHECK_FORMAT_ERROR = IMAGE_RESULT_BASE + 171, // check format failed + IMAGE_RESULT_THIRDPART_SKIA_ERROR = IMAGE_RESULT_BASE + 172, // skia error + IMAGE_RESULT_HW_DECODE_FAILED = IMAGE_RESULT_BASE + 173, // hard decode failed + IMAGE_RESULT_ALLOCATER_TYPE_ERROR = IMAGE_RESULT_BASE + 174, // hard decode failed + IMAGE_RESULT_ALPHA_TYPE_ERROR = IMAGE_RESULT_BASE + 175, // hard decode failed + IMAGE_RESULT_INDEX_INVALID = IMAGE_RESULT_BASE + 176, // invalid index + + IMAGE_RESULT_MEDIA_UNKNOWN = IMAGE_RESULT_BASE + 200, // media unknown error +} Image_ErrorCode; + +/** + * @brief Defines the mbp mime type. + * + * @since 10 + * @version 2.0 + */ +static const char* MIME_TYPE_BMP = "image/bmp"; + +/** + * @brief Defines the jpeg mime type. + * + * @since 10 + * @version 2.0 + */ +static const char* MIME_TYPE_JPEG = "image/jpeg"; + +/** + * @brief Defines the heic mime type. + * + * @since 10 + * @version 2.0 + */ +static const char* MIME_TYPE_HEIC = "image/heic"; + +/** + * @brief Defines the png mime type. + * + * @since 10 + * @version 2.0 + */ +static const char* MIME_TYPE_PNG = "image/png"; + +/** + * @brief Defines the webp mime type. + * + * @since 10 + * @version 2.0 + */ +static const char* MIME_TYPE_WEBP = "image/webp"; + +/** + * @brief Defines the gif mime type. + * + * @since 10 + * @version 2.0 + */ +static const char* MIME_TYPE_GIF = "image/gif"; + +/** + * @brief Defines the x-icon mime type. + * + * @since 10 + * @version 2.0 + */ +static const char* MIME_TYPE_ICON = "image/x-icon"; + +#ifdef __cplusplus +}; +#endif +/** @} */ + +#endif // INTERFACES_KITS_NATIVE_INCLUDE_IMAGE_IMAGE_COMMON_H_ \ No newline at end of file -- Gitee From 5228df3c8a13a6e7f84a2be3c9483012314f8f2a Mon Sep 17 00:00:00 2001 From: caoyawen05 Date: Thu, 21 Mar 2024 15:55:50 +0800 Subject: [PATCH 2/8] =?UTF-8?q?=E6=B7=BB=E5=8A=A0exif=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If1ff8cd73acf84593f0a4b6ae87f55fe62640379 Signed-off-by: caoyawen05 --- .../include/image/image_common.h | 1312 +++++++++++++++++ 1 file changed, 1312 insertions(+) diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h index 5e86fd303..59b0c1e06 100644 --- a/multimedia/image_framework/include/image/image_common.h +++ b/multimedia/image_framework/include/image/image_common.h @@ -292,9 +292,1321 @@ static const char* MIME_TYPE_GIF = "image/gif"; */ static const char* MIME_TYPE_ICON = "image/x-icon"; +/** + * @brief Defines a pointer to bits per sample, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_BITS_PER_SAMPLE = "BitsPerSample"; + +/** + * @brief Defines a pointer to the orientation, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_ORIENTATION = "Orientation"; + +/** + * @brief Defines a pointer to the image length, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_IMAGE_LENGTH = "ImageLength"; + +/** + * @brief Defines a pointer to the image width, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_IMAGE_WIDTH = "ImageWidth"; + +/** + * @brief Defines a pointer to the GPS latitude, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_LATITUDE = "GPSLatitude"; + +/** + * @brief Defines a pointer to the GPS longitude, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_LONGITUDE = "GPSLongitude"; + +/** + * @brief Defines a pointer to the GPS latitude reference information, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_LATITUDE_REF = "GPSLatitudeRef"; + +/** + * @brief Defines a pointer to the GPS longitude reference information, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_LONGITUDE_REF = "GPSLongitudeRef"; + +/** + * @brief Defines a pointer to the created date and time, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_DATE_TIME_ORIGINAL = "DateTimeOriginal"; + +/** + * @brief Defines a pointer to the exposure time, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_EXPOSURE_TIME = "ExposureTime"; + +/** + * @brief Defines a pointer to the scene type, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_SCENE_TYPE = "SceneType"; + +/** + * @brief Defines a pointer to the ISO speed ratings, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_RATINGS = "ISOSpeedRatings"; + +/** + * @brief Defines a pointer to the f-number of the image, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_F_NUMBER = "FNumber"; + +/** + * @brief Defines a pointer to the compressed bits per pixel, one of the image properties. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 10 + * @version 4.0 + */ +const char* OHOS_IMAGE_PROPERTY_COMPRESSED_BITS_PER_PIXEL = "CompressedBitsPerPixel"; + +/** + * @brief Compression scheme for image data. If primary image is JPEG compressed, this is omitted. + * If thumbnails use JPEG compression, this tag value is set to 6. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_COMPRESSION = "Compression"; + +/** + * @brief The pixel composition. In JPEG compressed data a JPEG marker is used instead. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_PHOTOMETRIC_INTERPRETATION = "PhotometricInterpretation"; + +/** + * @brief Byte offset of each strip. Recommended to select so strip bytes do not exceed 64 Kbytes. + * With JPEG compressed data this is not needed and is omitted. See also and . + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_STRIP_OFFSETS = "StripOffsets"; + +/** + * @brief Number of components per pixel. This standard applies to RGB and YCbCr images, so the value is 3. + * In JPEG compressed data a JPEG marker is used instead. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SAMPLES_PER_PIXEL = "SamplesPerPixel"; + +/** + * @brief Number of rows per strip. This is the number of rows in one strip when an image is divided into strips. + * With JPEG compressed data this is not needed and is omitted. See also and . + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_ROWS_PER_STRIP = "RowsPerStrip"; + +/** + * @brief Total bytes in each strip. Not needed and omitted for JPEG compressed data. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_STRIP_BYTE_COUNTS = "StripByteCounts"; + +/** + * @brief Pixels per in direction. If unknown, 72 [dpi] is used. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_X_RESOLUTION = "XResolution"; + +/** + * @brief Pixels per in direction. Same value as is used. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_Y_RESOLUTION = "YResolution"; + +/** + * @brief Indicates pixel components format. In JPEG files a JPEG marker is used instead. If absent, 1 (chunky) + * is assumed. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_PLANAR_CONFIGURATION = "PlanarConfiguration"; + +/** + * @brief Unit for and . Same unit for both. If unknown, 2 (inches) is used. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_RESOLUTION_UNIT = "ResolutionUnit"; + +/** + * @brief Image transfer function, described in tabular style. Not necessary if color space is specified in . + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_TRANSFER_FUNCTION = "TransferFunction"; + +/** + * @brief Records software or firmware name and version used to generate the image. If blank, treated as unknown. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SOFTWARE = "Software"; + +/** + * @brief Records name of camera owner, photographer or image creator. If blank, treated as unknown. + * Ex.) "Camera owner, John Smith; Photographer, Michael Brown; Image creator, Ken James" + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_ARTIST = "Artist"; + +/** + * @brief Chromaticity of the image's white point. Not necessary if color space is specified in . + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_WHITE_POINT = "WhitePoint"; + +/** + * @brief Chromaticity of the image's three primary colors. Not necessary if color space is specified in . + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_PRIMARY_CHROMATICITIES = "PrimaryChromaticities"; + +/** + * @brief Matrix coefficients for RGB to YCbCr transformation. No TIFF default; value from Appendix E is used. + * Color space is declared in a color space information tag. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_YCBCR_COEFFICIENTS = "YCbCrCoefficients"; + +/** + * @brief Sampling ratio of chrominance to luminance. In JPEG data a JPEG marker is used instead. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_YCBCR_SUB_SAMPLING = "YCbCrSubSampling"; + +/** + * @brief Position of chrominance to luminance. Only for JPEG or uncompressed YCbCr data. TIFF default is 1 (centered). + * For Y:Cb:Cr = 4:2:2, 2 (co-sited) is recommended. If absent, TIFF default is assumed. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_YCBCR_POSITIONING = "YCbCrPositioning"; + +/** + * @brief Reference black and white point values. No TIFF defaults; values here are defaults. + * Color space is declared in a color space information tag. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_REFERENCE_BLACK_WHITE = "ReferenceBlackWhite"; + +/** + * @brief Copyright information for photographer and editor. If blank, treated as unknown. + * Format: "Copyright, John Smith, 19xx. All rights reserved.". + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_COPYRIGHT = "Copyright"; + +/** + * @brief Offset to start byte of JPEG thumbnail data. Not used for primary image JPEG data. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT = "JPEGInterchangeFormat"; + +/** + * @brief Number of bytes of JPEG thumbnail data. Not used for primary image JPEG data. + * JPEG thumbnails are continuous bitstream from SOI to EOI. Must be recorded in no more than 64 Kbytes. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT_LENGTH = "JPEGInterchangeFormatLength"; + +/** + * @brief Class of the program used by the camera to set exposure. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_EXPOSURE_PROGRAM = "ExposureProgram"; + +/** + * @brief Spectral sensitivity of each channel of the camera used. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SPECTRAL_SENSITIVITY = "SpectralSensitivity"; + +/** + * @brief Opto-Electric Conversion Function (OECF) specified in ISO 14524. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_OECF = "OECF"; + +/** + * @brief Supported version of this standard. Nonexistence means nonconformance to the standard. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_EXIF_VERSION = "ExifVersion"; + +/** + * @brief Date and time when the image was stored as digital data. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_DATE_TIME_DIGITIZED = "DateTimeDigitized"; + +/** + * @brief Info specific to compressed data. For uncompressed data, see tag. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_COMPONENTS_CONFIGURATION = "ComponentsConfiguration"; + +/** + * @brief Shutter speed. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SHUTTER_SPEED_VALUE = "ShutterSpeedValue"; + +/** + * @brief The value of brightness. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_BRIGHTNESS_VALUE = "BrightnessValue"; + +/** + * @brief The smallest F number of the lens. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_MAX_APERTURE_VALUE = "MaxApertureValue"; + +/** + * @brief The distance to the subject, given in meters. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE = "SubjectDistance"; + +/** + * @brief This tag indicates the location and area of the main subject in the overall scene. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUBJECT_AREA = "SubjectArea"; + +/** + * @brief A tag for manufacturers of Exif writers to record any desired information. The contents are up to + * the manufacturer. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_MAKER_NOTE = "MakerNote"; + +/** + * @brief A tag used to record fractions of seconds for the tag. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME = "SubSecTime"; + +/** + * @brief A tag used to record fractions of seconds for the tag. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME_ORIGINAL = "SubSecTimeOriginal"; + +/** + * @brief A tag used to record fractions of seconds for the tag. + * It is used in {@link OH_ImageSource_GetImageProperty} and { + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME_DIGITIZED = "SubSecTimeDigitized"; + +/** + * @brief The FlashPix format version supported by a FPXR file. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FLASHPIX_VERSION = "FlashpixVersion"; + +/** + * @brief The color space information tag is always recorded as the color space specifier. + * Normally sRGB is used based on the PC monitor conditions and environment. If a color space + * other than sRGB is used, Uncalibrated is set. Image data recorded as Uncalibrated can be + * treated as sRGB when it is converted to FlashPix. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_COLOR_SPACE = "ColorSpace"; + +/** + * @brief This tag is used to record the name of an audio file related to the image data. + * The only relational information recorded here is the Exif audio file name and extension + * (an ASCII string consisting of 8 characters + '.' + 3 characters). The path is not recorded. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_RELATED_SOUND_FILE = "RelatedSoundFile"; + +/** + * @brief Amount of flash energy (BCPS). + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FLASH_ENERGY = "FlashEnergy"; + +/** + * @brief SFR of the camera. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SPATIAL_FREQUENCY_RESPONSE = "SpatialFrequencyResponse"; + +/** + * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageWidth direction for main image. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_X_RESOLUTION = "FocalPlaneXResolution"; + +/** + * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageLength direction for main image. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_Y_RESOLUTION = "FocalPlaneYResolution"; + +/** + * @brief Unit of measurement for FocalPlaneXResolution(37390) and FocalPlaneYResolution(37391). + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_RESOLUTION_UNIT = "FocalPlaneResolutionUnit"; + +/** + * @brief Indicates the location and area of the main subject in the overall scene. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUBJECT_LOCATION = "SubjectLocation"; + +/** + * @brief Encodes the camera exposure index setting when image was captured. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_EXPOSURE_INDEX = "ExposureIndex"; + +/** + * @brief Type of image sensor. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SENSING_METHOD = "SensingMethod"; + +/** + * @brief Indicates the image source. If a DSC recorded the image, this tag value always be set to 3. + * This indicates that the image was recorded on a DSC. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FILE_SOURCE = "FileSource"; + +/** + * @brief Indicates the color filter array (CFA) geometric pattern of the image sensor. + * This is applicable when a one-chip color area sensor is used. It does not apply to all sensing methods. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_CFA_PATTERN = "CFAPattern"; + +/** + * @brief Indicates the use of special processing on image data, such as rendering geared to output. + * When special processing is performed, the reader is expected to disable or minimize any further processing. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_CUSTOM_RENDERED = "CustomRendered"; + +/** + * @brief Indicates the exposure mode set when the image was shot. In auto-bracketing mode, + * the camera shoots a series of frames of the same scene at different exposure settings. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_EXPOSURE_MODE = "ExposureMode"; + +/** + * @brief Indicates the digital zoom ratio when the image was shot. If the numerator of the recorded + * value is 0, this indicates that digital zoom was not used. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_DIGITAL_ZOOM_RATIO = "DigitalZoomRatio"; + +/** + * @brief Indicates the type of scene that was shot. It can also be used to record the mode in which + * the image was shot. Note that this differs from the tag. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SCENE_CAPTURE_TYPE = "SceneCaptureType"; + +/** + * @brief This tag indicates the degree of overall image gain adjustment. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GAIN_CONTROL = "GainControl"; + +/** + * @brief This tag indicates the direction of contrast processing applied by the camera when the image was shot. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_CONTRAST = "Contrast"; + +/** + * @brief This tag indicates the direction of saturation processing applied by the camera when the image was shot. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SATURATION = "Saturation"; + +/** + * @brief This tag indicates the direction of sharpness processing applied by the camera when the image was shot. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SHARPNESS = "Sharpness"; + +/** + * @brief Indicates picture-taking conditions of a camera model. Used only to indicate conditions in the reader. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_DEVICE_SETTING_DESCRIPTION = "DeviceSettingDescription"; + +/** + * @brief Indicates the distance to the subject. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE_RANGE = "SubjectDistanceRange"; + +/** + * @brief Indicates an identifier assigned uniquely to each image. + * Recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_IMAGE_UNIQUE_ID = "ImageUniqueID"; + +/** + * @brief Indicates the version of . Given as 2.0.0.0. + * This tag is mandatory when tag is present. + * (Note: The tag is given in bytes, unlike the tag. + * When the version is 2.0.0.0, the tag value is 02000000.H). + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_VERSION_ID = "GPSVersionID"; + +/** + * @brief Indicates the reference altitude. If the reference is sea level and the altitude is above sea level, + * 0 is given. + * If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value + * in the GSPAltitude tag. + * The reference unit is meters. Note that this tag is BYTE type, unlike other reference tags. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_ALTITUDE_REF = "GPSAltitudeRef"; + +/** + * @brief Indicates the altitude based on the reference in GPSAltitudeRef. + * Altitude is expressed as one RATIONAL value. The reference unit is meters. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_ALTITUDE = "GPSAltitude"; + +/** + * @brief Indicates the GPS satellites used for measurements. + * This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and + * other information in ASCII notation. + * The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag is set to + * NULL. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_SATELLITES = "GPSSatellites"; + +/** + * @brief Indicates the status of the GPS receiver when the image is recorded. + * "A" means measurement is in progress, and "V" means the measurement is Interoperability. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_STATUS = "GPSStatus"; + +/** + * @brief Indicates the GPS measurement mode. + * "2" means two-dimensional measurement and "3" means three-dimensional measurement is in progress. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_MEASURE_MODE = "GPSMeasureMode"; + +/** + * @brief Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional + * measurement, and PDOP during three-dimensional measurement. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DOP = "GPSDOP"; + +/** + * @brief Indicates the unit used to express the GPS receiver speed of movement. "K" "M" and "N" + * represents kilometers per hour, miles per hour, and knots. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_SPEED_REF = "GPSSpeedRef"; + +/** + * @brief Indicates the speed of GPS receiver movement. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_SPEED = "GPSSpeed"; + +/** + * @brief Indicates the reference for giving the direction of GPS receiver movement. "T" denotes true + * direction and "M" is magnetic direction. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_TRACK_REF = "GPSTrackRef"; + +/** + * @brief Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_TRACK = "GPSTrack"; + +/** + * @brief Indicates the reference for giving the direction of the image when it is captured. "T" denotes + * true direction and "M" is magnetic direction. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION_REF = "GPSImgDirectionRef"; + +/** + * @brief Indicates the direction of the image when it was captured. The range of values is from 0.00 to 359.99. + * It is used in {@link OH_ImageSource_GetImageProperty} and + * {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION = "GPSImgDirection"; + +/** + * @brief Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to + * Japan, the value of this tag is "TOKYO" or "WGS-84". + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_MAP_DATUM = "GPSMapDatum"; + +/** + * @brief Indicates whether the latitude of the destination point is north or south latitude. The ASCII + * value "N" indicates north latitude, and "S" is south latitude. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE_REF = "GPSDestLatitudeRef"; + +/** + * @brief Indicates the latitude of the destination point. The latitude is expressed as three RATIONAL + * values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, + * minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, + * for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE = "GPSDestLatitude"; + +/** + * @brief Indicates whether the longitude of the destination point is east or west longitude. ASCII "E" + * indicates east longitude, and "W" is west longitude. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE_REF = "GPSDestLongitudeRef"; + +/** + * @brief A character string recording the name of the method used for location finding. The string encoding + * is defined using the same scheme as UserComment. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_PROCESSING_METHOD = "GPSProcessingMethod"; + +/** + * @brief A character string recording the name of the GPS area.The string encoding is defined using the + * same scheme as UserComment. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_AREA_INFORMATION = "GPSAreaInformation"; + +/** + * @brief Indicates whether differential correction is applied to the GPS receiver. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DIFFERENTIAL = "GPSDifferential"; + +/** + * @brief This tag records the serial number of the body of the camera that was used in photography as an ASCII string. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_BODY_SERIAL_NUMBER = "BodySerialNumber"; + +/** + * @brief This tag records the owner of a camera used in photography as an ASCII string. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_CAMERA_OWNER_NAME = "CameraOwnerName"; + +/** + * @brief Indicates whether the recorded image is a composite image or not. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_COMPOSITE_IMAGE = "CompositeImage"; + +/** + * @brief This tag encodes the DNG four-tier version number. For files compliant with version 1.1.0.0 of + * the DNG specification, this tag should contain the bytes: 1, 1, 0, 0. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_DNG_VERSION = "DNGVersion"; + +/** + * @brief Indicates the longitude of the destination point. The longitude is expressed as three RATIONAL + * values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, + * minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, + * for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE = "GPSDestLongitude"; + +/** + * @brief Indicates the reference used for giving the bearing to the destination point. "T" denotes true + * direction and "M" is magnetic direction. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING_REF = "GPSDestBearingRef"; + +/** + * @brief Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING = "GPSDestBearing"; + +/** + * @brief Indicates the unit used to express the distance to the destination point. "K", "M" and "N" + * represent kilometers, miles and knots. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE_REF = "GPSDestDistanceRef"; + +/** + * @brief Indicates the distance to the destination point. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE = "GPSDestDistance"; + +/** + * @brief Raw images often store extra pixels around the edges of the final image. These extra pixels + * help prevent interpolation artifacts near the edges of the final image. DefaultCropSize specifies + * the size of the final image area, in raw image coordinates (i.e., before the DefaultScale has been + * applied). + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; + +/** + * @brief Indicates the value of coefficient gamma. The formula of transfer function used for image + * reproduction is expressed as follows: (reproduced value) = (input value)^gamma. Both reproduced value + * and input value indicate normalized value, whose minimum value is 0 and maximum value is 1. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; + +/** + * @brief This tag indicates the ISO speed latitude yyy value of a camera or input device that is + * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and + * ISOSpeedLatitudezzz. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; + +/** + * @brief This tag indicates the ISO speed latitude zzz value of a camera or input device that is + * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and + * ISOSpeedLatitudeyyy. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEZZZ = "ISOSpeedLatitudezzz"; + +/** + * @brief This tag records the lens manufactor as an ASCII string. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_LENS_MAKE = "LensMake"; + +/** + * @brief This tag records the lens's model name and model number as an ASCII string. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_LENS_MODEL = "LensModel"; + +/** + * @brief This tag records the serial number of the interchangeable lens that was used in photography as + * an ASCII string. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_LENS_SERIAL_NUMBER = "LensSerialNumber"; + +/** + * @brief This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, + * and minimum F number in the maximum focal length, which are specification information for the lens that was + * used in photography. When the minimum F number is unknown, the notation is 0/0 + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_LENS_SPECIFICATION = "LensSpecification"; + +/** + * @brief A general indication of the kind of data contained in this subfile. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_NEW_SUBFILE_TYPE = "NewSubfileType"; + +/** + * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTime tag. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME = "OffsetTime"; + +/** + * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeDigitized tag. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME_DIGITIZED = "OffsetTimeDigitized"; + +/** + * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeOriginal tag. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME_ORIGINAL = "OffsetTimeOriginal"; + +/** + * @brief For a composite image, records the parameters relating exposure time of the exposures for generating + * the said composite image, such as respective exposure times of captured source images (tentatively recorded images). + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = "SourceExposureTimesOfCompositeImage"; + +/** + * @brief Indicates the number of the source images (tentatively recorded images) captured for a composite Image. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "SourceImageNumberOfCompositeImage"; + +/** + * @brief A general indication of the kind of data contained in this subfile. This field is deprecated. + * The NewSubfileType field should be used instead. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; + +/** + * @brief This tag indicates horizontal positioning errors in meters. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_GPS_H_POSITIONING_ERROR = "GPSHPositioningError"; + +/** + * @brief Burst Number + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_BURST_NUMBER = "HwMnoteBurstNumber"; + +/** + * @brief Face Conf + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FACE_CONF = "HwMnoteFaceConf"; + +/** + * @brief Face Leye Center + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FACE_LEYE_CENTER = "HwMnoteFaceLeyeCenter"; + +/** + * @brief Face Mouth Center + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @Syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char* OHOS_IMAGE_PROPERTY_FACE_MOUTH_CENTER = "HwMnoteFaceMouthCenter"; + #ifdef __cplusplus }; #endif /** @} */ + + #endif // INTERFACES_KITS_NATIVE_INCLUDE_IMAGE_IMAGE_COMMON_H_ \ No newline at end of file -- Gitee From 389778b85853731b952f755cfd0d85229db3f643 Mon Sep 17 00:00:00 2001 From: caoyawen05 Date: Thu, 21 Mar 2024 16:49:46 +0800 Subject: [PATCH 3/8] =?UTF-8?q?=E4=BF=AE=E6=AD=A3subsec=E5=A4=A7=E5=B0=8F?= =?UTF-8?q?=E5=86=99=E9=97=AE=E9=A2=98=20=E4=BF=AE=E6=AD=A3=E9=97=A8?= =?UTF-8?q?=E7=A6=81=E4=B8=ADbuild.gn=E5=92=8Cimage=5Fcommon.h=E7=9A=84?= =?UTF-8?q?=E6=A0=BC=E5=BC=8F=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Id3619905bc4931db5ad8be31ac91894ec31c366d Signed-off-by: caoyawen05 --- .../include/image/image_common.h | 597 +++++++++--------- 1 file changed, 298 insertions(+), 299 deletions(-) diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h index 59b0c1e06..3e7c8be11 100644 --- a/multimedia/image_framework/include/image/image_common.h +++ b/multimedia/image_framework/include/image/image_common.h @@ -4,7 +4,7 @@ * 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 + * 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, @@ -50,9 +50,9 @@ extern "C" { * @version 2.0 */ struct Image_Size { - /** Image width, in pixels. */ + /* * Image width, in pixels. */ int32_t width; - /** Image height, in pixels. */ + /* * Image height, in pixels. */ int32_t height; }; @@ -71,13 +71,13 @@ typedef struct Image_Size Image_Size; * @version 2.0 */ struct Image_Region { - /** X coordinate of the start point, in pixels. */ + /* * X coordinate of the start point, in pixels. */ uint32_t x; - /** Y coordinate of the start point, in pixels. */ + /* * Y coordinate of the start point, in pixels. */ uint32_t y; - /** Width of the region, in pixels. */ + /* * Width of the region, in pixels. */ uint32_t width; - /** Height of the region, in pixels. */ + /* * Height of the region, in pixels. */ uint32_t height; }; @@ -96,9 +96,9 @@ typedef struct Image_Region Image_Region; * @version 2.0 */ struct Image_String { - /** data for string type */ + /* * data for string type */ char *format = nullptr; - /** data lenth for string type */ + /* * data lenth for string type */ size_t size = 0; }; @@ -157,83 +157,83 @@ typedef enum { IMAGE_RESULT_DECODE_EXIF_UNSUPPORT = IMAGE_RESULT_BASE + 27, // image decode exif unsupport IMAGE_RESULT_PROPERTY_NOT_EXIST = IMAGE_RESULT_BASE + 28, // image property not exist - IMAGE_RESULT_MEDIA_DATA_UNSUPPORT = IMAGE_RESULT_BASE + 30, // media type unsupported - IMAGE_RESULT_MEDIA_TOO_LARGE = IMAGE_RESULT_BASE + 31, // media data too large - IMAGE_RESULT_MEDIA_MALLOC_FAILED = IMAGE_RESULT_BASE + 32, // media malloc memory failed - IMAGE_RESULT_MEDIA_END_OF_STREAM = IMAGE_RESULT_BASE + 33, // media end of stream error - IMAGE_RESULT_MEDIA_IO_ABNORMAL = IMAGE_RESULT_BASE + 34, // media io error - IMAGE_RESULT_MEDIA_MALFORMED = IMAGE_RESULT_BASE + 35, // media malformed error - IMAGE_RESULT_MEDIA_BUFFER_TOO_SMALL = IMAGE_RESULT_BASE + 36, // media buffer too small error - IMAGE_RESULT_MEDIA_OUT_OF_RANGE = IMAGE_RESULT_BASE + 37, // media out of range error - IMAGE_RESULT_MEDIA_STATUS_ABNORMAL = IMAGE_RESULT_BASE + 38, // media status abnormal error - IMAGE_RESULT_MEDIA_VALUE_INVALID = IMAGE_RESULT_BASE + 39, // media value invalid - IMAGE_RESULT_MEDIA_NULL_POINTER = IMAGE_RESULT_BASE + 40, // media error operation - IMAGE_RESULT_MEDIA_INVALID_OPERATION = IMAGE_RESULT_BASE + 41, // media invalid operation - IMAGE_RESULT_MEDIA_ERR_PLAYER_NOT_INIT = IMAGE_RESULT_BASE + 42, // media init error - IMAGE_RESULT_MEDIA_EARLY_PREPARE = IMAGE_RESULT_BASE + 43, // media early prepare - IMAGE_RESULT_MEDIA_SEEK_ERR = IMAGE_RESULT_BASE + 44, // media rewind error - IMAGE_RESULT_MEDIA_PERMISSION_DENIED = IMAGE_RESULT_BASE + 45, // media permission denied - IMAGE_RESULT_MEDIA_DEAD_OBJECT = IMAGE_RESULT_BASE + 46, // media dead object - IMAGE_RESULT_MEDIA_TIMED_OUT = IMAGE_RESULT_BASE + 47, // media time out - IMAGE_RESULT_MEDIA_TRACK_NOT_ALL_SUPPORTED = IMAGE_RESULT_BASE + 48, // media track subset support - IMAGE_RESULT_MEDIA_ADAPTER_INIT_FAILED = IMAGE_RESULT_BASE + 49, // media recorder adapter init failed - IMAGE_RESULT_MEDIA_WRITE_PARCEL_FAIL = IMAGE_RESULT_BASE + 50, // write parcel failed - IMAGE_RESULT_MEDIA_READ_PARCEL_FAIL = IMAGE_RESULT_BASE + 51, // read parcel failed - IMAGE_RESULT_MEDIA_NO_AVAIL_BUFFER = IMAGE_RESULT_BASE + 52, // read parcel failed - IMAGE_RESULT_MEDIA_INVALID_PARAM = IMAGE_RESULT_BASE + 53, // media function found invalid param - IMAGE_RESULT_MEDIA_CODEC_ADAPTER_NOT_EXIST = IMAGE_RESULT_BASE + 54, // media zcodec adapter not init - IMAGE_RESULT_MEDIA_CREATE_CODEC_ADAPTER_FAILED = IMAGE_RESULT_BASE + 55, // media create zcodec adapter failed - IMAGE_RESULT_MEDIA_CODEC_ADAPTER_NOT_INIT = IMAGE_RESULT_BASE + 56, // media adapter inner not init - IMAGE_RESULT_MEDIA_ZCODEC_CREATE_FAILED = IMAGE_RESULT_BASE + 57, // media adapter inner not init - IMAGE_RESULT_MEDIA_ZCODEC_NOT_EXIST = IMAGE_RESULT_BASE + 58, // media zcodec not exist - IMAGE_RESULT_MEDIA_JNI_CLASS_NOT_EXIST = IMAGE_RESULT_BASE + 59, // media jni class not found - IMAGE_RESULT_MEDIA_JNI_METHOD_NOT_EXIST = IMAGE_RESULT_BASE + 60, // media jni method not found - IMAGE_RESULT_MEDIA_JNI_NEW_OBJ_FAILED = IMAGE_RESULT_BASE + 61, // media jni obj new failed - IMAGE_RESULT_MEDIA_JNI_COMMON_ERROR = IMAGE_RESULT_BASE + 62, // media jni normal error - IMAGE_RESULT_MEDIA_DISTRIBUTE_NOT_SUPPORT = IMAGE_RESULT_BASE + 63, // media distribute not support - IMAGE_RESULT_MEDIA_SOURCE_NOT_SET = IMAGE_RESULT_BASE + 64, // media source not set - IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_INIT = IMAGE_RESULT_BASE + 65, // media rtsp adapter not init - IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_EXIST = IMAGE_RESULT_BASE + 66, // media rtsp adapter not exist - IMAGE_RESULT_MEDIA_RTSP_SURFACE_UNSUPPORT = IMAGE_RESULT_BASE + 67, // media rtsp surface not support - IMAGE_RESULT_MEDIA_RTSP_CAPTURE_NOT_INIT = IMAGE_RESULT_BASE + 68, // media rtsp capture init error - IMAGE_RESULT_MEDIA_RTSP_SOURCE_URL_INVALID = IMAGE_RESULT_BASE + 69, // media rtsp source url invalid - IMAGE_RESULT_MEDIA_RTSP_VIDEO_TRACK_NOT_FOUND = IMAGE_RESULT_BASE + 70, // media rtsp can't find video track - IMAGE_RESULT_MEDIA_RTSP_CAMERA_NUM_REACH_MAX = IMAGE_RESULT_BASE + 71, // rtsp camera num reach to max num - IMAGE_RESULT_MEDIA_SET_VOLUME = IMAGE_RESULT_BASE + 72, // media set volume error - IMAGE_RESULT_MEDIA_NUMBER_OVERFLOW = IMAGE_RESULT_BASE + 73, // media number operation overflow - IMAGE_RESULT_MEDIA_DIS_PLAYER_UNSUPPORTED = IMAGE_RESULT_BASE + 74, // media distribute player unsupporteded - IMAGE_RESULT_MEDIA_DENCODE_ICC_FAILED = IMAGE_RESULT_BASE + 75, // image dencode ICC fail - IMAGE_RESULT_MEDIA_ENCODE_ICC_FAILED = IMAGE_RESULT_BASE + 76, // image encode ICC fail - - IMAGE_RESULT_MEDIA_READ_PIXELMAP_FAILED = IMAGE_RESULT_BASE + 150, // read pixelmap failed - IMAGE_RESULT_MEDIA_WRITE_PIXELMAP_FAILED = IMAGE_RESULT_BASE + 151, // write pixelmap failed - IMAGE_RESULT_MEDIA_PIXELMAP_NOT_ALLOW_MODIFY = IMAGE_RESULT_BASE + 152, // pixelmap not allow modify - IMAGE_RESULT_MEDIA_CONFIG_FAILED = IMAGE_RESULT_BASE + 153, // config error - IMAGE_RESULT_JNI_ENV_ABNORMAL = IMAGE_RESULT_BASE + 154, // Abnormal JNI environment - IMAGE_RESULT_SURFACE_GRALLOC_BUFFER_FAILED = IMAGE_RESULT_BASE + 155, // surface gralloc buffer failed - IMAGE_RESULT_CREATE_SURFACE_FAILED = IMAGE_RESULT_BASE + 156, // create surface failed - IMAGE_RESULT_SURFACE_GET_PARAMETER_FAILED = IMAGE_RESULT_BASE + 157, // Failed to obtain parameters for surface - IMAGE_RESULT_GET_SURFACE_FAILED = IMAGE_RESULT_BASE + 158, // get sufrace failed - IMAGE_RESULT_SURFACE_ACQUIRE_BUFFER_FAILED = IMAGE_RESULT_BASE + 159, // Acquire Buffer failed - IMAGE_RESULT_SURFACE_REQUEST_BUFFER_FAILED = IMAGE_RESULT_BASE + 160, // request Buffer failed - IMAGE_RESULT_REGISTER_LISTENER_FAILED = IMAGE_RESULT_BASE + 161, // Failed to register listener - IMAGE_RESULT_REGISTER_BUFFER_FAILED = IMAGE_RESULT_BASE + 162, // Failed to register buffer - IMAGE_RESULT_FREAD_FAILED = IMAGE_RESULT_BASE + 163, // read file failed - IMAGE_RESULT_PEEK_FAILED = IMAGE_RESULT_BASE + 164, // peek file failed - IMAGE_RESULT_SEEK_FAILED = IMAGE_RESULT_BASE + 165, // seek file failed - IMAGE_RESULT_STREAM_SIZE_ERROR = IMAGE_RESULT_BASE + 166, // stream bad - IMAGE_RESULT_FILE_FD_ERROR = IMAGE_RESULT_BASE + 167, // file fd is bad - IMAGE_RESULT_FILE_DAMAGED = IMAGE_RESULT_BASE + 168, // file damaged - IMAGE_RESULT_CREATE_DECODER_FAILED = IMAGE_RESULT_BASE + 169, // create decoder failed - IMAGE_RESULT_CREATE_ENCODER_FAILED = IMAGE_RESULT_BASE + 170, // create encoder failed - IMAGE_RESULT_CHECK_FORMAT_ERROR = IMAGE_RESULT_BASE + 171, // check format failed - IMAGE_RESULT_THIRDPART_SKIA_ERROR = IMAGE_RESULT_BASE + 172, // skia error - IMAGE_RESULT_HW_DECODE_FAILED = IMAGE_RESULT_BASE + 173, // hard decode failed - IMAGE_RESULT_ALLOCATER_TYPE_ERROR = IMAGE_RESULT_BASE + 174, // hard decode failed - IMAGE_RESULT_ALPHA_TYPE_ERROR = IMAGE_RESULT_BASE + 175, // hard decode failed - IMAGE_RESULT_INDEX_INVALID = IMAGE_RESULT_BASE + 176, // invalid index - - IMAGE_RESULT_MEDIA_UNKNOWN = IMAGE_RESULT_BASE + 200, // media unknown error + IMAGE_RESULT_MEDIA_DATA_UNSUPPORT = IMAGE_RESULT_BASE + 30, // media type unsupported + IMAGE_RESULT_MEDIA_TOO_LARGE = IMAGE_RESULT_BASE + 31, // media data too large + IMAGE_RESULT_MEDIA_MALLOC_FAILED = IMAGE_RESULT_BASE + 32, // media malloc memory failed + IMAGE_RESULT_MEDIA_END_OF_STREAM = IMAGE_RESULT_BASE + 33, // media end of stream error + IMAGE_RESULT_MEDIA_IO_ABNORMAL = IMAGE_RESULT_BASE + 34, // media io error + IMAGE_RESULT_MEDIA_MALFORMED = IMAGE_RESULT_BASE + 35, // media malformed error + IMAGE_RESULT_MEDIA_BUFFER_TOO_SMALL = IMAGE_RESULT_BASE + 36, // media buffer too small error + IMAGE_RESULT_MEDIA_OUT_OF_RANGE = IMAGE_RESULT_BASE + 37, // media out of range error + IMAGE_RESULT_MEDIA_STATUS_ABNORMAL = IMAGE_RESULT_BASE + 38, // media status abnormal error + IMAGE_RESULT_MEDIA_VALUE_INVALID = IMAGE_RESULT_BASE + 39, // media value invalid + IMAGE_RESULT_MEDIA_NULL_POINTER = IMAGE_RESULT_BASE + 40, // media error operation + IMAGE_RESULT_MEDIA_INVALID_OPERATION = IMAGE_RESULT_BASE + 41, // media invalid operation + IMAGE_RESULT_MEDIA_ERR_PLAYER_NOT_INIT = IMAGE_RESULT_BASE + 42, // media init error + IMAGE_RESULT_MEDIA_EARLY_PREPARE = IMAGE_RESULT_BASE + 43, // media early prepare + IMAGE_RESULT_MEDIA_SEEK_ERR = IMAGE_RESULT_BASE + 44, // media rewind error + IMAGE_RESULT_MEDIA_PERMISSION_DENIED = IMAGE_RESULT_BASE + 45, // media permission denied + IMAGE_RESULT_MEDIA_DEAD_OBJECT = IMAGE_RESULT_BASE + 46, // media dead object + IMAGE_RESULT_MEDIA_TIMED_OUT = IMAGE_RESULT_BASE + 47, // media time out + IMAGE_RESULT_MEDIA_TRACK_NOT_ALL_SUPPORTED = IMAGE_RESULT_BASE + 48, // media track subset support + IMAGE_RESULT_MEDIA_ADAPTER_INIT_FAILED = IMAGE_RESULT_BASE + 49, // media recorder adapter init failed + IMAGE_RESULT_MEDIA_WRITE_PARCEL_FAIL = IMAGE_RESULT_BASE + 50, // write parcel failed + IMAGE_RESULT_MEDIA_READ_PARCEL_FAIL = IMAGE_RESULT_BASE + 51, // read parcel failed + IMAGE_RESULT_MEDIA_NO_AVAIL_BUFFER = IMAGE_RESULT_BASE + 52, // read parcel failed + IMAGE_RESULT_MEDIA_INVALID_PARAM = IMAGE_RESULT_BASE + 53, // media function found invalid param + IMAGE_RESULT_MEDIA_CODEC_ADAPTER_NOT_EXIST = IMAGE_RESULT_BASE + 54, // media zcodec adapter not init + IMAGE_RESULT_MEDIA_CREATE_CODEC_ADAPTER_FAILED = IMAGE_RESULT_BASE + 55, // media create zcodec adapter failed + IMAGE_RESULT_MEDIA_CODEC_ADAPTER_NOT_INIT = IMAGE_RESULT_BASE + 56, // media adapter inner not init + IMAGE_RESULT_MEDIA_ZCODEC_CREATE_FAILED = IMAGE_RESULT_BASE + 57, // media adapter inner not init + IMAGE_RESULT_MEDIA_ZCODEC_NOT_EXIST = IMAGE_RESULT_BASE + 58, // media zcodec not exist + IMAGE_RESULT_MEDIA_JNI_CLASS_NOT_EXIST = IMAGE_RESULT_BASE + 59, // media jni class not found + IMAGE_RESULT_MEDIA_JNI_METHOD_NOT_EXIST = IMAGE_RESULT_BASE + 60, // media jni method not found + IMAGE_RESULT_MEDIA_JNI_NEW_OBJ_FAILED = IMAGE_RESULT_BASE + 61, // media jni obj new failed + IMAGE_RESULT_MEDIA_JNI_COMMON_ERROR = IMAGE_RESULT_BASE + 62, // media jni normal error + IMAGE_RESULT_MEDIA_DISTRIBUTE_NOT_SUPPORT = IMAGE_RESULT_BASE + 63, // media distribute not support + IMAGE_RESULT_MEDIA_SOURCE_NOT_SET = IMAGE_RESULT_BASE + 64, // media source not set + IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_INIT = IMAGE_RESULT_BASE + 65, // media rtsp adapter not init + IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_EXIST = IMAGE_RESULT_BASE + 66, // media rtsp adapter not exist + IMAGE_RESULT_MEDIA_RTSP_SURFACE_UNSUPPORT = IMAGE_RESULT_BASE + 67, // media rtsp surface not support + IMAGE_RESULT_MEDIA_RTSP_CAPTURE_NOT_INIT = IMAGE_RESULT_BASE + 68, // media rtsp capture init error + IMAGE_RESULT_MEDIA_RTSP_SOURCE_URL_INVALID = IMAGE_RESULT_BASE + 69, // media rtsp source url invalid + IMAGE_RESULT_MEDIA_RTSP_VIDEO_TRACK_NOT_FOUND = IMAGE_RESULT_BASE + 70, // media rtsp can't find video track + IMAGE_RESULT_MEDIA_RTSP_CAMERA_NUM_REACH_MAX = IMAGE_RESULT_BASE + 71, // rtsp camera num reach to max num + IMAGE_RESULT_MEDIA_SET_VOLUME = IMAGE_RESULT_BASE + 72, // media set volume error + IMAGE_RESULT_MEDIA_NUMBER_OVERFLOW = IMAGE_RESULT_BASE + 73, // media number operation overflow + IMAGE_RESULT_MEDIA_DIS_PLAYER_UNSUPPORTED = IMAGE_RESULT_BASE + 74, // media distribute player unsupporteded + IMAGE_RESULT_MEDIA_DENCODE_ICC_FAILED = IMAGE_RESULT_BASE + 75, // image dencode ICC fail + IMAGE_RESULT_MEDIA_ENCODE_ICC_FAILED = IMAGE_RESULT_BASE + 76, // image encode ICC fail + + IMAGE_RESULT_MEDIA_READ_PIXELMAP_FAILED = IMAGE_RESULT_BASE + 150, // read pixelmap failed + IMAGE_RESULT_MEDIA_WRITE_PIXELMAP_FAILED = IMAGE_RESULT_BASE + 151, // write pixelmap failed + IMAGE_RESULT_MEDIA_PIXELMAP_NOT_ALLOW_MODIFY = IMAGE_RESULT_BASE + 152, // pixelmap not allow modify + IMAGE_RESULT_MEDIA_CONFIG_FAILED = IMAGE_RESULT_BASE + 153, // config error + IMAGE_RESULT_JNI_ENV_ABNORMAL = IMAGE_RESULT_BASE + 154, // Abnormal JNI environment + IMAGE_RESULT_SURFACE_GRALLOC_BUFFER_FAILED = IMAGE_RESULT_BASE + 155, // surface gralloc buffer failed + IMAGE_RESULT_CREATE_SURFACE_FAILED = IMAGE_RESULT_BASE + 156, // create surface failed + IMAGE_RESULT_SURFACE_GET_PARAMETER_FAILED = IMAGE_RESULT_BASE + 157, // Failed to obtain parameters for surface + IMAGE_RESULT_GET_SURFACE_FAILED = IMAGE_RESULT_BASE + 158, // get sufrace failed + IMAGE_RESULT_SURFACE_ACQUIRE_BUFFER_FAILED = IMAGE_RESULT_BASE + 159, // Acquire Buffer failed + IMAGE_RESULT_SURFACE_REQUEST_BUFFER_FAILED = IMAGE_RESULT_BASE + 160, // request Buffer failed + IMAGE_RESULT_REGISTER_LISTENER_FAILED = IMAGE_RESULT_BASE + 161, // Failed to register listener + IMAGE_RESULT_REGISTER_BUFFER_FAILED = IMAGE_RESULT_BASE + 162, // Failed to register buffer + IMAGE_RESULT_FREAD_FAILED = IMAGE_RESULT_BASE + 163, // read file failed + IMAGE_RESULT_PEEK_FAILED = IMAGE_RESULT_BASE + 164, // peek file failed + IMAGE_RESULT_SEEK_FAILED = IMAGE_RESULT_BASE + 165, // seek file failed + IMAGE_RESULT_STREAM_SIZE_ERROR = IMAGE_RESULT_BASE + 166, // stream bad + IMAGE_RESULT_FILE_FD_ERROR = IMAGE_RESULT_BASE + 167, // file fd is bad + IMAGE_RESULT_FILE_DAMAGED = IMAGE_RESULT_BASE + 168, // file damaged + IMAGE_RESULT_CREATE_DECODER_FAILED = IMAGE_RESULT_BASE + 169, // create decoder failed + IMAGE_RESULT_CREATE_ENCODER_FAILED = IMAGE_RESULT_BASE + 170, // create encoder failed + IMAGE_RESULT_CHECK_FORMAT_ERROR = IMAGE_RESULT_BASE + 171, // check format failed + IMAGE_RESULT_THIRDPART_SKIA_ERROR = IMAGE_RESULT_BASE + 172, // skia error + IMAGE_RESULT_HW_DECODE_FAILED = IMAGE_RESULT_BASE + 173, // hard decode failed + IMAGE_RESULT_ALLOCATER_TYPE_ERROR = IMAGE_RESULT_BASE + 174, // hard decode failed + IMAGE_RESULT_ALPHA_TYPE_ERROR = IMAGE_RESULT_BASE + 175, // hard decode failed + IMAGE_RESULT_INDEX_INVALID = IMAGE_RESULT_BASE + 176, // invalid index + + IMAGE_RESULT_MEDIA_UNKNOWN = IMAGE_RESULT_BASE + 200, // media unknown error } Image_ErrorCode; /** @@ -242,7 +242,7 @@ typedef enum { * @since 10 * @version 2.0 */ -static const char* MIME_TYPE_BMP = "image/bmp"; +static const char *MIME_TYPE_BMP = "image/bmp"; /** * @brief Defines the jpeg mime type. @@ -250,7 +250,7 @@ static const char* MIME_TYPE_BMP = "image/bmp"; * @since 10 * @version 2.0 */ -static const char* MIME_TYPE_JPEG = "image/jpeg"; +static const char *MIME_TYPE_JPEG = "image/jpeg"; /** * @brief Defines the heic mime type. @@ -258,7 +258,7 @@ static const char* MIME_TYPE_JPEG = "image/jpeg"; * @since 10 * @version 2.0 */ -static const char* MIME_TYPE_HEIC = "image/heic"; +static const char *MIME_TYPE_HEIC = "image/heic"; /** * @brief Defines the png mime type. @@ -266,7 +266,7 @@ static const char* MIME_TYPE_HEIC = "image/heic"; * @since 10 * @version 2.0 */ -static const char* MIME_TYPE_PNG = "image/png"; +static const char *MIME_TYPE_PNG = "image/png"; /** * @brief Defines the webp mime type. @@ -274,7 +274,7 @@ static const char* MIME_TYPE_PNG = "image/png"; * @since 10 * @version 2.0 */ -static const char* MIME_TYPE_WEBP = "image/webp"; +static const char *MIME_TYPE_WEBP = "image/webp"; /** * @brief Defines the gif mime type. @@ -282,7 +282,7 @@ static const char* MIME_TYPE_WEBP = "image/webp"; * @since 10 * @version 2.0 */ -static const char* MIME_TYPE_GIF = "image/gif"; +static const char *MIME_TYPE_GIF = "image/gif"; /** * @brief Defines the x-icon mime type. @@ -290,7 +290,7 @@ static const char* MIME_TYPE_GIF = "image/gif"; * @since 10 * @version 2.0 */ -static const char* MIME_TYPE_ICON = "image/x-icon"; +static const char *MIME_TYPE_ICON = "image/x-icon"; /** * @brief Defines a pointer to bits per sample, one of the image properties. @@ -300,7 +300,7 @@ static const char* MIME_TYPE_ICON = "image/x-icon"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_BITS_PER_SAMPLE = "BitsPerSample"; +const char *OHOS_IMAGE_PROPERTY_BITS_PER_SAMPLE = "BitsPerSample"; /** * @brief Defines a pointer to the orientation, one of the image properties. @@ -310,7 +310,7 @@ const char* OHOS_IMAGE_PROPERTY_BITS_PER_SAMPLE = "BitsPerSample"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_ORIENTATION = "Orientation"; +const char *OHOS_IMAGE_PROPERTY_ORIENTATION = "Orientation"; /** * @brief Defines a pointer to the image length, one of the image properties. @@ -320,7 +320,7 @@ const char* OHOS_IMAGE_PROPERTY_ORIENTATION = "Orientation"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_IMAGE_LENGTH = "ImageLength"; +const char *OHOS_IMAGE_PROPERTY_IMAGE_LENGTH = "ImageLength"; /** * @brief Defines a pointer to the image width, one of the image properties. @@ -330,7 +330,7 @@ const char* OHOS_IMAGE_PROPERTY_IMAGE_LENGTH = "ImageLength"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_IMAGE_WIDTH = "ImageWidth"; +const char *OHOS_IMAGE_PROPERTY_IMAGE_WIDTH = "ImageWidth"; /** * @brief Defines a pointer to the GPS latitude, one of the image properties. @@ -340,7 +340,7 @@ const char* OHOS_IMAGE_PROPERTY_IMAGE_WIDTH = "ImageWidth"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_LATITUDE = "GPSLatitude"; +const char *OHOS_IMAGE_PROPERTY_GPS_LATITUDE = "GPSLatitude"; /** * @brief Defines a pointer to the GPS longitude, one of the image properties. @@ -350,7 +350,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_LATITUDE = "GPSLatitude"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_LONGITUDE = "GPSLongitude"; +const char *OHOS_IMAGE_PROPERTY_GPS_LONGITUDE = "GPSLongitude"; /** * @brief Defines a pointer to the GPS latitude reference information, one of the image properties. @@ -360,7 +360,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_LONGITUDE = "GPSLongitude"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_LATITUDE_REF = "GPSLatitudeRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_LATITUDE_REF = "GPSLatitudeRef"; /** * @brief Defines a pointer to the GPS longitude reference information, one of the image properties. @@ -370,7 +370,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_LATITUDE_REF = "GPSLatitudeRef"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_LONGITUDE_REF = "GPSLongitudeRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_LONGITUDE_REF = "GPSLongitudeRef"; /** * @brief Defines a pointer to the created date and time, one of the image properties. @@ -380,7 +380,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_LONGITUDE_REF = "GPSLongitudeRef"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_DATE_TIME_ORIGINAL = "DateTimeOriginal"; +const char *OHOS_IMAGE_PROPERTY_DATE_TIME_ORIGINAL = "DateTimeOriginal"; /** * @brief Defines a pointer to the exposure time, one of the image properties. @@ -390,7 +390,7 @@ const char* OHOS_IMAGE_PROPERTY_DATE_TIME_ORIGINAL = "DateTimeOriginal"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_EXPOSURE_TIME = "ExposureTime"; +const char *OHOS_IMAGE_PROPERTY_EXPOSURE_TIME = "ExposureTime"; /** * @brief Defines a pointer to the scene type, one of the image properties. @@ -400,7 +400,7 @@ const char* OHOS_IMAGE_PROPERTY_EXPOSURE_TIME = "ExposureTime"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_SCENE_TYPE = "SceneType"; +const char *OHOS_IMAGE_PROPERTY_SCENE_TYPE = "SceneType"; /** * @brief Defines a pointer to the ISO speed ratings, one of the image properties. @@ -410,7 +410,7 @@ const char* OHOS_IMAGE_PROPERTY_SCENE_TYPE = "SceneType"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_RATINGS = "ISOSpeedRatings"; +const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_RATINGS = "ISOSpeedRatings"; /** * @brief Defines a pointer to the f-number of the image, one of the image properties. @@ -420,7 +420,7 @@ const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_RATINGS = "ISOSpeedRatings"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_F_NUMBER = "FNumber"; +const char *OHOS_IMAGE_PROPERTY_F_NUMBER = "FNumber"; /** * @brief Defines a pointer to the compressed bits per pixel, one of the image properties. @@ -430,10 +430,10 @@ const char* OHOS_IMAGE_PROPERTY_F_NUMBER = "FNumber"; * @since 10 * @version 4.0 */ -const char* OHOS_IMAGE_PROPERTY_COMPRESSED_BITS_PER_PIXEL = "CompressedBitsPerPixel"; +const char *OHOS_IMAGE_PROPERTY_COMPRESSED_BITS_PER_PIXEL = "CompressedBitsPerPixel"; /** - * @brief Compression scheme for image data. If primary image is JPEG compressed, this is omitted. + * @brief Compression scheme for image data. If primary image is JPEG compressed, this is omitted. * If thumbnails use JPEG compression, this tag value is set to 6. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -441,7 +441,7 @@ const char* OHOS_IMAGE_PROPERTY_COMPRESSED_BITS_PER_PIXEL = "CompressedBitsPerPi * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_COMPRESSION = "Compression"; +const char *OHOS_IMAGE_PROPERTY_COMPRESSION = "Compression"; /** * @brief The pixel composition. In JPEG compressed data a JPEG marker is used instead. @@ -451,10 +451,10 @@ const char* OHOS_IMAGE_PROPERTY_COMPRESSION = "Compression"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_PHOTOMETRIC_INTERPRETATION = "PhotometricInterpretation"; +const char *OHOS_IMAGE_PROPERTY_PHOTOMETRIC_INTERPRETATION = "PhotometricInterpretation"; /** - * @brief Byte offset of each strip. Recommended to select so strip bytes do not exceed 64 Kbytes. + * @brief Byte offset of each strip. Recommended to select so strip bytes do not exceed 64 Kbytes. * With JPEG compressed data this is not needed and is omitted. See also and . * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -462,10 +462,10 @@ const char* OHOS_IMAGE_PROPERTY_PHOTOMETRIC_INTERPRETATION = "PhotometricInterpr * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_STRIP_OFFSETS = "StripOffsets"; +const char *OHOS_IMAGE_PROPERTY_STRIP_OFFSETS = "StripOffsets"; /** - * @brief Number of components per pixel. This standard applies to RGB and YCbCr images, so the value is 3. + * @brief Number of components per pixel. This standard applies to RGB and YCbCr images, so the value is 3. * In JPEG compressed data a JPEG marker is used instead. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -473,10 +473,10 @@ const char* OHOS_IMAGE_PROPERTY_STRIP_OFFSETS = "StripOffsets"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SAMPLES_PER_PIXEL = "SamplesPerPixel"; +const char *OHOS_IMAGE_PROPERTY_SAMPLES_PER_PIXEL = "SamplesPerPixel"; /** - * @brief Number of rows per strip. This is the number of rows in one strip when an image is divided into strips. + * @brief Number of rows per strip. This is the number of rows in one strip when an image is divided into strips. * With JPEG compressed data this is not needed and is omitted. See also and . * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -484,7 +484,7 @@ const char* OHOS_IMAGE_PROPERTY_SAMPLES_PER_PIXEL = "SamplesPerPixel"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_ROWS_PER_STRIP = "RowsPerStrip"; +const char *OHOS_IMAGE_PROPERTY_ROWS_PER_STRIP = "RowsPerStrip"; /** * @brief Total bytes in each strip. Not needed and omitted for JPEG compressed data. @@ -494,7 +494,7 @@ const char* OHOS_IMAGE_PROPERTY_ROWS_PER_STRIP = "RowsPerStrip"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_STRIP_BYTE_COUNTS = "StripByteCounts"; +const char *OHOS_IMAGE_PROPERTY_STRIP_BYTE_COUNTS = "StripByteCounts"; /** * @brief Pixels per in direction. If unknown, 72 [dpi] is used. @@ -504,7 +504,7 @@ const char* OHOS_IMAGE_PROPERTY_STRIP_BYTE_COUNTS = "StripByteCounts"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_X_RESOLUTION = "XResolution"; +const char *OHOS_IMAGE_PROPERTY_X_RESOLUTION = "XResolution"; /** * @brief Pixels per in direction. Same value as is used. @@ -514,10 +514,10 @@ const char* OHOS_IMAGE_PROPERTY_X_RESOLUTION = "XResolution"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_Y_RESOLUTION = "YResolution"; +const char *OHOS_IMAGE_PROPERTY_Y_RESOLUTION = "YResolution"; /** - * @brief Indicates pixel components format. In JPEG files a JPEG marker is used instead. If absent, 1 (chunky) + * @brief Indicates pixel components format. In JPEG files a JPEG marker is used instead. If absent, 1 (chunky) * is assumed. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -525,7 +525,7 @@ const char* OHOS_IMAGE_PROPERTY_Y_RESOLUTION = "YResolution"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_PLANAR_CONFIGURATION = "PlanarConfiguration"; +const char *OHOS_IMAGE_PROPERTY_PLANAR_CONFIGURATION = "PlanarConfiguration"; /** * @brief Unit for and . Same unit for both. If unknown, 2 (inches) is used. @@ -535,17 +535,17 @@ const char* OHOS_IMAGE_PROPERTY_PLANAR_CONFIGURATION = "PlanarConfiguration"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_RESOLUTION_UNIT = "ResolutionUnit"; +const char *OHOS_IMAGE_PROPERTY_RESOLUTION_UNIT = "ResolutionUnit"; /** - * @brief Image transfer function, described in tabular style. Not necessary if color space is specified in . - * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * @brief Image transfer function, described in tabular style. Not necessary if color space is specified in + * . Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_TRANSFER_FUNCTION = "TransferFunction"; +const char *OHOS_IMAGE_PROPERTY_TRANSFER_FUNCTION = "TransferFunction"; /** * @brief Records software or firmware name and version used to generate the image. If blank, treated as unknown. @@ -555,7 +555,7 @@ const char* OHOS_IMAGE_PROPERTY_TRANSFER_FUNCTION = "TransferFunction"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SOFTWARE = "Software"; +const char *OHOS_IMAGE_PROPERTY_SOFTWARE = "Software"; /** * @brief Records name of camera owner, photographer or image creator. If blank, treated as unknown. @@ -566,7 +566,7 @@ const char* OHOS_IMAGE_PROPERTY_SOFTWARE = "Software"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_ARTIST = "Artist"; +const char *OHOS_IMAGE_PROPERTY_ARTIST = "Artist"; /** * @brief Chromaticity of the image's white point. Not necessary if color space is specified in . @@ -576,7 +576,7 @@ const char* OHOS_IMAGE_PROPERTY_ARTIST = "Artist"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_WHITE_POINT = "WhitePoint"; +const char *OHOS_IMAGE_PROPERTY_WHITE_POINT = "WhitePoint"; /** * @brief Chromaticity of the image's three primary colors. Not necessary if color space is specified in . @@ -586,7 +586,7 @@ const char* OHOS_IMAGE_PROPERTY_WHITE_POINT = "WhitePoint"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_PRIMARY_CHROMATICITIES = "PrimaryChromaticities"; +const char *OHOS_IMAGE_PROPERTY_PRIMARY_CHROMATICITIES = "PrimaryChromaticities"; /** * @brief Matrix coefficients for RGB to YCbCr transformation. No TIFF default; value from Appendix E is used. @@ -597,7 +597,7 @@ const char* OHOS_IMAGE_PROPERTY_PRIMARY_CHROMATICITIES = "PrimaryChromaticities" * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_YCBCR_COEFFICIENTS = "YCbCrCoefficients"; +const char *OHOS_IMAGE_PROPERTY_YCBCR_COEFFICIENTS = "YCbCrCoefficients"; /** * @brief Sampling ratio of chrominance to luminance. In JPEG data a JPEG marker is used instead. @@ -607,7 +607,7 @@ const char* OHOS_IMAGE_PROPERTY_YCBCR_COEFFICIENTS = "YCbCrCoefficients"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_YCBCR_SUB_SAMPLING = "YCbCrSubSampling"; +const char *OHOS_IMAGE_PROPERTY_YCBCR_SUB_SAMPLING = "YCbCrSubSampling"; /** * @brief Position of chrominance to luminance. Only for JPEG or uncompressed YCbCr data. TIFF default is 1 (centered). @@ -618,7 +618,7 @@ const char* OHOS_IMAGE_PROPERTY_YCBCR_SUB_SAMPLING = "YCbCrSubSampling"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_YCBCR_POSITIONING = "YCbCrPositioning"; +const char *OHOS_IMAGE_PROPERTY_YCBCR_POSITIONING = "YCbCrPositioning"; /** * @brief Reference black and white point values. No TIFF defaults; values here are defaults. @@ -629,7 +629,7 @@ const char* OHOS_IMAGE_PROPERTY_YCBCR_POSITIONING = "YCbCrPositioning"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_REFERENCE_BLACK_WHITE = "ReferenceBlackWhite"; +const char *OHOS_IMAGE_PROPERTY_REFERENCE_BLACK_WHITE = "ReferenceBlackWhite"; /** * @brief Copyright information for photographer and editor. If blank, treated as unknown. @@ -640,7 +640,7 @@ const char* OHOS_IMAGE_PROPERTY_REFERENCE_BLACK_WHITE = "ReferenceBlackWhite"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_COPYRIGHT = "Copyright"; +const char *OHOS_IMAGE_PROPERTY_COPYRIGHT = "Copyright"; /** * @brief Offset to start byte of JPEG thumbnail data. Not used for primary image JPEG data. @@ -650,10 +650,10 @@ const char* OHOS_IMAGE_PROPERTY_COPYRIGHT = "Copyright"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT = "JPEGInterchangeFormat"; +const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT = "JPEGInterchangeFormat"; /** - * @brief Number of bytes of JPEG thumbnail data. Not used for primary image JPEG data. + * @brief Number of bytes of JPEG thumbnail data. Not used for primary image JPEG data. * JPEG thumbnails are continuous bitstream from SOI to EOI. Must be recorded in no more than 64 Kbytes. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -661,7 +661,7 @@ const char* OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT = "JPEGInterchangeFormat * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT_LENGTH = "JPEGInterchangeFormatLength"; +const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT_LENGTH = "JPEGInterchangeFormatLength"; /** * @brief Class of the program used by the camera to set exposure. @@ -671,7 +671,7 @@ const char* OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT_LENGTH = "JPEGInterchang * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_EXPOSURE_PROGRAM = "ExposureProgram"; +const char *OHOS_IMAGE_PROPERTY_EXPOSURE_PROGRAM = "ExposureProgram"; /** * @brief Spectral sensitivity of each channel of the camera used. @@ -681,7 +681,7 @@ const char* OHOS_IMAGE_PROPERTY_EXPOSURE_PROGRAM = "ExposureProgram"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SPECTRAL_SENSITIVITY = "SpectralSensitivity"; +const char *OHOS_IMAGE_PROPERTY_SPECTRAL_SENSITIVITY = "SpectralSensitivity"; /** * @brief Opto-Electric Conversion Function (OECF) specified in ISO 14524. @@ -691,7 +691,7 @@ const char* OHOS_IMAGE_PROPERTY_SPECTRAL_SENSITIVITY = "SpectralSensitivity"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_OECF = "OECF"; +const char *OHOS_IMAGE_PROPERTY_OECF = "OECF"; /** * @brief Supported version of this standard. Nonexistence means nonconformance to the standard. @@ -701,7 +701,7 @@ const char* OHOS_IMAGE_PROPERTY_OECF = "OECF"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_EXIF_VERSION = "ExifVersion"; +const char *OHOS_IMAGE_PROPERTY_EXIF_VERSION = "ExifVersion"; /** * @brief Date and time when the image was stored as digital data. @@ -711,7 +711,7 @@ const char* OHOS_IMAGE_PROPERTY_EXIF_VERSION = "ExifVersion"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_DATE_TIME_DIGITIZED = "DateTimeDigitized"; +const char *OHOS_IMAGE_PROPERTY_DATE_TIME_DIGITIZED = "DateTimeDigitized"; /** * @brief Info specific to compressed data. For uncompressed data, see tag. @@ -721,7 +721,7 @@ const char* OHOS_IMAGE_PROPERTY_DATE_TIME_DIGITIZED = "DateTimeDigitized"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_COMPONENTS_CONFIGURATION = "ComponentsConfiguration"; +const char *OHOS_IMAGE_PROPERTY_COMPONENTS_CONFIGURATION = "ComponentsConfiguration"; /** * @brief Shutter speed. @@ -731,7 +731,7 @@ const char* OHOS_IMAGE_PROPERTY_COMPONENTS_CONFIGURATION = "ComponentsConfigurat * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SHUTTER_SPEED_VALUE = "ShutterSpeedValue"; +const char *OHOS_IMAGE_PROPERTY_SHUTTER_SPEED_VALUE = "ShutterSpeedValue"; /** * @brief The value of brightness. @@ -741,7 +741,7 @@ const char* OHOS_IMAGE_PROPERTY_SHUTTER_SPEED_VALUE = "ShutterSpeedValue"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_BRIGHTNESS_VALUE = "BrightnessValue"; +const char *OHOS_IMAGE_PROPERTY_BRIGHTNESS_VALUE = "BrightnessValue"; /** * @brief The smallest F number of the lens. @@ -751,7 +751,7 @@ const char* OHOS_IMAGE_PROPERTY_BRIGHTNESS_VALUE = "BrightnessValue"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_MAX_APERTURE_VALUE = "MaxApertureValue"; +const char *OHOS_IMAGE_PROPERTY_MAX_APERTURE_VALUE = "MaxApertureValue"; /** * @brief The distance to the subject, given in meters. @@ -761,7 +761,7 @@ const char* OHOS_IMAGE_PROPERTY_MAX_APERTURE_VALUE = "MaxApertureValue"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE = "SubjectDistance"; +const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE = "SubjectDistance"; /** * @brief This tag indicates the location and area of the main subject in the overall scene. @@ -771,10 +771,10 @@ const char* OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE = "SubjectDistance"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUBJECT_AREA = "SubjectArea"; +const char *OHOS_IMAGE_PROPERTY_SUBJECT_AREA = "SubjectArea"; /** - * @brief A tag for manufacturers of Exif writers to record any desired information. The contents are up to + * @brief A tag for manufacturers of Exif writers to record any desired information. The contents are up to * the manufacturer. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -782,7 +782,7 @@ const char* OHOS_IMAGE_PROPERTY_SUBJECT_AREA = "SubjectArea"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_MAKER_NOTE = "MakerNote"; +const char *OHOS_IMAGE_PROPERTY_MAKER_NOTE = "MakerNote"; /** * @brief A tag used to record fractions of seconds for the tag. @@ -792,7 +792,7 @@ const char* OHOS_IMAGE_PROPERTY_MAKER_NOTE = "MakerNote"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME = "SubSecTime"; +const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME = "SubsecTime"; /** * @brief A tag used to record fractions of seconds for the tag. @@ -802,7 +802,7 @@ const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME = "SubSecTime"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME_ORIGINAL = "SubSecTimeOriginal"; +const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_ORIGINAL = "SubsecTimeOriginal"; /** * @brief A tag used to record fractions of seconds for the tag. @@ -811,7 +811,7 @@ const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME_ORIGINAL = "SubSecTimeOriginal"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME_DIGITIZED = "SubSecTimeDigitized"; +const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_DIGITIZED = "SubsecTimeDigitized"; /** * @brief The FlashPix format version supported by a FPXR file. @@ -821,12 +821,12 @@ const char* OHOS_IMAGE_PROPERTY_SUB_SEC_TIME_DIGITIZED = "SubSecTimeDigitized"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FLASHPIX_VERSION = "FlashpixVersion"; +const char *OHOS_IMAGE_PROPERTY_FLASHPIX_VERSION = "FlashpixVersion"; /** - * @brief The color space information tag is always recorded as the color space specifier. - * Normally sRGB is used based on the PC monitor conditions and environment. If a color space - * other than sRGB is used, Uncalibrated is set. Image data recorded as Uncalibrated can be + * @brief The color space information tag is always recorded as the color space specifier. + * Normally sRGB is used based on the PC monitor conditions and environment. If a color space + * other than sRGB is used, Uncalibrated is set. Image data recorded as Uncalibrated can be * treated as sRGB when it is converted to FlashPix. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -834,11 +834,11 @@ const char* OHOS_IMAGE_PROPERTY_FLASHPIX_VERSION = "FlashpixVersion"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_COLOR_SPACE = "ColorSpace"; +const char *OHOS_IMAGE_PROPERTY_COLOR_SPACE = "ColorSpace"; /** - * @brief This tag is used to record the name of an audio file related to the image data. - * The only relational information recorded here is the Exif audio file name and extension + * @brief This tag is used to record the name of an audio file related to the image data. + * The only relational information recorded here is the Exif audio file name and extension * (an ASCII string consisting of 8 characters + '.' + 3 characters). The path is not recorded. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -846,7 +846,7 @@ const char* OHOS_IMAGE_PROPERTY_COLOR_SPACE = "ColorSpace"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_RELATED_SOUND_FILE = "RelatedSoundFile"; +const char *OHOS_IMAGE_PROPERTY_RELATED_SOUND_FILE = "RelatedSoundFile"; /** * @brief Amount of flash energy (BCPS). @@ -856,7 +856,7 @@ const char* OHOS_IMAGE_PROPERTY_RELATED_SOUND_FILE = "RelatedSoundFile"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FLASH_ENERGY = "FlashEnergy"; +const char *OHOS_IMAGE_PROPERTY_FLASH_ENERGY = "FlashEnergy"; /** * @brief SFR of the camera. @@ -866,7 +866,7 @@ const char* OHOS_IMAGE_PROPERTY_FLASH_ENERGY = "FlashEnergy"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SPATIAL_FREQUENCY_RESPONSE = "SpatialFrequencyResponse"; +const char *OHOS_IMAGE_PROPERTY_SPATIAL_FREQUENCY_RESPONSE = "SpatialFrequencyResponse"; /** * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageWidth direction for main image. @@ -876,7 +876,7 @@ const char* OHOS_IMAGE_PROPERTY_SPATIAL_FREQUENCY_RESPONSE = "SpatialFrequencyRe * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_X_RESOLUTION = "FocalPlaneXResolution"; +const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_X_RESOLUTION = "FocalPlaneXResolution"; /** * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageLength direction for main image. @@ -886,7 +886,7 @@ const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_X_RESOLUTION = "FocalPlaneXResolutio * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_Y_RESOLUTION = "FocalPlaneYResolution"; +const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_Y_RESOLUTION = "FocalPlaneYResolution"; /** * @brief Unit of measurement for FocalPlaneXResolution(37390) and FocalPlaneYResolution(37391). @@ -896,7 +896,7 @@ const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_Y_RESOLUTION = "FocalPlaneYResolutio * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_RESOLUTION_UNIT = "FocalPlaneResolutionUnit"; +const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_RESOLUTION_UNIT = "FocalPlaneResolutionUnit"; /** * @brief Indicates the location and area of the main subject in the overall scene. @@ -906,7 +906,7 @@ const char* OHOS_IMAGE_PROPERTY_FOCAL_PLANE_RESOLUTION_UNIT = "FocalPlaneResolut * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUBJECT_LOCATION = "SubjectLocation"; +const char *OHOS_IMAGE_PROPERTY_SUBJECT_LOCATION = "SubjectLocation"; /** * @brief Encodes the camera exposure index setting when image was captured. @@ -916,7 +916,7 @@ const char* OHOS_IMAGE_PROPERTY_SUBJECT_LOCATION = "SubjectLocation"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_EXPOSURE_INDEX = "ExposureIndex"; +const char *OHOS_IMAGE_PROPERTY_EXPOSURE_INDEX = "ExposureIndex"; /** * @brief Type of image sensor. @@ -926,10 +926,10 @@ const char* OHOS_IMAGE_PROPERTY_EXPOSURE_INDEX = "ExposureIndex"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SENSING_METHOD = "SensingMethod"; +const char *OHOS_IMAGE_PROPERTY_SENSING_METHOD = "SensingMethod"; /** - * @brief Indicates the image source. If a DSC recorded the image, this tag value always be set to 3. + * @brief Indicates the image source. If a DSC recorded the image, this tag value always be set to 3. * This indicates that the image was recorded on a DSC. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -937,10 +937,10 @@ const char* OHOS_IMAGE_PROPERTY_SENSING_METHOD = "SensingMethod"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FILE_SOURCE = "FileSource"; +const char *OHOS_IMAGE_PROPERTY_FILE_SOURCE = "FileSource"; /** - * @brief Indicates the color filter array (CFA) geometric pattern of the image sensor. + * @brief Indicates the color filter array (CFA) geometric pattern of the image sensor. * This is applicable when a one-chip color area sensor is used. It does not apply to all sensing methods. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -948,10 +948,10 @@ const char* OHOS_IMAGE_PROPERTY_FILE_SOURCE = "FileSource"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_CFA_PATTERN = "CFAPattern"; +const char *OHOS_IMAGE_PROPERTY_CFA_PATTERN = "CFAPattern"; /** - * @brief Indicates the use of special processing on image data, such as rendering geared to output. + * @brief Indicates the use of special processing on image data, such as rendering geared to output. * When special processing is performed, the reader is expected to disable or minimize any further processing. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -959,10 +959,10 @@ const char* OHOS_IMAGE_PROPERTY_CFA_PATTERN = "CFAPattern"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_CUSTOM_RENDERED = "CustomRendered"; +const char *OHOS_IMAGE_PROPERTY_CUSTOM_RENDERED = "CustomRendered"; /** - * @brief Indicates the exposure mode set when the image was shot. In auto-bracketing mode, + * @brief Indicates the exposure mode set when the image was shot. In auto-bracketing mode, * the camera shoots a series of frames of the same scene at different exposure settings. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -970,10 +970,10 @@ const char* OHOS_IMAGE_PROPERTY_CUSTOM_RENDERED = "CustomRendered"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_EXPOSURE_MODE = "ExposureMode"; +const char *OHOS_IMAGE_PROPERTY_EXPOSURE_MODE = "ExposureMode"; /** - * @brief Indicates the digital zoom ratio when the image was shot. If the numerator of the recorded + * @brief Indicates the digital zoom ratio when the image was shot. If the numerator of the recorded * value is 0, this indicates that digital zoom was not used. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -981,10 +981,10 @@ const char* OHOS_IMAGE_PROPERTY_EXPOSURE_MODE = "ExposureMode"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_DIGITAL_ZOOM_RATIO = "DigitalZoomRatio"; +const char *OHOS_IMAGE_PROPERTY_DIGITAL_ZOOM_RATIO = "DigitalZoomRatio"; /** - * @brief Indicates the type of scene that was shot. It can also be used to record the mode in which + * @brief Indicates the type of scene that was shot. It can also be used to record the mode in which * the image was shot. Note that this differs from the tag. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -992,7 +992,7 @@ const char* OHOS_IMAGE_PROPERTY_DIGITAL_ZOOM_RATIO = "DigitalZoomRatio"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SCENE_CAPTURE_TYPE = "SceneCaptureType"; +const char *OHOS_IMAGE_PROPERTY_SCENE_CAPTURE_TYPE = "SceneCaptureType"; /** * @brief This tag indicates the degree of overall image gain adjustment. @@ -1002,7 +1002,7 @@ const char* OHOS_IMAGE_PROPERTY_SCENE_CAPTURE_TYPE = "SceneCaptureType"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GAIN_CONTROL = "GainControl"; +const char *OHOS_IMAGE_PROPERTY_GAIN_CONTROL = "GainControl"; /** * @brief This tag indicates the direction of contrast processing applied by the camera when the image was shot. @@ -1012,7 +1012,7 @@ const char* OHOS_IMAGE_PROPERTY_GAIN_CONTROL = "GainControl"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_CONTRAST = "Contrast"; +const char *OHOS_IMAGE_PROPERTY_CONTRAST = "Contrast"; /** * @brief This tag indicates the direction of saturation processing applied by the camera when the image was shot. @@ -1022,7 +1022,7 @@ const char* OHOS_IMAGE_PROPERTY_CONTRAST = "Contrast"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SATURATION = "Saturation"; +const char *OHOS_IMAGE_PROPERTY_SATURATION = "Saturation"; /** * @brief This tag indicates the direction of sharpness processing applied by the camera when the image was shot. @@ -1032,7 +1032,7 @@ const char* OHOS_IMAGE_PROPERTY_SATURATION = "Saturation"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SHARPNESS = "Sharpness"; +const char *OHOS_IMAGE_PROPERTY_SHARPNESS = "Sharpness"; /** * @brief Indicates picture-taking conditions of a camera model. Used only to indicate conditions in the reader. @@ -1042,7 +1042,7 @@ const char* OHOS_IMAGE_PROPERTY_SHARPNESS = "Sharpness"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_DEVICE_SETTING_DESCRIPTION = "DeviceSettingDescription"; +const char *OHOS_IMAGE_PROPERTY_DEVICE_SETTING_DESCRIPTION = "DeviceSettingDescription"; /** * @brief Indicates the distance to the subject. @@ -1052,10 +1052,10 @@ const char* OHOS_IMAGE_PROPERTY_DEVICE_SETTING_DESCRIPTION = "DeviceSettingDescr * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE_RANGE = "SubjectDistanceRange"; +const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE_RANGE = "SubjectDistanceRange"; /** - * @brief Indicates an identifier assigned uniquely to each image. + * @brief Indicates an identifier assigned uniquely to each image. * Recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1063,12 +1063,12 @@ const char* OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE_RANGE = "SubjectDistanceRange"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_IMAGE_UNIQUE_ID = "ImageUniqueID"; +const char *OHOS_IMAGE_PROPERTY_IMAGE_UNIQUE_ID = "ImageUniqueID"; /** - * @brief Indicates the version of . Given as 2.0.0.0. - * This tag is mandatory when tag is present. - * (Note: The tag is given in bytes, unlike the tag. + * @brief Indicates the version of . Given as 2.0.0.0. + * This tag is mandatory when tag is present. + * (Note: The tag is given in bytes, unlike the tag. * When the version is 2.0.0.0, the tag value is 02000000.H). * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1076,13 +1076,13 @@ const char* OHOS_IMAGE_PROPERTY_IMAGE_UNIQUE_ID = "ImageUniqueID"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_VERSION_ID = "GPSVersionID"; +const char *OHOS_IMAGE_PROPERTY_GPS_VERSION_ID = "GPSVersionID"; /** - * @brief Indicates the reference altitude. If the reference is sea level and the altitude is above sea level, - * 0 is given. - * If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value - * in the GSPAltitude tag. + * @brief Indicates the reference altitude. If the reference is sea level and the altitude is above sea level, + * 0 is given. + * If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value + * in the GSPAltitude tag. * The reference unit is meters. Note that this tag is BYTE type, unlike other reference tags. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1090,10 +1090,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_VERSION_ID = "GPSVersionID"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_ALTITUDE_REF = "GPSAltitudeRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE_REF = "GPSAltitudeRef"; /** - * @brief Indicates the altitude based on the reference in GPSAltitudeRef. + * @brief Indicates the altitude based on the reference in GPSAltitudeRef. * Altitude is expressed as one RATIONAL value. The reference unit is meters. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1101,13 +1101,13 @@ const char* OHOS_IMAGE_PROPERTY_GPS_ALTITUDE_REF = "GPSAltitudeRef"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_ALTITUDE = "GPSAltitude"; +const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE = "GPSAltitude"; /** - * @brief Indicates the GPS satellites used for measurements. - * This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and - * other information in ASCII notation. - * The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag is set to + * @brief Indicates the GPS satellites used for measurements. + * This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and + * other information in ASCII notation. + * The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag is set to * NULL. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1115,10 +1115,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_ALTITUDE = "GPSAltitude"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_SATELLITES = "GPSSatellites"; +const char *OHOS_IMAGE_PROPERTY_GPS_SATELLITES = "GPSSatellites"; /** - * @brief Indicates the status of the GPS receiver when the image is recorded. + * @brief Indicates the status of the GPS receiver when the image is recorded. * "A" means measurement is in progress, and "V" means the measurement is Interoperability. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1126,10 +1126,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_SATELLITES = "GPSSatellites"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_STATUS = "GPSStatus"; +const char *OHOS_IMAGE_PROPERTY_GPS_STATUS = "GPSStatus"; /** - * @brief Indicates the GPS measurement mode. + * @brief Indicates the GPS measurement mode. * "2" means two-dimensional measurement and "3" means three-dimensional measurement is in progress. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1137,10 +1137,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_STATUS = "GPSStatus"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_MEASURE_MODE = "GPSMeasureMode"; +const char *OHOS_IMAGE_PROPERTY_GPS_MEASURE_MODE = "GPSMeasureMode"; /** - * @brief Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional + * @brief Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional * measurement, and PDOP during three-dimensional measurement. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1148,10 +1148,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_MEASURE_MODE = "GPSMeasureMode"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DOP = "GPSDOP"; +const char *OHOS_IMAGE_PROPERTY_GPS_DOP = "GPSDOP"; /** - * @brief Indicates the unit used to express the GPS receiver speed of movement. "K" "M" and "N" + * @brief Indicates the unit used to express the GPS receiver speed of movement. "K" "M" and "N" * represents kilometers per hour, miles per hour, and knots. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1159,7 +1159,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_DOP = "GPSDOP"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_SPEED_REF = "GPSSpeedRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_SPEED_REF = "GPSSpeedRef"; /** * @brief Indicates the speed of GPS receiver movement. @@ -1169,10 +1169,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_SPEED_REF = "GPSSpeedRef"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_SPEED = "GPSSpeed"; +const char *OHOS_IMAGE_PROPERTY_GPS_SPEED = "GPSSpeed"; /** - * @brief Indicates the reference for giving the direction of GPS receiver movement. "T" denotes true + * @brief Indicates the reference for giving the direction of GPS receiver movement. "T" denotes true * direction and "M" is magnetic direction. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1180,7 +1180,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_SPEED = "GPSSpeed"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_TRACK_REF = "GPSTrackRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_TRACK_REF = "GPSTrackRef"; /** * @brief Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99. @@ -1190,10 +1190,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_TRACK_REF = "GPSTrackRef"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_TRACK = "GPSTrack"; +const char *OHOS_IMAGE_PROPERTY_GPS_TRACK = "GPSTrack"; /** - * @brief Indicates the reference for giving the direction of the image when it is captured. "T" denotes + * @brief Indicates the reference for giving the direction of the image when it is captured. "T" denotes * true direction and "M" is magnetic direction. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1201,21 +1201,21 @@ const char* OHOS_IMAGE_PROPERTY_GPS_TRACK = "GPSTrack"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION_REF = "GPSImgDirectionRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION_REF = "GPSImgDirectionRef"; /** * @brief Indicates the direction of the image when it was captured. The range of values is from 0.00 to 359.99. - * It is used in {@link OH_ImageSource_GetImageProperty} and + * It is used in {@link OH_ImageSource_GetImageProperty} and * {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION = "GPSImgDirection"; +const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION = "GPSImgDirection"; /** - * @brief Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to + * @brief Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to * Japan, the value of this tag is "TOKYO" or "WGS-84". * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1223,10 +1223,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION = "GPSImgDirection"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_MAP_DATUM = "GPSMapDatum"; +const char *OHOS_IMAGE_PROPERTY_GPS_MAP_DATUM = "GPSMapDatum"; /** - * @brief Indicates whether the latitude of the destination point is north or south latitude. The ASCII + * @brief Indicates whether the latitude of the destination point is north or south latitude. The ASCII * value "N" indicates north latitude, and "S" is south latitude. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1234,12 +1234,12 @@ const char* OHOS_IMAGE_PROPERTY_GPS_MAP_DATUM = "GPSMapDatum"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE_REF = "GPSDestLatitudeRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE_REF = "GPSDestLatitudeRef"; /** - * @brief Indicates the latitude of the destination point. The latitude is expressed as three RATIONAL - * values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, - * minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, + * @brief Indicates the latitude of the destination point. The latitude is expressed as three RATIONAL + * values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, + * minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, * for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1247,10 +1247,10 @@ const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE_REF = "GPSDestLatitudeRef"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE = "GPSDestLatitude"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE = "GPSDestLatitude"; /** - * @brief Indicates whether the longitude of the destination point is east or west longitude. ASCII "E" + * @brief Indicates whether the longitude of the destination point is east or west longitude. ASCII "E" * indicates east longitude, and "W" is west longitude. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1258,39 +1258,39 @@ const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE = "GPSDestLatitude"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE_REF = "GPSDestLongitudeRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE_REF = "GPSDestLongitudeRef"; /** - * @brief A character string recording the name of the method used for location finding. The string encoding - * is defined using the same scheme as UserComment. + * @brief A character string recording the name of the method used for location finding. The string encoding + * is defined using the same scheme as UserComment. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_PROCESSING_METHOD = "GPSProcessingMethod"; +const char *OHOS_IMAGE_PROPERTY_GPS_PROCESSING_METHOD = "GPSProcessingMethod"; /** - * @brief A character string recording the name of the GPS area.The string encoding is defined using the - * same scheme as UserComment. + * @brief A character string recording the name of the GPS area.The string encoding is defined using the + * same scheme as UserComment. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_AREA_INFORMATION = "GPSAreaInformation"; +const char *OHOS_IMAGE_PROPERTY_GPS_AREA_INFORMATION = "GPSAreaInformation"; /** - * @brief Indicates whether differential correction is applied to the GPS receiver. + * @brief Indicates whether differential correction is applied to the GPS receiver. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DIFFERENTIAL = "GPSDifferential"; +const char *OHOS_IMAGE_PROPERTY_GPS_DIFFERENTIAL = "GPSDifferential"; /** * @brief This tag records the serial number of the body of the camera that was used in photography as an ASCII string. @@ -1300,7 +1300,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_DIFFERENTIAL = "GPSDifferential"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_BODY_SERIAL_NUMBER = "BodySerialNumber"; +const char *OHOS_IMAGE_PROPERTY_BODY_SERIAL_NUMBER = "BodySerialNumber"; /** * @brief This tag records the owner of a camera used in photography as an ASCII string. @@ -1310,33 +1310,33 @@ const char* OHOS_IMAGE_PROPERTY_BODY_SERIAL_NUMBER = "BodySerialNumber"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_CAMERA_OWNER_NAME = "CameraOwnerName"; +const char *OHOS_IMAGE_PROPERTY_CAMERA_OWNER_NAME = "CameraOwnerName"; /** - * @brief Indicates whether the recorded image is a composite image or not. + * @brief Indicates whether the recorded image is a composite image or not. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_COMPOSITE_IMAGE = "CompositeImage"; +const char *OHOS_IMAGE_PROPERTY_COMPOSITE_IMAGE = "CompositeImage"; /** - * @brief This tag encodes the DNG four-tier version number. For files compliant with version 1.1.0.0 of - * the DNG specification, this tag should contain the bytes: 1, 1, 0, 0. + * @brief This tag encodes the DNG four-tier version number. For files compliant with version 1.1.0.0 of + * the DNG specification, this tag should contain the bytes: 1, 1, 0, 0. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_DNG_VERSION = "DNGVersion"; +const char *OHOS_IMAGE_PROPERTY_DNG_VERSION = "DNGVersion"; /** - * @brief Indicates the longitude of the destination point. The longitude is expressed as three RATIONAL - * values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, - * minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, + * @brief Indicates the longitude of the destination point. The longitude is expressed as three RATIONAL + * values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, + * minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, * for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1344,90 +1344,90 @@ const char* OHOS_IMAGE_PROPERTY_DNG_VERSION = "DNGVersion"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE = "GPSDestLongitude"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE = "GPSDestLongitude"; /** - * @brief Indicates the reference used for giving the bearing to the destination point. "T" denotes true - * direction and "M" is magnetic direction. + * @brief Indicates the reference used for giving the bearing to the destination point. "T" denotes true + * direction and "M" is magnetic direction. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING_REF = "GPSDestBearingRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING_REF = "GPSDestBearingRef"; /** - * @brief Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99. + * @brief Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING = "GPSDestBearing"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING = "GPSDestBearing"; /** - * @brief Indicates the unit used to express the distance to the destination point. "K", "M" and "N" - * represent kilometers, miles and knots. + * @brief Indicates the unit used to express the distance to the destination point. "K", "M" and "N" + * represent kilometers, miles and knots. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE_REF = "GPSDestDistanceRef"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE_REF = "GPSDestDistanceRef"; /** - * @brief Indicates the distance to the destination point. + * @brief Indicates the distance to the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE = "GPSDestDistance"; +const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE = "GPSDestDistance"; /** - * @brief Raw images often store extra pixels around the edges of the final image. These extra pixels - * help prevent interpolation artifacts near the edges of the final image. DefaultCropSize specifies - * the size of the final image area, in raw image coordinates (i.e., before the DefaultScale has been - * applied). + * @brief Raw images often store extra pixels around the edges of the final image. These extra pixels + * help prevent interpolation artifacts near the edges of the final image. DefaultCropSize specifies + * the size of the final image area, in raw image coordinates (i.e., before the DefaultScale has been + * applied). * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; +const char *OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; /** - * @brief Indicates the value of coefficient gamma. The formula of transfer function used for image - * reproduction is expressed as follows: (reproduced value) = (input value)^gamma. Both reproduced value - * and input value indicate normalized value, whose minimum value is 0 and maximum value is 1. + * @brief Indicates the value of coefficient gamma. The formula of transfer function used for image + * reproduction is expressed as follows: (reproduced value) = (input value)^gamma. Both reproduced value + * and input value indicate normalized value, whose minimum value is 0 and maximum value is 1. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; +const char *OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; /** - * @brief This tag indicates the ISO speed latitude yyy value of a camera or input device that is - * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and - * ISOSpeedLatitudezzz. + * @brief This tag indicates the ISO speed latitude yyy value of a camera or input device that is + * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and + * ISOSpeedLatitudezzz. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @Syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; +const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; /** - * @brief This tag indicates the ISO speed latitude zzz value of a camera or input device that is - * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and + * @brief This tag indicates the ISO speed latitude zzz value of a camera or input device that is + * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and * ISOSpeedLatitudeyyy. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1435,7 +1435,7 @@ const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEZZZ = "ISOSpeedLatitudezzz"; +const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEZZZ = "ISOSpeedLatitudezzz"; /** * @brief This tag records the lens manufactor as an ASCII string. @@ -1445,7 +1445,7 @@ const char* OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEZZZ = "ISOSpeedLatitudezzz"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_LENS_MAKE = "LensMake"; +const char *OHOS_IMAGE_PROPERTY_LENS_MAKE = "LensMake"; /** * @brief This tag records the lens's model name and model number as an ASCII string. @@ -1455,10 +1455,10 @@ const char* OHOS_IMAGE_PROPERTY_LENS_MAKE = "LensMake"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_LENS_MODEL = "LensModel"; +const char *OHOS_IMAGE_PROPERTY_LENS_MODEL = "LensModel"; /** - * @brief This tag records the serial number of the interchangeable lens that was used in photography as + * @brief This tag records the serial number of the interchangeable lens that was used in photography as * an ASCII string. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1466,11 +1466,11 @@ const char* OHOS_IMAGE_PROPERTY_LENS_MODEL = "LensModel"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_LENS_SERIAL_NUMBER = "LensSerialNumber"; +const char *OHOS_IMAGE_PROPERTY_LENS_SERIAL_NUMBER = "LensSerialNumber"; /** - * @brief This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, - * and minimum F number in the maximum focal length, which are specification information for the lens that was + * @brief This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, + * and minimum F number in the maximum focal length, which are specification information for the lens that was * used in photography. When the minimum F number is unknown, the notation is 0/0 * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1478,7 +1478,7 @@ const char* OHOS_IMAGE_PROPERTY_LENS_SERIAL_NUMBER = "LensSerialNumber"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_LENS_SPECIFICATION = "LensSpecification"; +const char *OHOS_IMAGE_PROPERTY_LENS_SPECIFICATION = "LensSpecification"; /** * @brief A general indication of the kind of data contained in this subfile. @@ -1488,7 +1488,7 @@ const char* OHOS_IMAGE_PROPERTY_LENS_SPECIFICATION = "LensSpecification"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_NEW_SUBFILE_TYPE = "NewSubfileType"; +const char *OHOS_IMAGE_PROPERTY_NEW_SUBFILE_TYPE = "NewSubfileType"; /** * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTime tag. @@ -1498,7 +1498,7 @@ const char* OHOS_IMAGE_PROPERTY_NEW_SUBFILE_TYPE = "NewSubfileType"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME = "OffsetTime"; +const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME = "OffsetTime"; /** * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeDigitized tag. @@ -1508,7 +1508,7 @@ const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME = "OffsetTime"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME_DIGITIZED = "OffsetTimeDigitized"; +const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_DIGITIZED = "OffsetTimeDigitized"; /** * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeOriginal tag. @@ -1518,10 +1518,10 @@ const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME_DIGITIZED = "OffsetTimeDigitized"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME_ORIGINAL = "OffsetTimeOriginal"; +const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_ORIGINAL = "OffsetTimeOriginal"; /** - * @brief For a composite image, records the parameters relating exposure time of the exposures for generating + * @brief For a composite image, records the parameters relating exposure time of the exposures for generating * the said composite image, such as respective exposure times of captured source images (tentatively recorded images). * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1529,7 +1529,7 @@ const char* OHOS_IMAGE_PROPERTY_OFFSET_TIME_ORIGINAL = "OffsetTimeOriginal"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = "SourceExposureTimesOfCompositeImage"; +const char *OHOS_IMAGE_PROPERTY_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = "SourceExposureTimesOfCompositeImage"; /** * @brief Indicates the number of the source images (tentatively recorded images) captured for a composite Image. @@ -1539,10 +1539,10 @@ const char* OHOS_IMAGE_PROPERTY_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = "Sour * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "SourceImageNumberOfCompositeImage"; +const char *OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "SourceImageNumberOfCompositeImage"; /** - * @brief A general indication of the kind of data contained in this subfile. This field is deprecated. + * @brief A general indication of the kind of data contained in this subfile. This field is deprecated. * The NewSubfileType field should be used instead. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * @@ -1550,7 +1550,7 @@ const char* OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "Source * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; +const char *OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; /** * @brief This tag indicates horizontal positioning errors in meters. @@ -1560,7 +1560,7 @@ const char* OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_GPS_H_POSITIONING_ERROR = "GPSHPositioningError"; +const char *OHOS_IMAGE_PROPERTY_GPS_H_POSITIONING_ERROR = "GPSHPositioningError"; /** * @brief Burst Number @@ -1570,7 +1570,7 @@ const char* OHOS_IMAGE_PROPERTY_GPS_H_POSITIONING_ERROR = "GPSHPositioningError" * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_BURST_NUMBER = "HwMnoteBurstNumber"; +const char *OHOS_IMAGE_PROPERTY_BURST_NUMBER = "HwMnoteBurstNumber"; /** * @brief Face Conf @@ -1580,7 +1580,7 @@ const char* OHOS_IMAGE_PROPERTY_BURST_NUMBER = "HwMnoteBurstNumber"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FACE_CONF = "HwMnoteFaceConf"; +const char *OHOS_IMAGE_PROPERTY_FACE_CONF = "HwMnoteFaceConf"; /** * @brief Face Leye Center @@ -1590,7 +1590,7 @@ const char* OHOS_IMAGE_PROPERTY_FACE_CONF = "HwMnoteFaceConf"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FACE_LEYE_CENTER = "HwMnoteFaceLeyeCenter"; +const char *OHOS_IMAGE_PROPERTY_FACE_LEYE_CENTER = "HwMnoteFaceLeyeCenter"; /** * @brief Face Mouth Center @@ -1600,13 +1600,12 @@ const char* OHOS_IMAGE_PROPERTY_FACE_LEYE_CENTER = "HwMnoteFaceLeyeCenter"; * @since 12 * @version 5.0 */ -const char* OHOS_IMAGE_PROPERTY_FACE_MOUTH_CENTER = "HwMnoteFaceMouthCenter"; +const char *OHOS_IMAGE_PROPERTY_FACE_MOUTH_CENTER = "HwMnoteFaceMouthCenter"; #ifdef __cplusplus }; #endif -/** @} */ - +/* * @} */ #endif // INTERFACES_KITS_NATIVE_INCLUDE_IMAGE_IMAGE_COMMON_H_ \ No newline at end of file -- Gitee From cf2a3fe0cda4711ebaf2a50f0ed4b6796af442da Mon Sep 17 00:00:00 2001 From: caoyawen05 Date: Thu, 21 Mar 2024 18:26:05 +0800 Subject: [PATCH 4/8] =?UTF-8?q?=E5=B0=86@Syscap=E6=94=B9=E6=88=90=E4=BA=86?= =?UTF-8?q?@syscap?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I892fda2cc8927d281814a658cc290618c49fa0e3 Signed-off-by: caoyawen05 --- .../include/image/image_common.h | 250 +++++++++--------- 1 file changed, 125 insertions(+), 125 deletions(-) diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h index 3e7c8be11..05eb7899a 100644 --- a/multimedia/image_framework/include/image/image_common.h +++ b/multimedia/image_framework/include/image/image_common.h @@ -19,7 +19,7 @@ * * @brief Provides APIs for access to the image interface. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 2.0 */ @@ -296,7 +296,7 @@ static const char *MIME_TYPE_ICON = "image/x-icon"; * @brief Defines a pointer to bits per sample, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -306,7 +306,7 @@ const char *OHOS_IMAGE_PROPERTY_BITS_PER_SAMPLE = "BitsPerSample"; * @brief Defines a pointer to the orientation, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -316,7 +316,7 @@ const char *OHOS_IMAGE_PROPERTY_ORIENTATION = "Orientation"; * @brief Defines a pointer to the image length, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -326,7 +326,7 @@ const char *OHOS_IMAGE_PROPERTY_IMAGE_LENGTH = "ImageLength"; * @brief Defines a pointer to the image width, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -336,7 +336,7 @@ const char *OHOS_IMAGE_PROPERTY_IMAGE_WIDTH = "ImageWidth"; * @brief Defines a pointer to the GPS latitude, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -346,7 +346,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_LATITUDE = "GPSLatitude"; * @brief Defines a pointer to the GPS longitude, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -356,7 +356,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_LONGITUDE = "GPSLongitude"; * @brief Defines a pointer to the GPS latitude reference information, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -366,7 +366,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_LATITUDE_REF = "GPSLatitudeRef"; * @brief Defines a pointer to the GPS longitude reference information, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -376,7 +376,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_LONGITUDE_REF = "GPSLongitudeRef"; * @brief Defines a pointer to the created date and time, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -386,7 +386,7 @@ const char *OHOS_IMAGE_PROPERTY_DATE_TIME_ORIGINAL = "DateTimeOriginal"; * @brief Defines a pointer to the exposure time, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -396,7 +396,7 @@ const char *OHOS_IMAGE_PROPERTY_EXPOSURE_TIME = "ExposureTime"; * @brief Defines a pointer to the scene type, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -406,7 +406,7 @@ const char *OHOS_IMAGE_PROPERTY_SCENE_TYPE = "SceneType"; * @brief Defines a pointer to the ISO speed ratings, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -416,7 +416,7 @@ const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_RATINGS = "ISOSpeedRatings"; * @brief Defines a pointer to the f-number of the image, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -426,7 +426,7 @@ const char *OHOS_IMAGE_PROPERTY_F_NUMBER = "FNumber"; * @brief Defines a pointer to the compressed bits per pixel, one of the image properties. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 10 * @version 4.0 */ @@ -437,7 +437,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPRESSED_BITS_PER_PIXEL = "CompressedBitsPerPi * If thumbnails use JPEG compression, this tag value is set to 6. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -447,7 +447,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPRESSION = "Compression"; * @brief The pixel composition. In JPEG compressed data a JPEG marker is used instead. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -458,7 +458,7 @@ const char *OHOS_IMAGE_PROPERTY_PHOTOMETRIC_INTERPRETATION = "PhotometricInterpr * With JPEG compressed data this is not needed and is omitted. See also and . * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -469,7 +469,7 @@ const char *OHOS_IMAGE_PROPERTY_STRIP_OFFSETS = "StripOffsets"; * In JPEG compressed data a JPEG marker is used instead. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -480,7 +480,7 @@ const char *OHOS_IMAGE_PROPERTY_SAMPLES_PER_PIXEL = "SamplesPerPixel"; * With JPEG compressed data this is not needed and is omitted. See also and . * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -490,7 +490,7 @@ const char *OHOS_IMAGE_PROPERTY_ROWS_PER_STRIP = "RowsPerStrip"; * @brief Total bytes in each strip. Not needed and omitted for JPEG compressed data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -500,7 +500,7 @@ const char *OHOS_IMAGE_PROPERTY_STRIP_BYTE_COUNTS = "StripByteCounts"; * @brief Pixels per in direction. If unknown, 72 [dpi] is used. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -510,7 +510,7 @@ const char *OHOS_IMAGE_PROPERTY_X_RESOLUTION = "XResolution"; * @brief Pixels per in direction. Same value as is used. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -521,7 +521,7 @@ const char *OHOS_IMAGE_PROPERTY_Y_RESOLUTION = "YResolution"; * is assumed. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -531,7 +531,7 @@ const char *OHOS_IMAGE_PROPERTY_PLANAR_CONFIGURATION = "PlanarConfiguration"; * @brief Unit for and . Same unit for both. If unknown, 2 (inches) is used. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -541,7 +541,7 @@ const char *OHOS_IMAGE_PROPERTY_RESOLUTION_UNIT = "ResolutionUnit"; * @brief Image transfer function, described in tabular style. Not necessary if color space is specified in * . Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -551,7 +551,7 @@ const char *OHOS_IMAGE_PROPERTY_TRANSFER_FUNCTION = "TransferFunction"; * @brief Records software or firmware name and version used to generate the image. If blank, treated as unknown. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -562,7 +562,7 @@ const char *OHOS_IMAGE_PROPERTY_SOFTWARE = "Software"; * Ex.) "Camera owner, John Smith; Photographer, Michael Brown; Image creator, Ken James" * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -572,7 +572,7 @@ const char *OHOS_IMAGE_PROPERTY_ARTIST = "Artist"; * @brief Chromaticity of the image's white point. Not necessary if color space is specified in . * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -582,7 +582,7 @@ const char *OHOS_IMAGE_PROPERTY_WHITE_POINT = "WhitePoint"; * @brief Chromaticity of the image's three primary colors. Not necessary if color space is specified in . * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -593,7 +593,7 @@ const char *OHOS_IMAGE_PROPERTY_PRIMARY_CHROMATICITIES = "PrimaryChromaticities" * Color space is declared in a color space information tag. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -603,7 +603,7 @@ const char *OHOS_IMAGE_PROPERTY_YCBCR_COEFFICIENTS = "YCbCrCoefficients"; * @brief Sampling ratio of chrominance to luminance. In JPEG data a JPEG marker is used instead. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -614,7 +614,7 @@ const char *OHOS_IMAGE_PROPERTY_YCBCR_SUB_SAMPLING = "YCbCrSubSampling"; * For Y:Cb:Cr = 4:2:2, 2 (co-sited) is recommended. If absent, TIFF default is assumed. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -625,7 +625,7 @@ const char *OHOS_IMAGE_PROPERTY_YCBCR_POSITIONING = "YCbCrPositioning"; * Color space is declared in a color space information tag. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -636,7 +636,7 @@ const char *OHOS_IMAGE_PROPERTY_REFERENCE_BLACK_WHITE = "ReferenceBlackWhite"; * Format: "Copyright, John Smith, 19xx. All rights reserved.". * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -646,7 +646,7 @@ const char *OHOS_IMAGE_PROPERTY_COPYRIGHT = "Copyright"; * @brief Offset to start byte of JPEG thumbnail data. Not used for primary image JPEG data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -657,7 +657,7 @@ const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT = "JPEGInterchangeFormat * JPEG thumbnails are continuous bitstream from SOI to EOI. Must be recorded in no more than 64 Kbytes. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -667,7 +667,7 @@ const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT_LENGTH = "JPEGInterchang * @brief Class of the program used by the camera to set exposure. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -677,7 +677,7 @@ const char *OHOS_IMAGE_PROPERTY_EXPOSURE_PROGRAM = "ExposureProgram"; * @brief Spectral sensitivity of each channel of the camera used. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -687,7 +687,7 @@ const char *OHOS_IMAGE_PROPERTY_SPECTRAL_SENSITIVITY = "SpectralSensitivity"; * @brief Opto-Electric Conversion Function (OECF) specified in ISO 14524. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -697,7 +697,7 @@ const char *OHOS_IMAGE_PROPERTY_OECF = "OECF"; * @brief Supported version of this standard. Nonexistence means nonconformance to the standard. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -707,7 +707,7 @@ const char *OHOS_IMAGE_PROPERTY_EXIF_VERSION = "ExifVersion"; * @brief Date and time when the image was stored as digital data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -717,7 +717,7 @@ const char *OHOS_IMAGE_PROPERTY_DATE_TIME_DIGITIZED = "DateTimeDigitized"; * @brief Info specific to compressed data. For uncompressed data, see tag. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -727,7 +727,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPONENTS_CONFIGURATION = "ComponentsConfigurat * @brief Shutter speed. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -737,7 +737,7 @@ const char *OHOS_IMAGE_PROPERTY_SHUTTER_SPEED_VALUE = "ShutterSpeedValue"; * @brief The value of brightness. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -747,7 +747,7 @@ const char *OHOS_IMAGE_PROPERTY_BRIGHTNESS_VALUE = "BrightnessValue"; * @brief The smallest F number of the lens. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -757,7 +757,7 @@ const char *OHOS_IMAGE_PROPERTY_MAX_APERTURE_VALUE = "MaxApertureValue"; * @brief The distance to the subject, given in meters. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -767,7 +767,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE = "SubjectDistance"; * @brief This tag indicates the location and area of the main subject in the overall scene. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -778,7 +778,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_AREA = "SubjectArea"; * the manufacturer. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -788,7 +788,7 @@ const char *OHOS_IMAGE_PROPERTY_MAKER_NOTE = "MakerNote"; * @brief A tag used to record fractions of seconds for the tag. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -798,7 +798,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME = "SubsecTime"; * @brief A tag used to record fractions of seconds for the tag. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -807,7 +807,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_ORIGINAL = "SubsecTimeOriginal"; /** * @brief A tag used to record fractions of seconds for the tag. * It is used in {@link OH_ImageSource_GetImageProperty} and { - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -817,7 +817,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_DIGITIZED = "SubsecTimeDigitized"; * @brief The FlashPix format version supported by a FPXR file. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -830,7 +830,7 @@ const char *OHOS_IMAGE_PROPERTY_FLASHPIX_VERSION = "FlashpixVersion"; * treated as sRGB when it is converted to FlashPix. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -842,7 +842,7 @@ const char *OHOS_IMAGE_PROPERTY_COLOR_SPACE = "ColorSpace"; * (an ASCII string consisting of 8 characters + '.' + 3 characters). The path is not recorded. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -852,7 +852,7 @@ const char *OHOS_IMAGE_PROPERTY_RELATED_SOUND_FILE = "RelatedSoundFile"; * @brief Amount of flash energy (BCPS). * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -862,7 +862,7 @@ const char *OHOS_IMAGE_PROPERTY_FLASH_ENERGY = "FlashEnergy"; * @brief SFR of the camera. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -872,7 +872,7 @@ const char *OHOS_IMAGE_PROPERTY_SPATIAL_FREQUENCY_RESPONSE = "SpatialFrequencyRe * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageWidth direction for main image. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -882,7 +882,7 @@ const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_X_RESOLUTION = "FocalPlaneXResolutio * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageLength direction for main image. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -892,7 +892,7 @@ const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_Y_RESOLUTION = "FocalPlaneYResolutio * @brief Unit of measurement for FocalPlaneXResolution(37390) and FocalPlaneYResolution(37391). * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -902,7 +902,7 @@ const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_RESOLUTION_UNIT = "FocalPlaneResolut * @brief Indicates the location and area of the main subject in the overall scene. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -912,7 +912,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_LOCATION = "SubjectLocation"; * @brief Encodes the camera exposure index setting when image was captured. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -922,7 +922,7 @@ const char *OHOS_IMAGE_PROPERTY_EXPOSURE_INDEX = "ExposureIndex"; * @brief Type of image sensor. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -933,7 +933,7 @@ const char *OHOS_IMAGE_PROPERTY_SENSING_METHOD = "SensingMethod"; * This indicates that the image was recorded on a DSC. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -944,7 +944,7 @@ const char *OHOS_IMAGE_PROPERTY_FILE_SOURCE = "FileSource"; * This is applicable when a one-chip color area sensor is used. It does not apply to all sensing methods. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -955,7 +955,7 @@ const char *OHOS_IMAGE_PROPERTY_CFA_PATTERN = "CFAPattern"; * When special processing is performed, the reader is expected to disable or minimize any further processing. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -966,7 +966,7 @@ const char *OHOS_IMAGE_PROPERTY_CUSTOM_RENDERED = "CustomRendered"; * the camera shoots a series of frames of the same scene at different exposure settings. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -977,7 +977,7 @@ const char *OHOS_IMAGE_PROPERTY_EXPOSURE_MODE = "ExposureMode"; * value is 0, this indicates that digital zoom was not used. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -988,7 +988,7 @@ const char *OHOS_IMAGE_PROPERTY_DIGITAL_ZOOM_RATIO = "DigitalZoomRatio"; * the image was shot. Note that this differs from the tag. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -998,7 +998,7 @@ const char *OHOS_IMAGE_PROPERTY_SCENE_CAPTURE_TYPE = "SceneCaptureType"; * @brief This tag indicates the degree of overall image gain adjustment. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1008,7 +1008,7 @@ const char *OHOS_IMAGE_PROPERTY_GAIN_CONTROL = "GainControl"; * @brief This tag indicates the direction of contrast processing applied by the camera when the image was shot. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1018,7 +1018,7 @@ const char *OHOS_IMAGE_PROPERTY_CONTRAST = "Contrast"; * @brief This tag indicates the direction of saturation processing applied by the camera when the image was shot. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1028,7 +1028,7 @@ const char *OHOS_IMAGE_PROPERTY_SATURATION = "Saturation"; * @brief This tag indicates the direction of sharpness processing applied by the camera when the image was shot. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1038,7 +1038,7 @@ const char *OHOS_IMAGE_PROPERTY_SHARPNESS = "Sharpness"; * @brief Indicates picture-taking conditions of a camera model. Used only to indicate conditions in the reader. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1048,7 +1048,7 @@ const char *OHOS_IMAGE_PROPERTY_DEVICE_SETTING_DESCRIPTION = "DeviceSettingDescr * @brief Indicates the distance to the subject. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1059,7 +1059,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE_RANGE = "SubjectDistanceRange"; * Recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1072,7 +1072,7 @@ const char *OHOS_IMAGE_PROPERTY_IMAGE_UNIQUE_ID = "ImageUniqueID"; * When the version is 2.0.0.0, the tag value is 02000000.H). * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1086,7 +1086,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_VERSION_ID = "GPSVersionID"; * The reference unit is meters. Note that this tag is BYTE type, unlike other reference tags. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1097,7 +1097,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE_REF = "GPSAltitudeRef"; * Altitude is expressed as one RATIONAL value. The reference unit is meters. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1111,7 +1111,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE = "GPSAltitude"; * NULL. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1122,7 +1122,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_SATELLITES = "GPSSatellites"; * "A" means measurement is in progress, and "V" means the measurement is Interoperability. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1133,7 +1133,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_STATUS = "GPSStatus"; * "2" means two-dimensional measurement and "3" means three-dimensional measurement is in progress. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1144,7 +1144,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_MEASURE_MODE = "GPSMeasureMode"; * measurement, and PDOP during three-dimensional measurement. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1155,7 +1155,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DOP = "GPSDOP"; * represents kilometers per hour, miles per hour, and knots. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1165,7 +1165,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_SPEED_REF = "GPSSpeedRef"; * @brief Indicates the speed of GPS receiver movement. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1176,7 +1176,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_SPEED = "GPSSpeed"; * direction and "M" is magnetic direction. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1186,7 +1186,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_TRACK_REF = "GPSTrackRef"; * @brief Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1197,7 +1197,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_TRACK = "GPSTrack"; * true direction and "M" is magnetic direction. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1208,7 +1208,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION_REF = "GPSImgDirectionRef"; * It is used in {@link OH_ImageSource_GetImageProperty} and * {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1219,7 +1219,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION = "GPSImgDirection"; * Japan, the value of this tag is "TOKYO" or "WGS-84". * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1230,7 +1230,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_MAP_DATUM = "GPSMapDatum"; * value "N" indicates north latitude, and "S" is south latitude. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1243,7 +1243,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE_REF = "GPSDestLatitudeRef"; * for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1254,7 +1254,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE = "GPSDestLatitude"; * indicates east longitude, and "W" is west longitude. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1265,7 +1265,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE_REF = "GPSDestLongitudeRef"; * is defined using the same scheme as UserComment. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1276,7 +1276,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_PROCESSING_METHOD = "GPSProcessingMethod"; * same scheme as UserComment. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1286,7 +1286,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_AREA_INFORMATION = "GPSAreaInformation"; * @brief Indicates whether differential correction is applied to the GPS receiver. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1296,7 +1296,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DIFFERENTIAL = "GPSDifferential"; * @brief This tag records the serial number of the body of the camera that was used in photography as an ASCII string. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1306,7 +1306,7 @@ const char *OHOS_IMAGE_PROPERTY_BODY_SERIAL_NUMBER = "BodySerialNumber"; * @brief This tag records the owner of a camera used in photography as an ASCII string. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1316,7 +1316,7 @@ const char *OHOS_IMAGE_PROPERTY_CAMERA_OWNER_NAME = "CameraOwnerName"; * @brief Indicates whether the recorded image is a composite image or not. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1327,7 +1327,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPOSITE_IMAGE = "CompositeImage"; * the DNG specification, this tag should contain the bytes: 1, 1, 0, 0. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1340,7 +1340,7 @@ const char *OHOS_IMAGE_PROPERTY_DNG_VERSION = "DNGVersion"; * for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1351,7 +1351,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE = "GPSDestLongitude"; * direction and "M" is magnetic direction. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1361,7 +1361,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING_REF = "GPSDestBearingRef"; * @brief Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1372,7 +1372,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING = "GPSDestBearing"; * represent kilometers, miles and knots. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1382,7 +1382,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE_REF = "GPSDestDistanceRef"; * @brief Indicates the distance to the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1395,7 +1395,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE = "GPSDestDistance"; * applied). * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1407,7 +1407,7 @@ const char *OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; * and input value indicate normalized value, whose minimum value is 0 and maximum value is 1. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1419,7 +1419,7 @@ const char *OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; * ISOSpeedLatitudezzz. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1431,7 +1431,7 @@ const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; * ISOSpeedLatitudeyyy. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1441,7 +1441,7 @@ const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEZZZ = "ISOSpeedLatitudezzz"; * @brief This tag records the lens manufactor as an ASCII string. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1451,7 +1451,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_MAKE = "LensMake"; * @brief This tag records the lens's model name and model number as an ASCII string. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1462,7 +1462,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_MODEL = "LensModel"; * an ASCII string. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1474,7 +1474,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_SERIAL_NUMBER = "LensSerialNumber"; * used in photography. When the minimum F number is unknown, the notation is 0/0 * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1484,7 +1484,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_SPECIFICATION = "LensSpecification"; * @brief A general indication of the kind of data contained in this subfile. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1494,7 +1494,7 @@ const char *OHOS_IMAGE_PROPERTY_NEW_SUBFILE_TYPE = "NewSubfileType"; * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTime tag. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1504,7 +1504,7 @@ const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME = "OffsetTime"; * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeDigitized tag. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1514,7 +1514,7 @@ const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_DIGITIZED = "OffsetTimeDigitized"; * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeOriginal tag. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1525,7 +1525,7 @@ const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_ORIGINAL = "OffsetTimeOriginal"; * the said composite image, such as respective exposure times of captured source images (tentatively recorded images). * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1535,7 +1535,7 @@ const char *OHOS_IMAGE_PROPERTY_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = "Sour * @brief Indicates the number of the source images (tentatively recorded images) captured for a composite Image. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1546,7 +1546,7 @@ const char *OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "Source * The NewSubfileType field should be used instead. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1556,7 +1556,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; * @brief This tag indicates horizontal positioning errors in meters. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1566,7 +1566,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_H_POSITIONING_ERROR = "GPSHPositioningError" * @brief Burst Number * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1576,7 +1576,7 @@ const char *OHOS_IMAGE_PROPERTY_BURST_NUMBER = "HwMnoteBurstNumber"; * @brief Face Conf * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1586,7 +1586,7 @@ const char *OHOS_IMAGE_PROPERTY_FACE_CONF = "HwMnoteFaceConf"; * @brief Face Leye Center * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ @@ -1596,7 +1596,7 @@ const char *OHOS_IMAGE_PROPERTY_FACE_LEYE_CENTER = "HwMnoteFaceLeyeCenter"; * @brief Face Mouth Center * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * - * @Syscap SystemCapability.Multimedia.Image + * @syscap SystemCapability.Multimedia.Image * @since 12 * @version 5.0 */ -- Gitee From a0ed4b1b7b8c403bde2656c25362a9df678aa328 Mon Sep 17 00:00:00 2001 From: caoyawen05 Date: Fri, 22 Mar 2024 20:18:23 +0800 Subject: [PATCH 5/8] =?UTF-8?q?=E6=8D=A2=E6=B3=A8=E9=87=8A=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0143856ef43245ff93160785ad00d9e3c70cf449 Signed-off-by: caoyawen05 --- .../include/image/image_common.h | 289 +++++++----------- 1 file changed, 109 insertions(+), 180 deletions(-) diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h index 05eb7899a..482fd6993 100644 --- a/multimedia/image_framework/include/image/image_common.h +++ b/multimedia/image_framework/include/image/image_common.h @@ -194,7 +194,7 @@ typedef enum { IMAGE_RESULT_MEDIA_SOURCE_NOT_SET = IMAGE_RESULT_BASE + 64, // media source not set IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_INIT = IMAGE_RESULT_BASE + 65, // media rtsp adapter not init IMAGE_RESULT_MEDIA_RTSP_ADAPTER_NOT_EXIST = IMAGE_RESULT_BASE + 66, // media rtsp adapter not exist - IMAGE_RESULT_MEDIA_RTSP_SURFACE_UNSUPPORT = IMAGE_RESULT_BASE + 67, // media rtsp surface not support + IMAGE_RESULT_MEDIA_RTSP_SURFACE_UNSUPPORTED = IMAGE_RESULT_BASE + 67, // media rtsp surface unsupported IMAGE_RESULT_MEDIA_RTSP_CAPTURE_NOT_INIT = IMAGE_RESULT_BASE + 68, // media rtsp capture init error IMAGE_RESULT_MEDIA_RTSP_SOURCE_URL_INVALID = IMAGE_RESULT_BASE + 69, // media rtsp source url invalid IMAGE_RESULT_MEDIA_RTSP_VIDEO_TRACK_NOT_FOUND = IMAGE_RESULT_BASE + 70, // media rtsp can't find video track @@ -433,8 +433,7 @@ const char *OHOS_IMAGE_PROPERTY_F_NUMBER = "FNumber"; const char *OHOS_IMAGE_PROPERTY_COMPRESSED_BITS_PER_PIXEL = "CompressedBitsPerPixel"; /** - * @brief Compression scheme for image data. If primary image is JPEG compressed, this is omitted. - * If thumbnails use JPEG compression, this tag value is set to 6. + * @brief The scheme used for image compression. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -444,7 +443,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPRESSED_BITS_PER_PIXEL = "CompressedBitsPerPi const char *OHOS_IMAGE_PROPERTY_COMPRESSION = "Compression"; /** - * @brief The pixel composition. In JPEG compressed data a JPEG marker is used instead. + * @brief Pixel composition, such as RGB or YCbCr. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -454,8 +453,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPRESSION = "Compression"; const char *OHOS_IMAGE_PROPERTY_PHOTOMETRIC_INTERPRETATION = "PhotometricInterpretation"; /** - * @brief Byte offset of each strip. Recommended to select so strip bytes do not exceed 64 Kbytes. - * With JPEG compressed data this is not needed and is omitted. See also and . + * @brief For each strip, the byte offset of that strip. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -465,8 +463,7 @@ const char *OHOS_IMAGE_PROPERTY_PHOTOMETRIC_INTERPRETATION = "PhotometricInterpr const char *OHOS_IMAGE_PROPERTY_STRIP_OFFSETS = "StripOffsets"; /** - * @brief Number of components per pixel. This standard applies to RGB and YCbCr images, so the value is 3. - * In JPEG compressed data a JPEG marker is used instead. + * @brief The number of components per pixel. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -476,8 +473,7 @@ const char *OHOS_IMAGE_PROPERTY_STRIP_OFFSETS = "StripOffsets"; const char *OHOS_IMAGE_PROPERTY_SAMPLES_PER_PIXEL = "SamplesPerPixel"; /** - * @brief Number of rows per strip. This is the number of rows in one strip when an image is divided into strips. - * With JPEG compressed data this is not needed and is omitted. See also and . + * @brief The number of rows per strip of image data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -487,7 +483,7 @@ const char *OHOS_IMAGE_PROPERTY_SAMPLES_PER_PIXEL = "SamplesPerPixel"; const char *OHOS_IMAGE_PROPERTY_ROWS_PER_STRIP = "RowsPerStrip"; /** - * @brief Total bytes in each strip. Not needed and omitted for JPEG compressed data. + * @brief The total number of bytes in each strip of image data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -497,7 +493,7 @@ const char *OHOS_IMAGE_PROPERTY_ROWS_PER_STRIP = "RowsPerStrip"; const char *OHOS_IMAGE_PROPERTY_STRIP_BYTE_COUNTS = "StripByteCounts"; /** - * @brief Pixels per in direction. If unknown, 72 [dpi] is used. + * @brief The image resolution in the width direction. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -507,7 +503,7 @@ const char *OHOS_IMAGE_PROPERTY_STRIP_BYTE_COUNTS = "StripByteCounts"; const char *OHOS_IMAGE_PROPERTY_X_RESOLUTION = "XResolution"; /** - * @brief Pixels per in direction. Same value as is used. + * @brief The image resolution in the height direction. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -517,8 +513,7 @@ const char *OHOS_IMAGE_PROPERTY_X_RESOLUTION = "XResolution"; const char *OHOS_IMAGE_PROPERTY_Y_RESOLUTION = "YResolution"; /** - * @brief Indicates pixel components format. In JPEG files a JPEG marker is used instead. If absent, 1 (chunky) - * is assumed. + * @brief Indicates whether pixel components are recorded in a chunky or planar format. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -528,7 +523,7 @@ const char *OHOS_IMAGE_PROPERTY_Y_RESOLUTION = "YResolution"; const char *OHOS_IMAGE_PROPERTY_PLANAR_CONFIGURATION = "PlanarConfiguration"; /** - * @brief Unit for and . Same unit for both. If unknown, 2 (inches) is used. + * @brief The unit used to measure XResolution and YResolution. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -538,8 +533,8 @@ const char *OHOS_IMAGE_PROPERTY_PLANAR_CONFIGURATION = "PlanarConfiguration"; const char *OHOS_IMAGE_PROPERTY_RESOLUTION_UNIT = "ResolutionUnit"; /** - * @brief Image transfer function, described in tabular style. Not necessary if color space is specified in - * . Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * @brief The transfer function for the image, typically used for color correction. + * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image * @since 12 @@ -548,7 +543,7 @@ const char *OHOS_IMAGE_PROPERTY_RESOLUTION_UNIT = "ResolutionUnit"; const char *OHOS_IMAGE_PROPERTY_TRANSFER_FUNCTION = "TransferFunction"; /** - * @brief Records software or firmware name and version used to generate the image. If blank, treated as unknown. + * @brief The name and version of the software used to generate the image. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -558,8 +553,7 @@ const char *OHOS_IMAGE_PROPERTY_TRANSFER_FUNCTION = "TransferFunction"; const char *OHOS_IMAGE_PROPERTY_SOFTWARE = "Software"; /** - * @brief Records name of camera owner, photographer or image creator. If blank, treated as unknown. - * Ex.) "Camera owner, John Smith; Photographer, Michael Brown; Image creator, Ken James" + * @brief The name of the person who created the image. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -569,7 +563,7 @@ const char *OHOS_IMAGE_PROPERTY_SOFTWARE = "Software"; const char *OHOS_IMAGE_PROPERTY_ARTIST = "Artist"; /** - * @brief Chromaticity of the image's white point. Not necessary if color space is specified in . + * @brief The chromaticity of the white point of the image. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -579,7 +573,7 @@ const char *OHOS_IMAGE_PROPERTY_ARTIST = "Artist"; const char *OHOS_IMAGE_PROPERTY_WHITE_POINT = "WhitePoint"; /** - * @brief Chromaticity of the image's three primary colors. Not necessary if color space is specified in . + * @brief The chromaticity of the primary colors of the image. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -589,8 +583,7 @@ const char *OHOS_IMAGE_PROPERTY_WHITE_POINT = "WhitePoint"; const char *OHOS_IMAGE_PROPERTY_PRIMARY_CHROMATICITIES = "PrimaryChromaticities"; /** - * @brief Matrix coefficients for RGB to YCbCr transformation. No TIFF default; value from Appendix E is used. - * Color space is declared in a color space information tag. + * @brief The matrix coefficients for transformation from RGB to YCbCr image data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -600,7 +593,7 @@ const char *OHOS_IMAGE_PROPERTY_PRIMARY_CHROMATICITIES = "PrimaryChromaticities" const char *OHOS_IMAGE_PROPERTY_YCBCR_COEFFICIENTS = "YCbCrCoefficients"; /** - * @brief Sampling ratio of chrominance to luminance. In JPEG data a JPEG marker is used instead. + * @brief The sampling ratio of chrominance components to the luminance component. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -610,8 +603,7 @@ const char *OHOS_IMAGE_PROPERTY_YCBCR_COEFFICIENTS = "YCbCrCoefficients"; const char *OHOS_IMAGE_PROPERTY_YCBCR_SUB_SAMPLING = "YCbCrSubSampling"; /** - * @brief Position of chrominance to luminance. Only for JPEG or uncompressed YCbCr data. TIFF default is 1 (centered). - * For Y:Cb:Cr = 4:2:2, 2 (co-sited) is recommended. If absent, TIFF default is assumed. + * @brief The position of chrominance components in relation to the luminance component. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -621,8 +613,7 @@ const char *OHOS_IMAGE_PROPERTY_YCBCR_SUB_SAMPLING = "YCbCrSubSampling"; const char *OHOS_IMAGE_PROPERTY_YCBCR_POSITIONING = "YCbCrPositioning"; /** - * @brief Reference black and white point values. No TIFF defaults; values here are defaults. - * Color space is declared in a color space information tag. + * @brief The reference black point value and reference white point value. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -632,8 +623,7 @@ const char *OHOS_IMAGE_PROPERTY_YCBCR_POSITIONING = "YCbCrPositioning"; const char *OHOS_IMAGE_PROPERTY_REFERENCE_BLACK_WHITE = "ReferenceBlackWhite"; /** - * @brief Copyright information for photographer and editor. If blank, treated as unknown. - * Format: "Copyright, John Smith, 19xx. All rights reserved.". + * @brief Copyright information for the image. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -643,7 +633,7 @@ const char *OHOS_IMAGE_PROPERTY_REFERENCE_BLACK_WHITE = "ReferenceBlackWhite"; const char *OHOS_IMAGE_PROPERTY_COPYRIGHT = "Copyright"; /** - * @brief Offset to start byte of JPEG thumbnail data. Not used for primary image JPEG data. + * @brief The offset to the start byte (SOI) of JPEG compressed thumbnail data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -653,8 +643,7 @@ const char *OHOS_IMAGE_PROPERTY_COPYRIGHT = "Copyright"; const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT = "JPEGInterchangeFormat"; /** - * @brief Number of bytes of JPEG thumbnail data. Not used for primary image JPEG data. - * JPEG thumbnails are continuous bitstream from SOI to EOI. Must be recorded in no more than 64 Kbytes. + * @brief The number of bytes of JPEG compressed thumbnail data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -664,7 +653,7 @@ const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT = "JPEGInterchangeFormat const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT_LENGTH = "JPEGInterchangeFormatLength"; /** - * @brief Class of the program used by the camera to set exposure. + * @brief The class of the program used by the camera to set exposure when the picture is taken. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -674,7 +663,7 @@ const char *OHOS_IMAGE_PROPERTY_JPEG_INTERCHANGE_FORMAT_LENGTH = "JPEGInterchang const char *OHOS_IMAGE_PROPERTY_EXPOSURE_PROGRAM = "ExposureProgram"; /** - * @brief Spectral sensitivity of each channel of the camera used. + * @brief Indicates the spectral sensitivity of each channel of the camera used. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -684,7 +673,7 @@ const char *OHOS_IMAGE_PROPERTY_EXPOSURE_PROGRAM = "ExposureProgram"; const char *OHOS_IMAGE_PROPERTY_SPECTRAL_SENSITIVITY = "SpectralSensitivity"; /** - * @brief Opto-Electric Conversion Function (OECF) specified in ISO 14524. + * @brief Indicates the Opto-Electric Conversion Function (OECF) specified in ISO 14524. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -694,7 +683,7 @@ const char *OHOS_IMAGE_PROPERTY_SPECTRAL_SENSITIVITY = "SpectralSensitivity"; const char *OHOS_IMAGE_PROPERTY_OECF = "OECF"; /** - * @brief Supported version of this standard. Nonexistence means nonconformance to the standard. + * @brief The version of the Exif standard supported. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -704,7 +693,7 @@ const char *OHOS_IMAGE_PROPERTY_OECF = "OECF"; const char *OHOS_IMAGE_PROPERTY_EXIF_VERSION = "ExifVersion"; /** - * @brief Date and time when the image was stored as digital data. + * @brief The date and time when the image was stored as digital data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -714,7 +703,7 @@ const char *OHOS_IMAGE_PROPERTY_EXIF_VERSION = "ExifVersion"; const char *OHOS_IMAGE_PROPERTY_DATE_TIME_DIGITIZED = "DateTimeDigitized"; /** - * @brief Info specific to compressed data. For uncompressed data, see tag. + * @brief Information specific to compressed data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -724,7 +713,7 @@ const char *OHOS_IMAGE_PROPERTY_DATE_TIME_DIGITIZED = "DateTimeDigitized"; const char *OHOS_IMAGE_PROPERTY_COMPONENTS_CONFIGURATION = "ComponentsConfiguration"; /** - * @brief Shutter speed. + * @brief The shutter speed, expressed as an APEX (Additive System of Photographic Exposure) value. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -734,7 +723,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPONENTS_CONFIGURATION = "ComponentsConfigurat const char *OHOS_IMAGE_PROPERTY_SHUTTER_SPEED_VALUE = "ShutterSpeedValue"; /** - * @brief The value of brightness. + * @brief The brightness value of the image, in APEX units. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -744,7 +733,7 @@ const char *OHOS_IMAGE_PROPERTY_SHUTTER_SPEED_VALUE = "ShutterSpeedValue"; const char *OHOS_IMAGE_PROPERTY_BRIGHTNESS_VALUE = "BrightnessValue"; /** - * @brief The smallest F number of the lens. + * @brief The smallest F number of lens. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -754,7 +743,7 @@ const char *OHOS_IMAGE_PROPERTY_BRIGHTNESS_VALUE = "BrightnessValue"; const char *OHOS_IMAGE_PROPERTY_MAX_APERTURE_VALUE = "MaxApertureValue"; /** - * @brief The distance to the subject, given in meters. + * @brief The distance to the subject, measured in meters. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -764,7 +753,7 @@ const char *OHOS_IMAGE_PROPERTY_MAX_APERTURE_VALUE = "MaxApertureValue"; const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE = "SubjectDistance"; /** - * @brief This tag indicates the location and area of the main subject in the overall scene. + * @brief This tag indicate the location and area of the main subject in the overall scene. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -774,8 +763,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE = "SubjectDistance"; const char *OHOS_IMAGE_PROPERTY_SUBJECT_AREA = "SubjectArea"; /** - * @brief A tag for manufacturers of Exif writers to record any desired information. The contents are up to - * the manufacturer. + * @brief A tag for manufacturers of Exif/DCF writers to record any desired infomation. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -785,7 +773,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_AREA = "SubjectArea"; const char *OHOS_IMAGE_PROPERTY_MAKER_NOTE = "MakerNote"; /** - * @brief A tag used to record fractions of seconds for the tag. + * @brief A tag for record fractions of seconds for the DateTime tag. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -795,7 +783,7 @@ const char *OHOS_IMAGE_PROPERTY_MAKER_NOTE = "MakerNote"; const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME = "SubsecTime"; /** - * @brief A tag used to record fractions of seconds for the tag. + * @brief A tag used to record fractions of seconds for the DateTimeOriginal tag. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -805,7 +793,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME = "SubsecTime"; const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_ORIGINAL = "SubsecTimeOriginal"; /** - * @brief A tag used to record fractions of seconds for the tag. + * @brief A tag used to record fractions of seconds for the DateTimeDigitized tag. * It is used in {@link OH_ImageSource_GetImageProperty} and { * @syscap SystemCapability.Multimedia.Image * @since 12 @@ -814,7 +802,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_ORIGINAL = "SubsecTimeOriginal"; const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_DIGITIZED = "SubsecTimeDigitized"; /** - * @brief The FlashPix format version supported by a FPXR file. + * @brief This tag denotes the Flashpix format version supported by an FPXR file, enhancing device compatibility. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -824,10 +812,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBSEC_TIME_DIGITIZED = "SubsecTimeDigitized"; const char *OHOS_IMAGE_PROPERTY_FLASHPIX_VERSION = "FlashpixVersion"; /** - * @brief The color space information tag is always recorded as the color space specifier. - * Normally sRGB is used based on the PC monitor conditions and environment. If a color space - * other than sRGB is used, Uncalibrated is set. Image data recorded as Uncalibrated can be - * treated as sRGB when it is converted to FlashPix. + * @brief The color space information tag, often recorded as the color space specifier. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -837,9 +822,7 @@ const char *OHOS_IMAGE_PROPERTY_FLASHPIX_VERSION = "FlashpixVersion"; const char *OHOS_IMAGE_PROPERTY_COLOR_SPACE = "ColorSpace"; /** - * @brief This tag is used to record the name of an audio file related to the image data. - * The only relational information recorded here is the Exif audio file name and extension - * (an ASCII string consisting of 8 characters + '.' + 3 characters). The path is not recorded. + * @brief The name of an audio file related to the image data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -849,7 +832,7 @@ const char *OHOS_IMAGE_PROPERTY_COLOR_SPACE = "ColorSpace"; const char *OHOS_IMAGE_PROPERTY_RELATED_SOUND_FILE = "RelatedSoundFile"; /** - * @brief Amount of flash energy (BCPS). + * @brief Strobe energy at image capture, in BCPS. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -859,7 +842,7 @@ const char *OHOS_IMAGE_PROPERTY_RELATED_SOUND_FILE = "RelatedSoundFile"; const char *OHOS_IMAGE_PROPERTY_FLASH_ENERGY = "FlashEnergy"; /** - * @brief SFR of the camera. + * @brief Camera or input device spatial frequency table. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -869,7 +852,7 @@ const char *OHOS_IMAGE_PROPERTY_FLASH_ENERGY = "FlashEnergy"; const char *OHOS_IMAGE_PROPERTY_SPATIAL_FREQUENCY_RESPONSE = "SpatialFrequencyResponse"; /** - * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageWidth direction for main image. + * @brief Pixels per FocalPlaneResolutionUnit in the image width. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -879,7 +862,7 @@ const char *OHOS_IMAGE_PROPERTY_SPATIAL_FREQUENCY_RESPONSE = "SpatialFrequencyRe const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_X_RESOLUTION = "FocalPlaneXResolution"; /** - * @brief Number of pixels per FocalPlaneResolutionUnit (37392) in ImageLength direction for main image. + * @brief Pixels per FocalPlaneResolutionUnit in the image height. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -889,7 +872,7 @@ const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_X_RESOLUTION = "FocalPlaneXResolutio const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_Y_RESOLUTION = "FocalPlaneYResolution"; /** - * @brief Unit of measurement for FocalPlaneXResolution(37390) and FocalPlaneYResolution(37391). + * @brief Unit for measuring FocalPlaneXResolution and FocalPlaneYResolution. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -899,7 +882,7 @@ const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_Y_RESOLUTION = "FocalPlaneYResolutio const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_RESOLUTION_UNIT = "FocalPlaneResolutionUnit"; /** - * @brief Indicates the location and area of the main subject in the overall scene. + * @brief Location of the main subject, relative to the left edge. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -909,7 +892,7 @@ const char *OHOS_IMAGE_PROPERTY_FOCAL_PLANE_RESOLUTION_UNIT = "FocalPlaneResolut const char *OHOS_IMAGE_PROPERTY_SUBJECT_LOCATION = "SubjectLocation"; /** - * @brief Encodes the camera exposure index setting when image was captured. + * @brief Selected exposure index at capture. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -919,7 +902,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_LOCATION = "SubjectLocation"; const char *OHOS_IMAGE_PROPERTY_EXPOSURE_INDEX = "ExposureIndex"; /** - * @brief Type of image sensor. + * @brief Image sensor type on the camera. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -929,8 +912,7 @@ const char *OHOS_IMAGE_PROPERTY_EXPOSURE_INDEX = "ExposureIndex"; const char *OHOS_IMAGE_PROPERTY_SENSING_METHOD = "SensingMethod"; /** - * @brief Indicates the image source. If a DSC recorded the image, this tag value always be set to 3. - * This indicates that the image was recorded on a DSC. + * @brief Indicates the image source. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -940,8 +922,7 @@ const char *OHOS_IMAGE_PROPERTY_SENSING_METHOD = "SensingMethod"; const char *OHOS_IMAGE_PROPERTY_FILE_SOURCE = "FileSource"; /** - * @brief Indicates the color filter array (CFA) geometric pattern of the image sensor. - * This is applicable when a one-chip color area sensor is used. It does not apply to all sensing methods. + * @brief Color filter array (CFA) geometric pattern of the image sensor. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -951,8 +932,7 @@ const char *OHOS_IMAGE_PROPERTY_FILE_SOURCE = "FileSource"; const char *OHOS_IMAGE_PROPERTY_CFA_PATTERN = "CFAPattern"; /** - * @brief Indicates the use of special processing on image data, such as rendering geared to output. - * When special processing is performed, the reader is expected to disable or minimize any further processing. + * @brief Indicates special processing on image data. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -962,8 +942,7 @@ const char *OHOS_IMAGE_PROPERTY_CFA_PATTERN = "CFAPattern"; const char *OHOS_IMAGE_PROPERTY_CUSTOM_RENDERED = "CustomRendered"; /** - * @brief Indicates the exposure mode set when the image was shot. In auto-bracketing mode, - * the camera shoots a series of frames of the same scene at different exposure settings. + * @brief Exposure mode set when the image was shot. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -973,8 +952,7 @@ const char *OHOS_IMAGE_PROPERTY_CUSTOM_RENDERED = "CustomRendered"; const char *OHOS_IMAGE_PROPERTY_EXPOSURE_MODE = "ExposureMode"; /** - * @brief Indicates the digital zoom ratio when the image was shot. If the numerator of the recorded - * value is 0, this indicates that digital zoom was not used. + * @brief Digital zoom ratio at the time of capture. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -984,8 +962,7 @@ const char *OHOS_IMAGE_PROPERTY_EXPOSURE_MODE = "ExposureMode"; const char *OHOS_IMAGE_PROPERTY_DIGITAL_ZOOM_RATIO = "DigitalZoomRatio"; /** - * @brief Indicates the type of scene that was shot. It can also be used to record the mode in which - * the image was shot. Note that this differs from the tag. + * @brief Type of scene captured. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -995,7 +972,7 @@ const char *OHOS_IMAGE_PROPERTY_DIGITAL_ZOOM_RATIO = "DigitalZoomRatio"; const char *OHOS_IMAGE_PROPERTY_SCENE_CAPTURE_TYPE = "SceneCaptureType"; /** - * @brief This tag indicates the degree of overall image gain adjustment. + * @brief Degree of overall image gain adjustment. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1005,7 +982,7 @@ const char *OHOS_IMAGE_PROPERTY_SCENE_CAPTURE_TYPE = "SceneCaptureType"; const char *OHOS_IMAGE_PROPERTY_GAIN_CONTROL = "GainControl"; /** - * @brief This tag indicates the direction of contrast processing applied by the camera when the image was shot. + * @brief Direction of contrast processing applied by the camera. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1015,7 +992,7 @@ const char *OHOS_IMAGE_PROPERTY_GAIN_CONTROL = "GainControl"; const char *OHOS_IMAGE_PROPERTY_CONTRAST = "Contrast"; /** - * @brief This tag indicates the direction of saturation processing applied by the camera when the image was shot. + * @brief Direction of saturation processing applied by the camera. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1025,7 +1002,7 @@ const char *OHOS_IMAGE_PROPERTY_CONTRAST = "Contrast"; const char *OHOS_IMAGE_PROPERTY_SATURATION = "Saturation"; /** - * @brief This tag indicates the direction of sharpness processing applied by the camera when the image was shot. + * @brief The direction of sharpness processing applied by the camera. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1035,7 +1012,7 @@ const char *OHOS_IMAGE_PROPERTY_SATURATION = "Saturation"; const char *OHOS_IMAGE_PROPERTY_SHARPNESS = "Sharpness"; /** - * @brief Indicates picture-taking conditions of a camera model. Used only to indicate conditions in the reader. + * @brief Information on picture-taking conditions for a specific camera model. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1045,7 +1022,7 @@ const char *OHOS_IMAGE_PROPERTY_SHARPNESS = "Sharpness"; const char *OHOS_IMAGE_PROPERTY_DEVICE_SETTING_DESCRIPTION = "DeviceSettingDescription"; /** - * @brief Indicates the distance to the subject. + * @brief Indicates the distance range to the subject. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1055,8 +1032,7 @@ const char *OHOS_IMAGE_PROPERTY_DEVICE_SETTING_DESCRIPTION = "DeviceSettingDescr const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE_RANGE = "SubjectDistanceRange"; /** - * @brief Indicates an identifier assigned uniquely to each image. - * Recorded as an ASCII string equivalent to hexadecimal notation and 128-bit fixed length. + * @brief An identifier uniquely assigned to each image. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1066,10 +1042,7 @@ const char *OHOS_IMAGE_PROPERTY_SUBJECT_DISTANCE_RANGE = "SubjectDistanceRange"; const char *OHOS_IMAGE_PROPERTY_IMAGE_UNIQUE_ID = "ImageUniqueID"; /** - * @brief Indicates the version of . Given as 2.0.0.0. - * This tag is mandatory when tag is present. - * (Note: The tag is given in bytes, unlike the tag. - * When the version is 2.0.0.0, the tag value is 02000000.H). + * @brief The version of the GPSInfoIFD. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1079,11 +1052,7 @@ const char *OHOS_IMAGE_PROPERTY_IMAGE_UNIQUE_ID = "ImageUniqueID"; const char *OHOS_IMAGE_PROPERTY_GPS_VERSION_ID = "GPSVersionID"; /** - * @brief Indicates the reference altitude. If the reference is sea level and the altitude is above sea level, - * 0 is given. - * If the altitude is below sea level, a value of 1 is given and the altitude is indicated as an absolute value - * in the GSPAltitude tag. - * The reference unit is meters. Note that this tag is BYTE type, unlike other reference tags. + * @brief Reference altitude used for GPS altitude. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1093,8 +1062,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_VERSION_ID = "GPSVersionID"; const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE_REF = "GPSAltitudeRef"; /** - * @brief Indicates the altitude based on the reference in GPSAltitudeRef. - * Altitude is expressed as one RATIONAL value. The reference unit is meters. + * @brief The altitude based on the reference in GPSAltitudeRef. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1104,11 +1072,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE_REF = "GPSAltitudeRef"; const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE = "GPSAltitude"; /** - * @brief Indicates the GPS satellites used for measurements. - * This tag can be used to describe the number of satellites, their ID number, angle of elevation, azimuth, SNR and - * other information in ASCII notation. - * The format is not specified. If the GPS receiver is incapable of taking measurements, value of the tag is set to - * NULL. + * @brief The GPS satellites used for measurements. * Used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1118,8 +1082,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_ALTITUDE = "GPSAltitude"; const char *OHOS_IMAGE_PROPERTY_GPS_SATELLITES = "GPSSatellites"; /** - * @brief Indicates the status of the GPS receiver when the image is recorded. - * "A" means measurement is in progress, and "V" means the measurement is Interoperability. + * @brief The status of the GPS receiver when the image is recorded. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1129,8 +1092,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_SATELLITES = "GPSSatellites"; const char *OHOS_IMAGE_PROPERTY_GPS_STATUS = "GPSStatus"; /** - * @brief Indicates the GPS measurement mode. - * "2" means two-dimensional measurement and "3" means three-dimensional measurement is in progress. + * @brief The GPS measurement mode. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1140,8 +1102,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_STATUS = "GPSStatus"; const char *OHOS_IMAGE_PROPERTY_GPS_MEASURE_MODE = "GPSMeasureMode"; /** - * @brief Indicates the GPS DOP (data degree of precision). An HDOP value is written during two-dimensional - * measurement, and PDOP during three-dimensional measurement. + * @brief The GPS DOP (data degree of precision). * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1151,8 +1112,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_MEASURE_MODE = "GPSMeasureMode"; const char *OHOS_IMAGE_PROPERTY_GPS_DOP = "GPSDOP"; /** - * @brief Indicates the unit used to express the GPS receiver speed of movement. "K" "M" and "N" - * represents kilometers per hour, miles per hour, and knots. + * @brief The unit used to express the GPS receiver speed of movement. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1162,7 +1122,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DOP = "GPSDOP"; const char *OHOS_IMAGE_PROPERTY_GPS_SPEED_REF = "GPSSpeedRef"; /** - * @brief Indicates the speed of GPS receiver movement. + * @brief The speed of GPS receiver movement. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1172,8 +1132,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_SPEED_REF = "GPSSpeedRef"; const char *OHOS_IMAGE_PROPERTY_GPS_SPEED = "GPSSpeed"; /** - * @brief Indicates the reference for giving the direction of GPS receiver movement. "T" denotes true - * direction and "M" is magnetic direction. + * @brief The reference for giving the direction of GPS receiver movement. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1183,7 +1142,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_SPEED = "GPSSpeed"; const char *OHOS_IMAGE_PROPERTY_GPS_TRACK_REF = "GPSTrackRef"; /** - * @brief Indicates the direction of GPS receiver movement. The range of values is from 0.00 to 359.99. + * @brief The direction of GPS receiver movement. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1193,8 +1152,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_TRACK_REF = "GPSTrackRef"; const char *OHOS_IMAGE_PROPERTY_GPS_TRACK = "GPSTrack"; /** - * @brief Indicates the reference for giving the direction of the image when it is captured. "T" denotes - * true direction and "M" is magnetic direction. + * @brief The reference for the image's direction. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1204,9 +1162,8 @@ const char *OHOS_IMAGE_PROPERTY_GPS_TRACK = "GPSTrack"; const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION_REF = "GPSImgDirectionRef"; /** - * @brief Indicates the direction of the image when it was captured. The range of values is from 0.00 to 359.99. - * It is used in {@link OH_ImageSource_GetImageProperty} and - * {@link OH_ImageSource_ModifyImageProperty}. + * @brief The direction of the image when captured. + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image * @since 12 @@ -1215,8 +1172,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION_REF = "GPSImgDirectionRef"; const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION = "GPSImgDirection"; /** - * @brief Indicates the geodetic survey data used by the GPS receiver. If the survey data is restricted to - * Japan, the value of this tag is "TOKYO" or "WGS-84". + * @brief Geodetic survey data used by the GPS receiver. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1226,8 +1182,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_IMG_DIRECTION = "GPSImgDirection"; const char *OHOS_IMAGE_PROPERTY_GPS_MAP_DATUM = "GPSMapDatum"; /** - * @brief Indicates whether the latitude of the destination point is north or south latitude. The ASCII - * value "N" indicates north latitude, and "S" is south latitude. + * @brief Indicates the latitude reference of the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1237,10 +1192,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_MAP_DATUM = "GPSMapDatum"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE_REF = "GPSDestLatitudeRef"; /** - * @brief Indicates the latitude of the destination point. The latitude is expressed as three RATIONAL - * values giving the degrees, minutes, and seconds, respectively. If latitude is expressed as degrees, - * minutes and seconds, a typical format would be dd/1,mm/1,ss/1. When degrees and minutes are used and, - * for example, fractions of minutes are given up to two decimal places, the format would be dd/1,mmmm/100,0/1. + * @brief The latitude of the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1250,8 +1202,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE_REF = "GPSDestLatitudeRef"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE = "GPSDestLatitude"; /** - * @brief Indicates whether the longitude of the destination point is east or west longitude. ASCII "E" - * indicates east longitude, and "W" is west longitude. + * @brief Indicates the longitude reference of the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1261,8 +1212,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LATITUDE = "GPSDestLatitude"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE_REF = "GPSDestLongitudeRef"; /** - * @brief A character string recording the name of the method used for location finding. The string encoding - * is defined using the same scheme as UserComment. + * @brief A character string recording the name of the method used for location finding. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1272,8 +1222,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE_REF = "GPSDestLongitudeRef"; const char *OHOS_IMAGE_PROPERTY_GPS_PROCESSING_METHOD = "GPSProcessingMethod"; /** - * @brief A character string recording the name of the GPS area.The string encoding is defined using the - * same scheme as UserComment. + * @brief A character string recording the name of the GPS area. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1283,7 +1232,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_PROCESSING_METHOD = "GPSProcessingMethod"; const char *OHOS_IMAGE_PROPERTY_GPS_AREA_INFORMATION = "GPSAreaInformation"; /** - * @brief Indicates whether differential correction is applied to the GPS receiver. + * @brief This field denotes if differential correction was applied to GPS data, crucial for precise location accuracy. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1293,7 +1242,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_AREA_INFORMATION = "GPSAreaInformation"; const char *OHOS_IMAGE_PROPERTY_GPS_DIFFERENTIAL = "GPSDifferential"; /** - * @brief This tag records the serial number of the body of the camera that was used in photography as an ASCII string. + * @brief The serial number of the camera body. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1303,7 +1252,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DIFFERENTIAL = "GPSDifferential"; const char *OHOS_IMAGE_PROPERTY_BODY_SERIAL_NUMBER = "BodySerialNumber"; /** - * @brief This tag records the owner of a camera used in photography as an ASCII string. + * @brief The name of the camera owner. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1313,7 +1262,7 @@ const char *OHOS_IMAGE_PROPERTY_BODY_SERIAL_NUMBER = "BodySerialNumber"; const char *OHOS_IMAGE_PROPERTY_CAMERA_OWNER_NAME = "CameraOwnerName"; /** - * @brief Indicates whether the recorded image is a composite image or not. + * @brief The name of the camera owner. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1323,8 +1272,7 @@ const char *OHOS_IMAGE_PROPERTY_CAMERA_OWNER_NAME = "CameraOwnerName"; const char *OHOS_IMAGE_PROPERTY_COMPOSITE_IMAGE = "CompositeImage"; /** - * @brief This tag encodes the DNG four-tier version number. For files compliant with version 1.1.0.0 of - * the DNG specification, this tag should contain the bytes: 1, 1, 0, 0. + * @brief The DNGVersion tag encodes the four-tier version number for DNG specification compliance. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1334,10 +1282,7 @@ const char *OHOS_IMAGE_PROPERTY_COMPOSITE_IMAGE = "CompositeImage"; const char *OHOS_IMAGE_PROPERTY_DNG_VERSION = "DNGVersion"; /** - * @brief Indicates the longitude of the destination point. The longitude is expressed as three RATIONAL - * values giving the degrees, minutes, and seconds, respectively. If longitude is expressed as degrees, - * minutes and seconds, a typical format would be ddd/1,mm/1,ss/1. When degrees and minutes are used and, - * for example, fractions of minutes are given up to two decimal places, the format would be ddd/1,mmmm/100,0/1. + * @brief The longitude of the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1347,8 +1292,7 @@ const char *OHOS_IMAGE_PROPERTY_DNG_VERSION = "DNGVersion"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE = "GPSDestLongitude"; /** - * @brief Indicates the reference used for giving the bearing to the destination point. "T" denotes true - * direction and "M" is magnetic direction. + * @brief The reference for the bearing to the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1358,7 +1302,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_LONGITUDE = "GPSDestLongitude"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING_REF = "GPSDestBearingRef"; /** - * @brief Indicates the bearing to the destination point. The range of values is from 0.00 to 359.99. + * @brief The bearing to the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1368,8 +1312,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING_REF = "GPSDestBearingRef"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING = "GPSDestBearing"; /** - * @brief Indicates the unit used to express the distance to the destination point. "K", "M" and "N" - * represent kilometers, miles and knots. + * @brief The measurement unit for the distance to the target point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1379,7 +1322,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_BEARING = "GPSDestBearing"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE_REF = "GPSDestDistanceRef"; /** - * @brief Indicates the distance to the destination point. + * @brief The distance to the destination point. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1389,10 +1332,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE_REF = "GPSDestDistanceRef"; const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE = "GPSDestDistance"; /** - * @brief Raw images often store extra pixels around the edges of the final image. These extra pixels - * help prevent interpolation artifacts near the edges of the final image. DefaultCropSize specifies - * the size of the final image area, in raw image coordinates (i.e., before the DefaultScale has been - * applied). + * @brief DefaultCropSize specifies the final image size in raw coordinates, accounting for extra edge pixels. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1402,9 +1342,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE = "GPSDestDistance"; const char *OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; /** - * @brief Indicates the value of coefficient gamma. The formula of transfer function used for image - * reproduction is expressed as follows: (reproduced value) = (input value)^gamma. Both reproduced value - * and input value indicate normalized value, whose minimum value is 0 and maximum value is 1. + * @brief The Gamma tag represents the gamma coefficient used for color correction in image processing. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1414,9 +1352,7 @@ const char *OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; const char *OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; /** - * @brief This tag indicates the ISO speed latitude yyy value of a camera or input device that is - * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and - * ISOSpeedLatitudezzz. + * @brief The ISO speed latitude yyy value of the camera. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1426,9 +1362,7 @@ const char *OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; /** - * @brief This tag indicates the ISO speed latitude zzz value of a camera or input device that is - * defined in ISO 12232. However, this tag shall not be recorded without ISOSpeed and - * ISOSpeedLatitudeyyy. + * @brief The ISO speed latitude zzz value of the camera. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1438,7 +1372,7 @@ const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEZZZ = "ISOSpeedLatitudezzz"; /** - * @brief This tag records the lens manufactor as an ASCII string. + * @brief The manufacturer of the lens. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1448,7 +1382,7 @@ const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEZZZ = "ISOSpeedLatitudezzz"; const char *OHOS_IMAGE_PROPERTY_LENS_MAKE = "LensMake"; /** - * @brief This tag records the lens's model name and model number as an ASCII string. + * @brief The model name of the lens. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1458,8 +1392,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_MAKE = "LensMake"; const char *OHOS_IMAGE_PROPERTY_LENS_MODEL = "LensModel"; /** - * @brief This tag records the serial number of the interchangeable lens that was used in photography as - * an ASCII string. + * @brief The serial number of the lens. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1469,9 +1402,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_MODEL = "LensModel"; const char *OHOS_IMAGE_PROPERTY_LENS_SERIAL_NUMBER = "LensSerialNumber"; /** - * @brief This tag notes minimum focal length, maximum focal length, minimum F number in the minimum focal length, - * and minimum F number in the maximum focal length, which are specification information for the lens that was - * used in photography. When the minimum F number is unknown, the notation is 0/0 + * @brief Specifications of the lens used. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1481,7 +1412,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_SERIAL_NUMBER = "LensSerialNumber"; const char *OHOS_IMAGE_PROPERTY_LENS_SPECIFICATION = "LensSpecification"; /** - * @brief A general indication of the kind of data contained in this subfile. + * @brief This tag provides a broad description of the data type in this subfile. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1491,7 +1422,7 @@ const char *OHOS_IMAGE_PROPERTY_LENS_SPECIFICATION = "LensSpecification"; const char *OHOS_IMAGE_PROPERTY_NEW_SUBFILE_TYPE = "NewSubfileType"; /** - * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTime tag. + * @brief This tag records the UTC offset for the DateTime tag, ensuring accurate timestamps regardless of location. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1501,7 +1432,7 @@ const char *OHOS_IMAGE_PROPERTY_NEW_SUBFILE_TYPE = "NewSubfileType"; const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME = "OffsetTime"; /** - * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeDigitized tag. + * @brief This tag logs the UTC offset when the image was digitized, aiding in accurate timestamp adjustment. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1511,7 +1442,7 @@ const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME = "OffsetTime"; const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_DIGITIZED = "OffsetTimeDigitized"; /** - * @brief Time difference from Universal Time Coordinated including daylight saving time of DateTimeOriginal tag. + * @brief This tag records the UTC offset when the original image was created, crucial for time-sensitive applications. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1521,8 +1452,7 @@ const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_DIGITIZED = "OffsetTimeDigitized"; const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_ORIGINAL = "OffsetTimeOriginal"; /** - * @brief For a composite image, records the parameters relating exposure time of the exposures for generating - * the said composite image, such as respective exposure times of captured source images (tentatively recorded images). + * @brief Exposure times of source images for a composite image. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1532,7 +1462,7 @@ const char *OHOS_IMAGE_PROPERTY_OFFSET_TIME_ORIGINAL = "OffsetTimeOriginal"; const char *OHOS_IMAGE_PROPERTY_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = "SourceExposureTimesOfCompositeImage"; /** - * @brief Indicates the number of the source images (tentatively recorded images) captured for a composite Image. + * @brief The number of source images used for a composite image. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1542,8 +1472,7 @@ const char *OHOS_IMAGE_PROPERTY_SOURCE_EXPOSURE_TIMES_OF_COMPOSITE_IMAGE = "Sour const char *OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "SourceImageNumberOfCompositeImage"; /** - * @brief A general indication of the kind of data contained in this subfile. This field is deprecated. - * The NewSubfileType field should be used instead. + * @brief This deprecated field signifies the type of data in this subfile. Use the NewSubfileType field instead. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1553,7 +1482,7 @@ const char *OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "Source const char *OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; /** - * @brief This tag indicates horizontal positioning errors in meters. + * @brief This tag denotes the horizontal positioning inaccuracies measured in meters. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image -- Gitee From 9316be6b9a3410b6a6117752acdef273ee532ffd Mon Sep 17 00:00:00 2001 From: caoyawen05 Date: Sat, 23 Mar 2024 09:17:40 +0800 Subject: [PATCH 6/8] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=B0=91=E9=87=8F?= =?UTF-8?q?=E5=AD=97=E6=AE=B5=EF=BC=8C=E8=AE=A9=E8=A1=A8=E8=BE=BE=E8=B4=B4?= =?UTF-8?q?=E5=90=88=E5=AD=97=E6=AE=B5=E6=9C=AC=E8=BA=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I230d8768205ce92b4ac7ccd3f7f248998a9d97ab Signed-off-by: caoyawen05 --- multimedia/image_framework/include/image/image_common.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h index 482fd6993..a79ca4173 100644 --- a/multimedia/image_framework/include/image/image_common.h +++ b/multimedia/image_framework/include/image/image_common.h @@ -1342,7 +1342,7 @@ const char *OHOS_IMAGE_PROPERTY_GPS_DEST_DISTANCE = "GPSDestDistance"; const char *OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; /** - * @brief The Gamma tag represents the gamma coefficient used for color correction in image processing. + * @brief Indicates the value of coefficient gamma. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1352,7 +1352,7 @@ const char *OHOS_IMAGE_PROPERTY_DEFAULT_CROP_SIZE = "DefaultCropSize"; const char *OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; /** - * @brief The ISO speed latitude yyy value of the camera. + * @brief The tag indicate the ISO speed latitude yyy value of the camera or input device that is defined in ISO 12232. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1362,7 +1362,7 @@ const char *OHOS_IMAGE_PROPERTY_GAMMA = "Gamma"; const char *OHOS_IMAGE_PROPERTY_ISO_SPEED_LATITUDEYYY = "ISOSpeedLatitudeyyy"; /** - * @brief The ISO speed latitude zzz value of the camera. + * @brief The tag indicate the ISO speed latitude zzz value of the camera or input device that is defined in ISO 12232. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image @@ -1482,7 +1482,7 @@ const char *OHOS_IMAGE_PROPERTY_SOURCE_IMAGE_NUMBER_OF_COMPOSITE_IMAGE = "Source const char *OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; /** - * @brief This tag denotes the horizontal positioning inaccuracies measured in meters. + * @brief This tag indicates horizontal positioning errors in meters. * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. * * @syscap SystemCapability.Multimedia.Image -- Gitee From 9a84275bcce47ba6bbc7a743e54d9f218d267fed Mon Sep 17 00:00:00 2001 From: caoyawen05 Date: Sat, 23 Mar 2024 12:15:09 +0800 Subject: [PATCH 7/8] =?UTF-8?q?=E8=A1=A5=E6=BC=8F8=E4=B8=AA=E5=8D=8E?= =?UTF-8?q?=E4=B8=BA=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2c01200e4a15dd4b4f47615904e4e4f344a9e46e Signed-off-by: caoyawen05 --- .../include/image/image_common.h | 80 +++++++++++++++++++ 1 file changed, 80 insertions(+) diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h index a79ca4173..62826d385 100644 --- a/multimedia/image_framework/include/image/image_common.h +++ b/multimedia/image_framework/include/image/image_common.h @@ -1531,6 +1531,86 @@ const char *OHOS_IMAGE_PROPERTY_FACE_LEYE_CENTER = "HwMnoteFaceLeyeCenter"; */ const char *OHOS_IMAGE_PROPERTY_FACE_MOUTH_CENTER = "HwMnoteFaceMouthCenter"; +/** + * @brief Face Pointer + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_FACE_POINTER = "HwMnoteFacePointer"; + +/** + * @brief Face Rect + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_FACE_RECT = "HwMnoteFaceRect"; + +/** + * @brief Face Reye Center + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_FACE_REYE_CENTER = "HwMnoteFaceReyeCenter"; + +/** + * @brief Face Smile Score + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_FACE_SMILE_SCORE = "HwMnoteFaceSmileScore"; + +/** + * @brief Face Version + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_FACE_VERSION = "HwMnoteFaceVersion"; + +/** + * @brief Front Camera + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_FRONT_CAMERA = "HwMnoteFrontCamera"; + +/** + * @brief Scene Pointer + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_SCENE_POINTER = "HwMnoteScenePointer"; + +/** + * @brief Scene Version + * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. + * + * @syscap SystemCapability.Multimedia.Image + * @since 12 + * @version 5.0 + */ +const char *OHOS_IMAGE_PROPERTY_SCENE_VERSION = "HwMnoteSceneVersion"; + #ifdef __cplusplus }; #endif -- Gitee From 20a364ec77019e90212b7d62a6907f2afb9f9083 Mon Sep 17 00:00:00 2001 From: caoyawen05 Date: Sun, 24 Mar 2024 22:20:30 +0800 Subject: [PATCH 8/8] =?UTF-8?q?=E6=B7=BB=E5=8A=A0PhotographicSensitivity?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: caoyawen05 Change-Id: I38d9e34ee61b76f892c2a006a9bfb119c488fa1a --- multimedia/image_framework/include/image/image_common.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/multimedia/image_framework/include/image/image_common.h b/multimedia/image_framework/include/image/image_common.h index 62826d385..581f13d3a 100644 --- a/multimedia/image_framework/include/image/image_common.h +++ b/multimedia/image_framework/include/image/image_common.h @@ -1491,6 +1491,15 @@ const char *OHOS_IMAGE_PROPERTY_SUBFILE_TYPE = "SubfileType"; */ const char *OHOS_IMAGE_PROPERTY_GPS_H_POSITIONING_ERROR = "GPSHPositioningError"; +/** + * This tag indicates the sensitivity of the camera or input device when the image was shot. + * + * @syscap SystemCapability.Multimedia.Image.Core + * @crossplatform + * @since 12 + */ +const char *OHOS_IMAGE_PROPERTY_PHOTOGRAPHIC_SENSITIVITY = 'PhotographicSensitivity', + /** * @brief Burst Number * It is used in {@link OH_ImageSource_GetImageProperty} and {@link OH_ImageSource_ModifyImageProperty}. -- Gitee