Debian Codegraph @

xpp/oct612x/include/oct6100api/oct6100_chip_stats_pub.h

raw
1 /*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
2
3 File: oct6100_chip_stats_pub.h
4
5 Copyright (c) 2001-2007 Octasic Inc.
6
7 Description:
8
9 File containing all defines, macros, and structures pertaining to the file
10 oct6100_chip_stats.c. All elements defined in this file are for public
11 usage of the API. All private elements are defined in the
12 oct6100_chip_stats_priv.h file.
13
14 This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
15 free software; you can redistribute it and/or modify it under the terms of
16 the GNU General Public License as published by the Free Software Foundation;
17 either version 2 of the License, or (at your option) any later version.
18
19 The OCT6100 GPL API is distributed in the hope that it will be useful, but
20 WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 for more details.
23
24 You should have received a copy of the GNU General Public License
25 along with the OCT6100 GPL API; if not, write to the Free Software
26 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
27
28 $Octasic_Release: OCT612xAPI-01.00-PR49 $
29
30 $Octasic_Revision: 59 $
31
32 \*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
33
34 #ifndef __OCT6100_CHIP_STATS_PUB_H__
35 #define __OCT6100_CHIP_STATS_PUB_H__
36
37 /***************************** INCLUDE FILES *******************************/
38
39
40 /***************************** DEFINES *************************************/
41
42
43 /***************************** TYPES ***************************************/
44
45 typedef struct _OCT6100_CHIP_STATS_
46 {
47 BOOL fResetChipStats;
48
49 UINT32 ulNumberChannels;
50 UINT32 ulNumberTsiCncts;
51 UINT32 ulNumberConfBridges;
52 UINT32 ulNumberPlayoutBuffers;
53 UINT32 ulPlayoutFreeMemSize;
54 UINT32 ulNumberPhasingTssts;
55 UINT32 ulNumberAdpcmChannels;
56
57 UINT32 ulH100OutOfSynchCount;
58 UINT32 ulH100ClockABadCount;
59 UINT32 ulH100FrameABadCount;
60 UINT32 ulH100ClockBBadCount;
61
62 UINT32 ulInternalReadTimeoutCount;
63 UINT32 ulSdramRefreshTooLateCount;
64 UINT32 ulPllJitterErrorCount;
65
66 UINT32 ulOverflowToneEventsCount;
67 UINT32 ulSoftOverflowToneEventsCount;
68
69 UINT32 ulSoftOverflowBufferPlayoutEventsCount;
70
71 } tOCT6100_CHIP_STATS, *tPOCT6100_CHIP_STATS;
72
73 typedef struct _OCT6100_CHIP_TONE_INFO_
74 {
75 UINT32 ulToneID;
76 UINT32 ulDetectionPort;
77
78 UINT8 aszToneName[ cOCT6100_TLV_MAX_TONE_NAME_SIZE ];
79
80 } tOCT6100_CHIP_TONE_INFO, *tPOCT6100_CHIP_TONE_INFO;
81
82 typedef struct _OCT6100_CHIP_IMAGE_INFO_
83 {
84 BOOL fBufferPlayout;
85 BOOL fAdaptiveNoiseReduction;
86 BOOL fSoutNoiseBleaching;
87 BOOL fAutoLevelControl;
88 BOOL fHighLevelCompensation;
89 BOOL fSilenceSuppression;
90
91 BOOL fAdpcm;
92 BOOL fConferencing;
93 BOOL fConferencingNoiseReduction;
94 BOOL fDominantSpeaker;
95
96 BOOL fAcousticEcho;
97 BOOL fAecTailLength;
98 BOOL fToneRemoval;
99
100 BOOL fDefaultErl;
101 BOOL fNonLinearityBehaviorA;
102 BOOL fNonLinearityBehaviorB;
103 BOOL fPerChannelTailDisplacement;
104 BOOL fPerChannelTailLength;
105 BOOL fListenerEnhancement;
106 BOOL fRoutNoiseReduction;
107 BOOL fRoutNoiseReductionLevel;
108 BOOL fAnrSnrEnhancement;
109 BOOL fAnrVoiceNoiseSegregation;
110 BOOL fToneDisablerVqeActivationDelay;
111 BOOL fMusicProtection;
112 BOOL fDoubleTalkBehavior;
113 BOOL fIdleCodeDetection;
114 BOOL fSinLevel;
115
116 UINT32 ulMaxChannels;
117 UINT32 ulNumTonesAvailable;
118 UINT32 ulToneProfileNumber;
119 UINT32 ulMaxTailDisplacement;
120 UINT32 ulMaxTailLength;
121 UINT32 ulDebugEventSize;
122 UINT32 ulMaxPlayoutEvents;
123
124 UINT32 ulImageType;
125
126 UINT8 szVersionNumber[ cOCT6100_VERSION_NUMBER_MAX_SIZE ];
127 UINT32 ulBuildId;
128
129 tOCT6100_CHIP_TONE_INFO aToneInfo[ cOCT6100_MAX_TONE_EVENT ];
130
131 } tOCT6100_CHIP_IMAGE_INFO, *tPOCT6100_CHIP_IMAGE_INFO;
132
133
134 /************************** FUNCTION PROTOTYPES *****************************/
135
136 UINT32 Oct6100ChipGetStatsDef(
137 OUT tPOCT6100_CHIP_STATS f_pChipStats );
138
139 UINT32 Oct6100ChipGetStats(
140 IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
141 IN OUT tPOCT6100_CHIP_STATS f_pChipStats );
142
143 UINT32 Oct6100ChipGetImageInfoDef(
144 OUT tPOCT6100_CHIP_IMAGE_INFO f_pChipImageInfo );
145
146 UINT32 Oct6100ChipGetImageInfo(
147 IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
148 OUT tPOCT6100_CHIP_IMAGE_INFO f_pChipImageInfo );
149
150 #endif /* __OCT6100_CHIP_STATS_PUB_H__ */