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: AV_CODEC
15
16FAULT:
17  __BASE: {type: FAULT, level: CRITICAL, desc: AV_CODEC fault}
18  MODULE: {type: STRING, desc: Module name}
19  FAULTTYPE: {type: STRING, desc: Fault type}
20  MSG: {type: STRING, desc: Fault description}
21
22SERVICE_START_INFO:
23  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC service start information}
24  MODULE: {type: STRING, desc: Service name}
25  TIME: {type: UINT32, desc: AV_CODEC service start time us}
26  MEMORY: {type: UINT32, desc: AV_CODEC service start use memory kb}
27
28CODEC_START_INFO:
29  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC codec start event}
30  CLIENT_PID: {type: INT32, desc: Codec client pid}
31  CLIENT_UID: {type: INT32, desc: Codec client uid}
32  CODEC_INSTANCE_ID: {type: INT32, desc: Codec instance id}
33  CODEC_NAME: {type: STRING, desc: Codec name}
34  CODEC_IS_VENDOR: {type: STRING, desc: True is hardware codec or false is software codec}
35  CODEC_MODE: {type: STRING, desc: Buffer mode or Surface mode}
36  ENCODER_BITRATE: {type: INT64, desc: Encoder output bitrate}
37  VIDEO_WIDTH: {type: INT32, desc: Video codec input width}
38  VIDEO_HEIGHT: {type: INT32, desc: Video codec input height}
39  VIDEO_FRAMERATE: {type: DOUBLE, desc: Video codec output framerate}
40  VIDEO_PIXEL_FORMAT: {type: STRING, desc: Video codec input pixel format}
41  AUDIO_CHANNEL_COUNT: {type: INT32, desc: Audio codec input channel count}
42  AUDIO_SAMPLE_RATE: {type: INT32, desc: Audio codec input sample rate}
43
44CODEC_STOP_INFO:
45  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC codec stop event}
46  CLIENT_PID: {type: INT32, desc: Codec client pid}
47  CLIENT_UID: {type: INT32, desc: Codec client uid}
48  CODEC_INSTANCE_ID: {type: INT32, desc: Codec instance id}
49
50DEMUXER_INIT_INFO:
51  __BASE: {type: BEHAVIOR, level: MINOR, desc: AV_CODEC demuxer init event}
52  DOWNLOAD_SIZE: {type: INT32, desc: Demuxer download data size in Bytes}
53  SOURCE_TYPE: {type: STRING, desc: Demuxer source type}