| 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 /******************/ | 104 /******************/ |
| 105 /* Decode a frame */ | 105 /* Decode a frame */ |
| 106 /******************/ | 106 /******************/ |
| 107 opus_int silk_Decode( /* O Returns error co
de */ | 107 opus_int silk_Decode( /* O Returns error co
de */ |
| 108 void* decState, /* I/O State
*/ | 108 void* decState, /* I/O State
*/ |
| 109 silk_DecControlStruct* decControl, /* I/O Control Structur
e */ | 109 silk_DecControlStruct* decControl, /* I/O Control Structur
e */ |
| 110 opus_int lostFlag, /* I 0: no loss, 1 lo
ss, 2 decode fec */ | 110 opus_int lostFlag, /* I 0: no loss, 1 lo
ss, 2 decode fec */ |
| 111 opus_int newPacketFlag, /* I Indicates first
decoder call for this packet */ | 111 opus_int newPacketFlag, /* I Indicates first
decoder call for this packet */ |
| 112 ec_dec *psRangeDec, /* I/O Compressor data
structure */ | 112 ec_dec *psRangeDec, /* I/O Compressor data
structure */ |
| 113 opus_int16 *samplesOut, /* O Decoded output s
peech vector */ | 113 opus_int16 *samplesOut, /* O Decoded output s
peech vector */ |
| 114 opus_int32 *nSamplesOut /* O Number of sample
s decoded */ | 114 opus_int32 *nSamplesOut, /* O Number of sample
s decoded */ |
| 115 int arch /* I Run-time archite
cture */ |
| 115 ); | 116 ); |
| 116 | 117 |
| 117 #if 0 | 118 #if 0 |
| 118 /**************************************/ | 119 /**************************************/ |
| 119 /* Get table of contents for a packet */ | 120 /* Get table of contents for a packet */ |
| 120 /**************************************/ | 121 /**************************************/ |
| 121 opus_int silk_get_TOC( | 122 opus_int silk_get_TOC( |
| 122 const opus_uint8 *payload, /* I Payload data
*/ | 123 const opus_uint8 *payload, /* I Payload data
*/ |
| 123 const opus_int nBytesIn, /* I Number of input
bytes */ | 124 const opus_int nBytesIn, /* I Number of input
bytes */ |
| 124 const opus_int nFramesPerPayload, /* I Number of SILK f
rames per payload */ | 125 const opus_int nFramesPerPayload, /* I Number of SILK f
rames per payload */ |
| 125 silk_TOC_struct *Silk_TOC /* O Type of content
*/ | 126 silk_TOC_struct *Silk_TOC /* O Type of content
*/ |
| 126 ); | 127 ); |
| 127 #endif | 128 #endif |
| 128 | 129 |
| 129 #ifdef __cplusplus | 130 #ifdef __cplusplus |
| 130 } | 131 } |
| 131 #endif | 132 #endif |
| 132 | 133 |
| 133 #endif | 134 #endif |
| OLD | NEW |