OLD | NEW |
1 /*********************************************************************** | 1 /*********************************************************************** |
2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. | 2 Copyright (c) 2006-2011, Skype Limited. All rights reserved. |
3 Redistribution and use in source and binary forms, with or without | 3 Redistribution and use in source and binary forms, with or without |
4 modification, are permitted provided that the following conditions | 4 modification, are permitted provided that the following conditions |
5 are met: | 5 are met: |
6 - Redistributions of source code must retain the above copyright notice, | 6 - Redistributions of source code must retain the above copyright notice, |
7 this list of conditions and the following disclaimer. | 7 this list of conditions and the following disclaimer. |
8 - Redistributions in binary form must reproduce the above copyright | 8 - Redistributions in binary form must reproduce the above copyright |
9 notice, this list of conditions and the following disclaimer in the | 9 notice, this list of conditions and the following disclaimer in the |
10 documentation and/or other materials provided with the distribution. | 10 documentation and/or other materials provided with the distribution. |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 | 70 |
71 /* I: Uplink packet loss in percent (0-100)
*/ | 71 /* I: Uplink packet loss in percent (0-100)
*/ |
72 opus_int packetLossPercentage; | 72 opus_int packetLossPercentage; |
73 | 73 |
74 /* I: Complexity mode; 0 is lowest, 10 is highest complexity
*/ | 74 /* I: Complexity mode; 0 is lowest, 10 is highest complexity
*/ |
75 opus_int complexity; | 75 opus_int complexity; |
76 | 76 |
77 /* I: Flag to enable in-band Forward Error Correction (FEC); 0/1
*/ | 77 /* I: Flag to enable in-band Forward Error Correction (FEC); 0/1
*/ |
78 opus_int useInBandFEC; | 78 opus_int useInBandFEC; |
79 | 79 |
| 80 /* I: Flag to actually code in-band Forward Error Correction (FEC) in the
current packet; 0/1 */ |
| 81 opus_int LBRR_coded; |
| 82 |
80 /* I: Flag to enable discontinuous transmission (DTX); 0/1
*/ | 83 /* I: Flag to enable discontinuous transmission (DTX); 0/1
*/ |
81 opus_int useDTX; | 84 opus_int useDTX; |
82 | 85 |
83 /* I: Flag to use constant bitrate
*/ | 86 /* I: Flag to use constant bitrate
*/ |
84 opus_int useCBR; | 87 opus_int useCBR; |
85 | 88 |
86 /* I: Maximum number of bits allowed for the frame
*/ | 89 /* I: Maximum number of bits allowed for the frame
*/ |
87 opus_int maxBits; | 90 opus_int maxBits; |
88 | 91 |
89 /* I: Causes a smooth downmix to mono
*/ | 92 /* I: Causes a smooth downmix to mono
*/ |
(...skipping 13 matching lines...) Expand all Loading... |
103 | 106 |
104 /* O: Flag that SILK runs in WB mode without variable LP filter (use for s
witching between WB/SWB/FB) */ | 107 /* O: Flag that SILK runs in WB mode without variable LP filter (use for s
witching between WB/SWB/FB) */ |
105 opus_int inWBmodeWithoutVariableLP; | 108 opus_int inWBmodeWithoutVariableLP; |
106 | 109 |
107 /* O: Stereo width */ | 110 /* O: Stereo width */ |
108 opus_int stereoWidth_Q14; | 111 opus_int stereoWidth_Q14; |
109 | 112 |
110 /* O: Tells the Opus encoder we're ready to switch
*/ | 113 /* O: Tells the Opus encoder we're ready to switch
*/ |
111 opus_int switchReady; | 114 opus_int switchReady; |
112 | 115 |
| 116 /* O: SILK Signal type */ |
| 117 opus_int signalType; |
| 118 |
| 119 /* O: SILK offset (dithering) */ |
| 120 opus_int offset; |
113 } silk_EncControlStruct; | 121 } silk_EncControlStruct; |
114 | 122 |
115 /**************************************************************************/ | 123 /**************************************************************************/ |
116 /* Structure for controlling decoder operation and reading decoder status */ | 124 /* Structure for controlling decoder operation and reading decoder status */ |
117 /**************************************************************************/ | 125 /**************************************************************************/ |
118 typedef struct { | 126 typedef struct { |
119 /* I: Number of channels; 1/2
*/ | 127 /* I: Number of channels; 1/2
*/ |
120 opus_int32 nChannelsAPI; | 128 opus_int32 nChannelsAPI; |
121 | 129 |
122 /* I: Number of channels; 1/2
*/ | 130 /* I: Number of channels; 1/2
*/ |
(...skipping 10 matching lines...) Expand all Loading... |
133 | 141 |
134 /* O: Pitch lag of previous frame (0 if unvoiced), measured in samples at
48 kHz */ | 142 /* O: Pitch lag of previous frame (0 if unvoiced), measured in samples at
48 kHz */ |
135 opus_int prevPitchLag; | 143 opus_int prevPitchLag; |
136 } silk_DecControlStruct; | 144 } silk_DecControlStruct; |
137 | 145 |
138 #ifdef __cplusplus | 146 #ifdef __cplusplus |
139 } | 147 } |
140 #endif | 148 #endif |
141 | 149 |
142 #endif | 150 #endif |
OLD | NEW |