Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: webrtc/modules/audio_coding/codecs/isac/fix/source/isacfix.c

Issue 1413333002: system_wrappers: rename interface -> include (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased again! Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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/interface/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"
29 #include "webrtc/system_wrappers/interface/cpu_features_wrapper.h" 29 #include "webrtc/system_wrappers/include/cpu_features_wrapper.h"
30 30
31 // Declare function pointers. 31 // Declare function pointers.
32 FilterMaLoopFix WebRtcIsacfix_FilterMaLoopFix; 32 FilterMaLoopFix WebRtcIsacfix_FilterMaLoopFix;
33 Spec2Time WebRtcIsacfix_Spec2Time; 33 Spec2Time WebRtcIsacfix_Spec2Time;
34 Time2Spec WebRtcIsacfix_Time2Spec; 34 Time2Spec WebRtcIsacfix_Time2Spec;
35 MatrixProduct1 WebRtcIsacfix_MatrixProduct1; 35 MatrixProduct1 WebRtcIsacfix_MatrixProduct1;
36 MatrixProduct2 WebRtcIsacfix_MatrixProduct2; 36 MatrixProduct2 WebRtcIsacfix_MatrixProduct2;
37 37
38 /* This method assumes that |stream_size_bytes| is in valid range, 38 /* This method assumes that |stream_size_bytes| is in valid range,
39 * i.e. >= 0 && <= STREAM_MAXW16_60MS 39 * i.e. >= 0 && <= STREAM_MAXW16_60MS
(...skipping 1506 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698