1da853ecaSopenharmony_ci# Copyright (C) 2023 Huawei Device Co., Ltd.
2da853ecaSopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3da853ecaSopenharmony_ci# you may not use this file except in compliance with the License.
4da853ecaSopenharmony_ci# You may obtain a copy of the License at
5da853ecaSopenharmony_ci# 
6da853ecaSopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7da853ecaSopenharmony_ci# 
8da853ecaSopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9da853ecaSopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10da853ecaSopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11da853ecaSopenharmony_ci# See the License for the specific language governing permissions and
12da853ecaSopenharmony_ci# limitations under the License.
13da853ecaSopenharmony_ci
14da853ecaSopenharmony_cidomain: AV_CODEC
15da853ecaSopenharmony_ci
16da853ecaSopenharmony_ciFAULT:
17da853ecaSopenharmony_ci  __BASE: {type: FAULT, level: CRITICAL, desc: AV_CODEC fault}
18da853ecaSopenharmony_ci  MODULE: {type: STRING, desc: Module name}
19da853ecaSopenharmony_ci  FAULTTYPE: {type: STRING, desc: Fault type}
20da853ecaSopenharmony_ci  MSG: {type: STRING, desc: Fault description}
21da853ecaSopenharmony_ci
22da853ecaSopenharmony_ciSERVICE_START_INFO:
23da853ecaSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC service start information}
24da853ecaSopenharmony_ci  MODULE: {type: STRING, desc: Service name}
25da853ecaSopenharmony_ci  TIME: {type: UINT32, desc: AV_CODEC service start time us}
26da853ecaSopenharmony_ci  MEMORY: {type: UINT32, desc: AV_CODEC service start use memory kb}
27da853ecaSopenharmony_ci
28da853ecaSopenharmony_ciCODEC_START_INFO:
29da853ecaSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC codec start event}
30da853ecaSopenharmony_ci  CLIENT_PID: {type: INT32, desc: Codec client pid}
31da853ecaSopenharmony_ci  CLIENT_UID: {type: INT32, desc: Codec client uid}
32da853ecaSopenharmony_ci  CODEC_INSTANCE_ID: {type: INT32, desc: Codec instance id}
33da853ecaSopenharmony_ci  CODEC_NAME: {type: STRING, desc: Codec name}
34da853ecaSopenharmony_ci  CODEC_IS_VENDOR: {type: STRING, desc: True is hardware codec or false is software codec}
35da853ecaSopenharmony_ci  CODEC_MODE: {type: STRING, desc: Buffer mode or Surface mode}
36da853ecaSopenharmony_ci  ENCODER_BITRATE: {type: INT64, desc: Encoder output bitrate}
37da853ecaSopenharmony_ci  VIDEO_WIDTH: {type: INT32, desc: Video codec input width}
38da853ecaSopenharmony_ci  VIDEO_HEIGHT: {type: INT32, desc: Video codec input height}
39da853ecaSopenharmony_ci  VIDEO_FRAMERATE: {type: DOUBLE, desc: Video codec output framerate}
40da853ecaSopenharmony_ci  VIDEO_PIXEL_FORMAT: {type: STRING, desc: Video codec input pixel format}
41da853ecaSopenharmony_ci  AUDIO_CHANNEL_COUNT: {type: INT32, desc: Audio codec input channel count}
42da853ecaSopenharmony_ci  AUDIO_SAMPLE_RATE: {type: INT32, desc: Audio codec input sample rate}
43da853ecaSopenharmony_ci
44da853ecaSopenharmony_ciCODEC_STOP_INFO:
45da853ecaSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC codec stop event}
46da853ecaSopenharmony_ci  CLIENT_PID: {type: INT32, desc: Codec client pid}
47da853ecaSopenharmony_ci  CLIENT_UID: {type: INT32, desc: Codec client uid}
48da853ecaSopenharmony_ci  CODEC_INSTANCE_ID: {type: INT32, desc: Codec instance id}
49da853ecaSopenharmony_ci
50da853ecaSopenharmony_ciDEMUXER_INIT_INFO:
51da853ecaSopenharmony_ci  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC demuxer init event}
52da853ecaSopenharmony_ci  DOWNLOAD_SIZE: {type: INT32, desc: Demuxer download data size in Bytes}
53da853ecaSopenharmony_ci  SOURCE_TYPE: {type: STRING, desc: Demuxer source type}