| 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 |
| 11 /* | 11 /* |
| 12 * structs.h | 12 * structs.h |
| 13 * | 13 * |
| 14 * This header file contains all the structs used in the ISAC codec | 14 * This header file contains all the structs used in the ISAC codec |
| 15 * | 15 * |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ | 18 #ifndef WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ |
| 19 #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ | 19 #define WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ |
| 20 | 20 |
| 21 #include "webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h" | 21 #include "webrtc/modules/audio_coding/codecs/isac/bandwidth_info.h" |
| 22 #include "webrtc/modules/audio_coding/codecs/isac/main/interface/isac.h" | 22 #include "webrtc/modules/audio_coding/codecs/isac/main/include/isac.h" |
| 23 #include "webrtc/modules/audio_coding/codecs/isac/main/source/settings.h" | 23 #include "webrtc/modules/audio_coding/codecs/isac/main/source/settings.h" |
| 24 #include "webrtc/typedefs.h" | 24 #include "webrtc/typedefs.h" |
| 25 | 25 |
| 26 typedef struct Bitstreamstruct { | 26 typedef struct Bitstreamstruct { |
| 27 | 27 |
| 28 uint8_t stream[STREAM_SIZE_MAX]; | 28 uint8_t stream[STREAM_SIZE_MAX]; |
| 29 uint32_t W_upper; | 29 uint32_t W_upper; |
| 30 uint32_t streamval; | 30 uint32_t streamval; |
| 31 uint32_t stream_index; | 31 uint32_t stream_index; |
| 32 | 32 |
| (...skipping 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 486 int16_t maxPayloadSizeBytes; | 486 int16_t maxPayloadSizeBytes; |
| 487 /* The expected sampling rate of the input signal. Valid values are 16000 | 487 /* The expected sampling rate of the input signal. Valid values are 16000 |
| 488 * and 32000. This is not the operation sampling rate of the codec. */ | 488 * and 32000. This is not the operation sampling rate of the codec. */ |
| 489 uint16_t in_sample_rate_hz; | 489 uint16_t in_sample_rate_hz; |
| 490 | 490 |
| 491 // Trig tables for WebRtcIsac_Time2Spec and WebRtcIsac_Spec2time. | 491 // Trig tables for WebRtcIsac_Time2Spec and WebRtcIsac_Spec2time. |
| 492 TransformTables transform_tables; | 492 TransformTables transform_tables; |
| 493 } ISACMainStruct; | 493 } ISACMainStruct; |
| 494 | 494 |
| 495 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ */ | 495 #endif /* WEBRTC_MODULES_AUDIO_CODING_CODECS_ISAC_MAIN_SOURCE_STRUCTS_H_ */ |
| OLD | NEW |