| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
| 5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
| 6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
| 7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
| 8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
| 9 */ | 9 */ |
| 10 | 10 |
| (...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 char outname[500]; | 55 char outname[500]; |
| 56 | 56 |
| 57 /* Runtime statistics */ | 57 /* Runtime statistics */ |
| 58 double rate; | 58 double rate; |
| 59 double rateRCU; | 59 double rateRCU; |
| 60 unsigned long totalbits = 0; | 60 unsigned long totalbits = 0; |
| 61 unsigned long totalBitsRCU = 0; | 61 unsigned long totalBitsRCU = 0; |
| 62 unsigned long totalsmpls = 0; | 62 unsigned long totalsmpls = 0; |
| 63 | 63 |
| 64 int32_t bottleneck = 39; | 64 int32_t bottleneck = 39; |
| 65 int16_t frameSize = 30; /* ms */ | 65 int frameSize = 30; /* ms */ |
| 66 int16_t codingMode = 1; | 66 int16_t codingMode = 1; |
| 67 int16_t shortdata[FRAMESAMPLES_SWB_10ms]; | 67 int16_t shortdata[FRAMESAMPLES_SWB_10ms]; |
| 68 int16_t decoded[MAX_FRAMESAMPLES_SWB]; | 68 int16_t decoded[MAX_FRAMESAMPLES_SWB]; |
| 69 // uint16_t streamdata[1000]; | 69 // uint16_t streamdata[1000]; |
| 70 int16_t speechType[1]; | 70 int16_t speechType[1]; |
| 71 int16_t payloadLimit; | 71 int16_t payloadLimit; |
| 72 int32_t rateLimit; | 72 int32_t rateLimit; |
| 73 ISACStruct* ISAC_main_inst; | 73 ISACStruct* ISAC_main_inst; |
| 74 | 74 |
| 75 int16_t stream_len = 0; | 75 int16_t stream_len = 0; |
| 76 int16_t declen = 0; | 76 int declen = 0; |
| 77 int16_t err; | 77 int16_t err; |
| 78 int16_t cur_framesmpls; | 78 int cur_framesmpls; |
| 79 int endfile; | 79 int endfile; |
| 80 #ifdef WIN32 | 80 #ifdef WIN32 |
| 81 double length_file; | 81 double length_file; |
| 82 double runtime; | 82 double runtime; |
| 83 char outDrive[10]; | 83 char outDrive[10]; |
| 84 char outPath[500]; | 84 char outPath[500]; |
| 85 char outPrefix[500]; | 85 char outPrefix[500]; |
| 86 char outSuffix[500]; | 86 char outSuffix[500]; |
| 87 char bitrateFileName[500]; | 87 char bitrateFileName[500]; |
| 88 FILE* bitrateFile; | 88 FILE* bitrateFile; |
| (...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 str->lastArrivalTime = 0; | 562 str->lastArrivalTime = 0; |
| 563 | 563 |
| 564 str->maxPayloadLB = 0; | 564 str->maxPayloadLB = 0; |
| 565 str->maxPayloadUB = 0; | 565 str->maxPayloadUB = 0; |
| 566 str->lbBytes = 0; | 566 str->lbBytes = 0; |
| 567 str->ubBytes = 0; | 567 str->ubBytes = 0; |
| 568 | 568 |
| 569 return 0; | 569 return 0; |
| 570 }; | 570 }; |
| 571 #endif | 571 #endif |
| OLD | NEW |