| 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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 #define MAX_PAYLOAD_LIMIT_ITERATION 5 | 161 #define MAX_PAYLOAD_LIMIT_ITERATION 5 |
| 162 | 162 |
| 163 /* Redundant Coding */ | 163 /* Redundant Coding */ |
| 164 #define RCU_BOTTLENECK_BPS 16000 | 164 #define RCU_BOTTLENECK_BPS 16000 |
| 165 #define RCU_TRANSCODING_SCALE 0.40f | 165 #define RCU_TRANSCODING_SCALE 0.40f |
| 166 #define RCU_TRANSCODING_SCALE_INVERSE 2.5f | 166 #define RCU_TRANSCODING_SCALE_INVERSE 2.5f |
| 167 | 167 |
| 168 #define RCU_TRANSCODING_SCALE_UB 0.50f | 168 #define RCU_TRANSCODING_SCALE_UB 0.50f |
| 169 #define RCU_TRANSCODING_SCALE_UB_INVERSE 2.0f | 169 #define RCU_TRANSCODING_SCALE_UB_INVERSE 2.0f |
| 170 | 170 |
| 171 #define SIZE_RESAMPLER_STATE 6 | |
| 172 | |
| 173 /* Define Error codes */ | 171 /* Define Error codes */ |
| 174 /* 6000 General */ | 172 /* 6000 General */ |
| 175 #define ISAC_MEMORY_ALLOCATION_FAILED 6010 | 173 #define ISAC_MEMORY_ALLOCATION_FAILED 6010 |
| 176 #define ISAC_MODE_MISMATCH 6020 | 174 #define ISAC_MODE_MISMATCH 6020 |
| 177 #define ISAC_DISALLOWED_BOTTLENECK 6030 | 175 #define ISAC_DISALLOWED_BOTTLENECK 6030 |
| 178 #define ISAC_DISALLOWED_FRAME_LENGTH 6040 | 176 #define ISAC_DISALLOWED_FRAME_LENGTH 6040 |
| 179 #define ISAC_UNSUPPORTED_SAMPLING_FREQUENCY 6050 | 177 #define ISAC_UNSUPPORTED_SAMPLING_FREQUENCY 6050 |
| 180 | 178 |
| 181 /* 6200 Bandwidth estimator */ | 179 /* 6200 Bandwidth estimator */ |
| 182 #define ISAC_RANGE_ERROR_BW_ESTIMATOR 6240 | 180 #define ISAC_RANGE_ERROR_BW_ESTIMATOR 6240 |
| (...skipping 15 matching lines...) Expand all Loading... |
| 198 #define ISAC_RANGE_ERROR_DECODE_LPC 6680 | 196 #define ISAC_RANGE_ERROR_DECODE_LPC 6680 |
| 199 #define ISAC_RANGE_ERROR_DECODE_SPECTRUM 6690 | 197 #define ISAC_RANGE_ERROR_DECODE_SPECTRUM 6690 |
| 200 #define ISAC_LENGTH_MISMATCH 6730 | 198 #define ISAC_LENGTH_MISMATCH 6730 |
| 201 #define ISAC_RANGE_ERROR_DECODE_BANDWITH 6740 | 199 #define ISAC_RANGE_ERROR_DECODE_BANDWITH 6740 |
| 202 #define ISAC_DISALLOWED_BANDWIDTH_MODE_DECODER 6750 | 200 #define ISAC_DISALLOWED_BANDWIDTH_MODE_DECODER 6750 |
| 203 #define ISAC_DISALLOWED_LPC_MODEL 6760 | 201 #define ISAC_DISALLOWED_LPC_MODEL 6760 |
| 204 /* 6800 Call setup formats */ | 202 /* 6800 Call setup formats */ |
| 205 #define ISAC_INCOMPATIBLE_FORMATS 6810 | 203 #define ISAC_INCOMPATIBLE_FORMATS 6810 |
| 206 | 204 |
| 207 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_SETTINGS_H_ */ | 205 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_SETTINGS_H_ */ |
| OLD | NEW |