Note: We no longer publish the latest version of our code here. We primarily use a kumc-bmi github organization. The heron ETL repository, in particular, is not public. Peers in the informatics community should see MultiSiteDev for details on requesting access.

source: webrtc/webrtc/modules/audio_coding/main/source/acm_isac_macros.h @ 0:4bda6873e34c

pub_scrub_3792 tip
Last change on this file since 0:4bda6873e34c was 0:4bda6873e34c, checked in by Michael Prittie <mprittie@…>, 6 years ago

Scrubbed password for publication.

File size: 3.5 KB
Line 
1/*
2 *  Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 *
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
6 *  tree. An additional intellectual property rights grant can be found
7 *  in the file PATENTS.  All contributing project authors may
8 *  be found in the AUTHORS file in the root of the source tree.
9 */
10
11#ifndef WEBRTC_MODULES_AUDIO_CODING_MAIN_SOURCE_ACM_ISAC_MACROS_H_
12#define WEBRTC_MODULES_AUDIO_CODING_MAIN_SOURCE_ACM_ISAC_MACROS_H_
13
14#include "webrtc/engine_configurations.h"
15
16namespace webrtc {
17
18namespace acm1 {
19
20#ifdef WEBRTC_CODEC_ISAC
21#define ACM_ISAC_CREATE            WebRtcIsac_Create
22#define ACM_ISAC_FREE              WebRtcIsac_Free
23#define ACM_ISAC_ENCODERINIT       WebRtcIsac_EncoderInit
24#define ACM_ISAC_ENCODE            WebRtcIsac_Encode
25#define ACM_ISAC_DECODERINIT       WebRtcIsac_DecoderInit
26#define ACM_ISAC_DECODE_BWE        WebRtcIsac_UpdateBwEstimate
27#define ACM_ISAC_DECODE_B          WebRtcIsac_Decode
28#define ACM_ISAC_DECODEPLC         WebRtcIsac_DecodePlc
29#define ACM_ISAC_CONTROL           WebRtcIsac_Control
30#define ACM_ISAC_CONTROL_BWE       WebRtcIsac_ControlBwe
31#define ACM_ISAC_GETFRAMELEN       WebRtcIsac_ReadFrameLen
32#define ACM_ISAC_GETERRORCODE      WebRtcIsac_GetErrorCode
33#define ACM_ISAC_GETSENDBITRATE    WebRtcIsac_GetUplinkBw
34#define ACM_ISAC_SETMAXPAYLOADSIZE WebRtcIsac_SetMaxPayloadSize
35#define ACM_ISAC_SETMAXRATE        WebRtcIsac_SetMaxRate
36#define ACM_ISAC_GETNEWBITSTREAM   WebRtcIsac_GetNewBitStream
37#define ACM_ISAC_GETSENDBWE        WebRtcIsac_GetDownLinkBwIndex
38#define ACM_ISAC_SETBWE            WebRtcIsac_UpdateUplinkBw
39#define ACM_ISAC_GETBWE            WebRtcIsac_ReadBwIndex
40#define ACM_ISAC_GETNEWFRAMELEN    WebRtcIsac_GetNewFrameLen
41#define ACM_ISAC_STRUCT            ISACStruct
42#define ACM_ISAC_GETENCSAMPRATE    WebRtcIsac_EncSampRate
43#define ACM_ISAC_GETDECSAMPRATE    WebRtcIsac_DecSampRate
44#endif
45
46#ifdef WEBRTC_CODEC_ISACFX
47#define ACM_ISAC_CREATE            WebRtcIsacfix_Create
48#define ACM_ISAC_FREE              WebRtcIsacfix_Free
49#define ACM_ISAC_ENCODERINIT       WebRtcIsacfix_EncoderInit
50#define ACM_ISAC_ENCODE            WebRtcIsacfix_Encode
51#define ACM_ISAC_DECODERINIT       WebRtcIsacfix_DecoderInit
52#define ACM_ISAC_DECODE_BWE        WebRtcIsacfix_UpdateBwEstimate
53#define ACM_ISAC_DECODE_B          WebRtcIsacfix_Decode
54#define ACM_ISAC_DECODEPLC         WebRtcIsacfix_DecodePlc
55#define ACM_ISAC_CONTROL           ACMISACFixControl  // local Impl
56#define ACM_ISAC_CONTROL_BWE       ACMISACFixControlBWE  // local Impl
57#define ACM_ISAC_GETFRAMELEN       WebRtcIsacfix_ReadFrameLen
58#define ACM_ISAC_GETERRORCODE      WebRtcIsacfix_GetErrorCode
59#define ACM_ISAC_GETSENDBITRATE    ACMISACFixGetSendBitrate  // local Impl
60#define ACM_ISAC_SETMAXPAYLOADSIZE WebRtcIsacfix_SetMaxPayloadSize
61#define ACM_ISAC_SETMAXRATE        WebRtcIsacfix_SetMaxRate
62#define ACM_ISAC_GETNEWBITSTREAM   ACMISACFixGetNewBitstream  // local Impl
63#define ACM_ISAC_GETSENDBWE        ACMISACFixGetSendBWE  // local Impl
64#define ACM_ISAC_SETBWE            WebRtcIsacfix_UpdateUplinkBw
65#define ACM_ISAC_GETBWE            WebRtcIsacfix_ReadBwIndex
66#define ACM_ISAC_GETNEWFRAMELEN    WebRtcIsacfix_GetNewFrameLen
67#define ACM_ISAC_STRUCT            ISACFIX_MainStruct
68#define ACM_ISAC_GETENCSAMPRATE    ACMISACFixGetEncSampRate  // local Impl
69#define ACM_ISAC_GETDECSAMPRATE    ACMISACFixGetDecSampRate  // local Impl
70#endif
71
72}  // namespace acm1
73
74}  // namespace webrtc
75
76#endif  // WEBRTC_MODULES_AUDIO_CODING_MAIN_SOURCE_ACM_ISAC_MACROS_H_
77
Note: See TracBrowser for help on using the repository browser.