
Review URL: https://webrtc-codereview.appspot.com/1313004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3850 4adac7df-926f-26a2-2b94-8c16560cd09d
57 lines
1.6 KiB
C
57 lines
1.6 KiB
C
/*
|
|
* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
/*
|
|
* Definitions of statistics data structures for MCU and DSP sides.
|
|
*/
|
|
|
|
#include "typedefs.h"
|
|
|
|
#ifndef NETEQ_STATISTICS_H
|
|
#define NETEQ_STATISTICS_H
|
|
|
|
/*
|
|
* Statistics struct on DSP side
|
|
*/
|
|
typedef struct
|
|
{
|
|
|
|
/* variables for in-call statistics; queried through WebRtcNetEQ_GetNetworkStatistics */
|
|
uint32_t expandLength; /* number of samples produced through expand */
|
|
uint32_t preemptiveLength; /* number of samples produced through pre-emptive
|
|
expand */
|
|
uint32_t accelerateLength; /* number of samples removed through accelerate */
|
|
int addedSamples; /* number of samples inserted in off mode */
|
|
|
|
/* variables for post-call statistics; queried through WebRtcNetEQ_GetJitterStatistics */
|
|
uint32_t expandedVoiceSamples; /* number of voice samples produced through expand */
|
|
uint32_t expandedNoiseSamples; /* number of noise (background) samples produced
|
|
through expand */
|
|
|
|
} DSPStats_t;
|
|
|
|
typedef struct {
|
|
int preemptive_expand_bgn_samples;
|
|
int preemptive_expand_normal_samples;
|
|
|
|
int expand_bgn_samples;
|
|
int expand_normal_samples;
|
|
|
|
int merge_expand_bgn_samples;
|
|
int merge_expand_normal_samples;
|
|
|
|
int accelerate_bgn_samples;
|
|
int accelarate_normal_samples;
|
|
} ActivityStats;
|
|
|
|
|
|
#endif
|
|
|