This file is indexed.

/usr/include/sipxtapi/mp/MpCodecInfo.h is in libsipxtapi-dev 3.3.0~test17-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

  1
  2
  3
  4
  5
  6
  7
  8
  9
 10
 11
 12
 13
 14
 15
 16
 17
 18
 19
 20
 21
 22
 23
 24
 25
 26
 27
 28
 29
 30
 31
 32
 33
 34
 35
 36
 37
 38
 39
 40
 41
 42
 43
 44
 45
 46
 47
 48
 49
 50
 51
 52
 53
 54
 55
 56
 57
 58
 59
 60
 61
 62
 63
 64
 65
 66
 67
 68
 69
 70
 71
 72
 73
 74
 75
 76
 77
 78
 79
 80
 81
 82
 83
 84
 85
 86
 87
 88
 89
 90
 91
 92
 93
 94
 95
 96
 97
 98
 99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
//  
// Copyright (C) 2006-2011 SIPez LLC.  All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement. 
//
// Copyright (C) 2004-2009 SIPfoundry Inc.
// Licensed by SIPfoundry under the LGPL license.
//
// Copyright (C) 2004-2006 Pingtel Corp.  All rights reserved.
// Licensed to SIPfoundry under a Contributor Agreement.
//
// $$
///////////////////////////////////////////////////////////////////////////////


#ifndef _MpCodecInfo_h_
#define _MpCodecInfo_h_

// SYSTEM INCLUDES
// APPLICATION INCLUDES
#include "mp/codecs/PlgDefsV1.h"
#include <utl/UtlString.h>

// DEFINES
// MACROS
// EXTERNAL FUNCTIONS
// EXTERNAL VARIABLES
// CONSTANTS
// STRUCTS
// TYPEDEFS
// FORWARD DECLARATIONS

/**
*  @brief Static information describing a codec.
*/
class MpCodecInfo : protected MppCodecInfoV1_1, protected MppCodecFmtpInfoV1_2
{
/* //////////////////////////// PUBLIC //////////////////////////////////// */
public:

/* ============================ CREATORS ================================== */
///@name Creators
//@{

     /// Full constructor
   inline MpCodecInfo(const MppCodecInfoV1_1 &codecInfo,
                      const MppCodecFmtpInfoV1_2 &fmtpInfo);

     /// Partial constructor
   inline MpCodecInfo(const MppCodecInfoV1_1 &codecInfo);

//@}

/* ============================ MANIPULATORS ============================== */
///@name Manipulators
//@{

//@}

/* ============================ ACCESSORS ================================= */
///@name Accessors
//@{

     /// @copydoc MppCodecInfoV1_1::codecManufacturer
   inline const char*  getCodecManufacturer() const;
     /// @copydoc MppCodecInfoV1_1::codecName
   inline const char*  getCodecName() const;
     /// @copydoc MppCodecInfoV1_1::codecVersion
   inline const char*  getCodecVersion() const;
     /// @copydoc MppCodecInfoV1_1::codecType
   inline unsigned     getCodecType() const;

     /// @copydoc MppCodecInfoV1_1::mimeSubtype
   inline const char*  getMimeSubtype() const;
     /// @copydoc MppCodecInfoV1_1::fmtpsNum
   inline unsigned     getFmtpsNum() const;
     /// @copydoc MppCodecInfoV1_1::fmtps
   inline const char** getFmtps() const;
     /// @copydoc MppCodecInfoV1_1::sampleRate
   inline unsigned     getSampleRate() const;
     /// @copydoc MppCodecInfoV1_1::numChannels
   inline unsigned     getNumChannels() const;
     /// @copydoc MppCodecInfoV1_1::framePacking
   inline unsigned     getFramePacking() const;

