blob: d708ad1fea75958fb3cb8dff616ce6e1d9a77e62 [file] [log] [blame]
* 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.
#include <stdio.h>
#include <string.h>
#include "utility.h"
typedef struct
FILE* res0to4FilePtr;
FILE* res4to8FilePtr;
FILE* res8to12FilePtr;
FILE* res8to16FilePtr;
FILE* res0to4DecFilePtr;
FILE* res4to8DecFilePtr;
FILE* res8to12DecFilePtr;
FILE* res8to16DecFilePtr;
FILE* in0to4FilePtr;
FILE* in4to8FilePtr;
FILE* in8to12FilePtr;
FILE* in8to16FilePtr;
FILE* out0to4FilePtr;
FILE* out4to8FilePtr;
FILE* out8to12FilePtr;
FILE* out8to16FilePtr;
FILE* fftFilePtr;
FILE* fftDecFilePtr;
FILE* arrivalTime;
float lastArrivalTime;
int prevPacketLost;
int currPacketLost;
int nextPacketLost;
//double residualSignal4kHZ[240];
int packetLossPercent;
int maxPayloadLB;
int maxPayloadUB;
int lbBytes;
int ubBytes;
#define PRINT_ENTROPY_INFO(obj) \
do \
{ \
printf("%10u, %u; ", \
obj->bitstr_obj.streamval, obj->bitstr_obj.stream_index); \
} while(0)
int setupDebugStruct(debugStruct* str);