| 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 * isacfix.c | 12 * isacfix.c |
| 13 * | 13 * |
| 14 * This C file contains the functions for the ISAC API | 14 * This C file contains the functions for the ISAC API |
| 15 * | 15 * |
| 16 */ | 16 */ |
| 17 | 17 |
| 18 #include "webrtc/modules/audio_coding/codecs/isac/fix/interface/isacfix.h" | 18 #include "webrtc/modules/audio_coding/codecs/isac/fix/include/isacfix.h" |
| 19 | 19 |
| 20 #include <assert.h> | 20 #include <assert.h> |
| 21 #include <stdlib.h> | 21 #include <stdlib.h> |
| 22 | 22 |
| 23 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator
.h" | 23 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/bandwidth_estimator
.h" |
| 24 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h" | 24 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/codec.h" |
| 25 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.h" | 25 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/entropy_coding.h" |
| 26 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_internal
.h" | 26 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/filterbank_internal
.h" |
| 27 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.h
" | 27 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/lpc_masking_model.h
" |
| 28 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/structs.h" | 28 #include "webrtc/modules/audio_coding/codecs/isac/fix/source/structs.h" |
| (...skipping 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1546 assert(inst->initflag & 1); // Decoder initialized. | 1546 assert(inst->initflag & 1); // Decoder initialized. |
| 1547 WebRtcIsacfixBw_GetBandwidthInfo(&inst->bwestimator_obj, bwinfo); | 1547 WebRtcIsacfixBw_GetBandwidthInfo(&inst->bwestimator_obj, bwinfo); |
| 1548 } | 1548 } |
| 1549 | 1549 |
| 1550 void WebRtcIsacfix_SetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst, | 1550 void WebRtcIsacfix_SetBandwidthInfo(ISACFIX_MainStruct* ISAC_main_inst, |
| 1551 const IsacBandwidthInfo* bwinfo) { | 1551 const IsacBandwidthInfo* bwinfo) { |
| 1552 ISACFIX_SubStruct* inst = (ISACFIX_SubStruct*)ISAC_main_inst; | 1552 ISACFIX_SubStruct* inst = (ISACFIX_SubStruct*)ISAC_main_inst; |
| 1553 assert(inst->initflag & 2); // Encoder initialized. | 1553 assert(inst->initflag & 2); // Encoder initialized. |
| 1554 WebRtcIsacfixBw_SetBandwidthInfo(&inst->bwestimator_obj, bwinfo); | 1554 WebRtcIsacfixBw_SetBandwidthInfo(&inst->bwestimator_obj, bwinfo); |
| 1555 } | 1555 } |
| OLD | NEW |