     /// @copydoc MppCodecFmtpInfoV1_2::minBitrate
   inline unsigned     getMinBitrate() const;
     /// @copydoc MppCodecFmtpInfoV1_2::maxBitrate
   inline unsigned     getMaxBitrate() const;
     /// @copydoc MppCodecFmtpInfoV1_2::numSamplesPerFrame
   inline unsigned     getNumSamplesPerFrame() const;
     /// @copydoc MppCodecFmtpInfoV1_2::minFrameBytes
   inline unsigned     getMinFrameBytes() const;
     /// @copydoc MppCodecFmtpInfoV1_2::maxFrameBytes
   inline unsigned     getMaxFrameBytes() const;
     /// @copydoc MppCodecFmtpInfoV1_2::algorithmicDelay
   inline unsigned     getAlgorithmicDelay() const;

//@}

/* ============================ INQUIRY =================================== */
///@name Inquiry
//@{

     /// @copydoc MppCodecFmtpInfoV1_2::signalingCodec
   inline UtlBoolean isSignalingCodec(void) const;
     /// @copydoc MppCodecFmtpInfoV1_2::doesVadCng
   inline UtlBoolean doesVadCng(void) const;
     /// @copydoc MppCodecFmtpInfoV1_2::haveInternalPLC
   inline UtlBoolean haveInternalPLC() const;
   inline UtlBoolean shouldSetMarker() const;

//@}

/* //////////////////////////// PROTECTED ///////////////////////////////// */
protected:

/* //////////////////////////// PRIVATE /////////////////////////////////// */
private:
};

/* ============================ INLINE METHODS ============================ */

MpCodecInfo::MpCodecInfo(const MppCodecInfoV1_1 &codecInfo,
                         const MppCodecFmtpInfoV1_2 &fmtpInfo)
: MppCodecInfoV1_1(codecInfo)
, MppCodecFmtpInfoV1_2(fmtpInfo)
{
}

MpCodecInfo::MpCodecInfo(const MppCodecInfoV1_1 &codecInfo)
: MppCodecInfoV1_1(codecInfo)
{
}

/* ============================ MANIPULATORS ============================== */

/* ============================ ACCESSORS ================================= */

const char* MpCodecInfo::getCodecManufacturer() const
{
   return codecManufacturer;
}

const char* MpCodecInfo::getCodecName() const
{
   return codecName;
}

const char* MpCodecInfo::getCodecVersion() const
{
   return codecVersion;
}

unsigned MpCodecInfo::getCodecType() const
{
   return codecType;
}


const char* MpCodecInfo::getMimeSubtype() const
{
   return mimeSubtype;
}

unsigned MpCodecInfo::getFmtpsNum() const
{
   return fmtpsNum;
}

const char** MpCodecInfo::getFmtps() const
{
   return fmtps;
}

unsigned MpCodecInfo::getSampleRate() const
{
   return sampleRate;
}

unsigned MpCodecInfo::getNumChannels() const
{
   return numChannels;
}

unsigned MpCodecInfo::getFramePacking() const
{
   return framePacking;
}


unsigned MpCodecInfo::getMinBitrate() const
{
   return minBitrate;
}

unsigned MpCodecInfo::getMaxBitrate() const
{
   return maxBitrate;
}

unsigned MpCodecInfo::getNumSamplesPerFrame() const
{
   return numSamplesPerFrame;
}

unsigned MpCodecInfo::getMinFrameBytes() const
{
   return minFrameBytes;
}

unsigned MpCodecInfo::getMaxFrameBytes() const
{
   return maxFrameBytes;
}

unsigned MpCodecInfo::getAlgorithmicDelay() const
{
   return algorithmicDelay;
}

/* ============================ INQUIRY =================================== */

UtlBoolean MpCodecInfo::isSignalingCodec() const
{
   return signalingCodec;
}
UtlBoolean MpCodecInfo::doesVadCng() const
{
   return vadCng == CODEC_CNG_INTERNAL;
}
UtlBoolean MpCodecInfo::haveInternalPLC() const
{
   return packetLossConcealment == CODEC_PLC_INTERNAL;
}

UtlBoolean MpCodecInfo::shouldSetMarker() const
{
   return(mSetMarker);
}

#endif  // _MpCodecInfo_h_