1# Copyright (c) 2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14domain: IMAGE_FWK_UE 15 16DECODED_IMAGE_TYPE_STATISTICS: 17 __BASE: {type: STATISTIC, level: MINOR, desc: Collect statistics on the decoded image type such as PNG JPEG GIF BMP and HEIF, preserve: true} 18 PNAMEID: {type: STRING, desc: package name} 19 PVERSIONID: {type: STRING, desc: application version} 20 IMAGE_TYPE: {type: STRING, desc: Type of the decoded image for example png jpeg bmp gif ico and wbmp} 21 22CREATE_IMAGESOURCE_FAULT: 23 __BASE: {type: BEHAVIOR, level: MINOR, desc: Image encoding and decoding cause of the create image source failure, preserve: true} 24 PNAMEID: {type: STRING, desc: package name} 25 PVERSIONID: {type: STRING, desc: application version} 26 WIDTH: {type: UINT32, desc: image width} 27 HEIGHT: {type: UINT32, desc: image height} 28 TYPE: {type: STRING, desc: image formats jpeg png etc} 29 ERROR_MSG: {type: STRING, desc: error message} 30 31 32ENCODE_FAULT: 33 __BASE: {type: BEHAVIOR, level: MINOR, desc: Image encoding and decoding cause of the encode failure, preserve: true} 34 PNAMEID: {type: STRING, desc: package name} 35 PVERSIONID: {type: STRING, desc: application version} 36 WIDTH: {type: UINT32, desc: image width} 37 HEIGHT: {type: UINT32, desc: image height} 38 MIME_TYPE: {type: STRING, desc: Image formats jpeg png etc} 39 ERROR_MSG: {type: STRING, desc: error message} 40 41DECODE_FAULT: 42 __BASE: {type: BEHAVIOR, level: MINOR, desc: Image encoding and decoding cause of the decode failure, preserve: true} 43 PNAMEID: {type: STRING, desc: package name} 44 PVERSIONID: {type: STRING, desc: application version} 45 APPLICATION_NAME: {type: STRING, desc: application name} 46 ROTATE: {type: FLOAT, desc: image rorate} 47 EDITABLE: {type: BOOL, desc: IsEditable 0 is No 1 is Yes} 48 SAMPLE_SIZE: {type: UINT32, desc: sample} 49 SOURCE_WIDTH: {type: INT32, desc: source image width} 50 SOURCE_HEIGHT: {type: INT32, desc: source image height} 51 DESIRE_SIZE_WIDTH: {type: INT32, desc: desire image width} 52 DESIRE_SIZE_HEIGHT: {type: INT32, desc: desire image height} 53 DESIRE_REGION_WIDTH: {type: INT32, desc: desire region width} 54 DESIRE_REGION_HEIGHT: {type: INT32, desc: desire region height} 55 DESIRE_REGION_X: {type: INT32, desc: desire region x} 56 DESIRE_REGION_Y: {type: INT32, desc: desire region y} 57 DESIRE_DESIRE_PIXEL_FORMAT: {type: INT32, desc: Expected image pixel format The options are as fol1ows 1 is ARGB_888 3 is RGBA_8888 4 is BGRA_8888 8 is NV21 9 is NV12} 58 INDEX: {type: UINT32, desc: image index} 59 FIT_DENSITY: {type: INT32, desc: fit density} 60 DESIRE_COLOR_SPACE: {type: INT32, desc: Indicates the expected image color space 1 is DISLAY_P3 2 is SRGB 3 is LINEAR SRGB} 61 MIMETYPE: {type: STRING, desc: Image formats jpeg png etc} 62 MEMORY_SIZE: {type: UINT32, desc: memory size} 63 MEMORY_TYPE: {type: INT32, desc: Memory type The options are as follows 1 is heap 2 is sharedMem 4 is Dma} 64 IMAGE_SOURCE: {type: STRING, desc: Image source FD buffer etc} 65 INVOKE_TYPE: {type: STRING, desc: Invocation type JS_inerface c_interface and inner} 66 INCREMENTAL_DECODE: {type: BOOL, desc: Indicates whether to perform incremental decoding The options are as follows 0 is no 1 is yes} 67 HARD_DECODE: {type: BOOL, desc: Whether to perform hard decoding 0 is no 1 is yes} 68 HARD_DECODE_ERROR: {type: STRING, desc: hard decode error message} 69 ERROR_MSG: {type: STRING, desc: error message} 70 PLUGIN_TYPE: {type: STRING, desc: The type of the plugin to decode the image} 71 HEIF_GRID_WIDTH: {type: INT32, desc: The width of each tile in a grid image} 72 HEIF_GRID_HEIGHT: {type: INT32, desc: The height of each tile in a grid image} 73 74DECODE_INFORMATION: 75 __BASE: {type: BEHAVIOR, level: MINOR, desc: Image encoding and decoding information statistics. Each application reports data once a day in different formats, preserve: true} 76 PNAMEID: {type: STRING, desc: package name} 77 PVERSIONID: {type: STRING, desc: application version} 78 APPLICATION_NAME: {type: STRING, desc: application name} 79 ROTATE: {type: FLOAT, desc: image rorate} 80 EDITABLE: {type: BOOL, desc: IsEditable 0 is No 1 is Yes} 81 SAMPLE_SIZE: {type: UINT32, desc: sample} 82 SOURCE_WIDTH: {type: INT32, desc: source image width} 83 SOURCE_HEIGHT: {type: INT32, desc: source image height} 84 DESIRE_SIZE_WIDTH: {type: INT32, desc: desire image width} 85 DESIRE_SIZE_HEIGHT: {type: INT32, desc: desire image height} 86 DESIRE_REGION_WIDTH: {type: INT32, desc: desire region width} 87 DESIRE_REGION_HEIGHT: {type: INT32, desc: desire region height} 88 DESIRE_REGION_X: {type: INT32, desc: desire region x} 89 DESIRE_REGION_Y: {type: INT32, desc: desire region y} 90 DESIRE_DESIRE_PIXEL_FORMAT: {type: INT32, desc: Expected image pixel format The options are as fol1ows 1 is ARGB_888 3 is RGBA_8888 4 is BGRA_8888 8 is NV21 9 is NV12} 91 INDEX: {type: UINT32, desc: image index} 92 FIT_DENSITY: {type: INT32, desc: fit density} 93 DESIRE_COLOR_SPACE: {type: INT32, desc: Indicates the expected image color space 1 is DISLAY_P3 2 is SRGB 3 is LINEAR SRGB} 94 MIMETYPE: {type: STRING, desc: Image formats jpeg png etc} 95 MEMORY_SIZE: {type: UINT32, desc: memory size} 96 MEMORY_TYPE: {type: INT32, desc: Memory type The options are as follows 1 is heap 2 is sharedMem 4 is Dma} 97 IMAGE_SOURCE: {type: STRING, desc: Image source FD buffer etc} 98 INVOKE_TYPE: {type: STRING, desc: Invocation type JS_inerface c_interface and inner} 99 INCREMENTAL_DECODE: {type: BOOL, desc: Indicates whether to perform incremental decoding The options are as follows 0 is no 1 is yes} 100 HARD_DECODE: {type: BOOL, desc: Whether to perform hard decoding 0 is no 1 is yes} 101 HARD_DECODE_ERROR: {type: STRING, desc: hard decode error message} 102 COST_TIME: {type: UINT64, desc: decode cost time} 103 PLUGIN_TYPE: {type: STRING, desc: The type of the plugin to decode the image} 104 HEIF_GRID_WIDTH: {type: INT32, desc: The width of each tile in a grid image} 105 HEIF_GRID_HEIGHT: {type: INT32, desc: The height of each tile in a grid image}