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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 /***********************************************/ | 57 /***********************************************/ |
58 opus_int silk_Get_Encoder_Size( /* O Returns error co
de */ | 58 opus_int silk_Get_Encoder_Size( /* O Returns error co
de */ |
59 opus_int *encSizeBytes /* O Number of bytes
in SILK encoder state */ | 59 opus_int *encSizeBytes /* O Number of bytes
in SILK encoder state */ |
60 ); | 60 ); |
61 | 61 |
62 /*************************/ | 62 /*************************/ |
63 /* Init or reset encoder */ | 63 /* Init or reset encoder */ |
64 /*************************/ | 64 /*************************/ |
65 opus_int silk_InitEncoder( /* O Returns error co
de */ | 65 opus_int silk_InitEncoder( /* O Returns error co
de */ |
66 void *encState, /* I/O State
*/ | 66 void *encState, /* I/O State
*/ |
| 67 int arch, /* I Run-time archite
cture */ |
67 silk_EncControlStruct *encStatus /* O Encoder Status
*/ | 68 silk_EncControlStruct *encStatus /* O Encoder Status
*/ |
68 ); | 69 ); |
69 | 70 |
70 /**************************/ | 71 /**************************/ |
71 /* Encode frame with Silk */ | 72 /* Encode frame with Silk */ |
72 /**************************/ | 73 /**************************/ |
73 /* Note: if prefillFlag is set, the input must contain 10 ms of audio, irrespect
ive of what */ | 74 /* Note: if prefillFlag is set, the input must contain 10 ms of audio, irrespect
ive of what */ |
74 /* encControl->payloadSize_ms is set to
*/ | 75 /* encControl->payloadSize_ms is set to
*/ |
75 opus_int silk_Encode( /* O Returns error co
de */ | 76 opus_int silk_Encode( /* O Returns error co
de */ |
76 void *encState, /* I/O State
*/ | 77 void *encState, /* I/O State
*/ |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
123 const opus_int nFramesPerPayload, /* I Number of SILK f
rames per payload */ | 124 const opus_int nFramesPerPayload, /* I Number of SILK f
rames per payload */ |
124 silk_TOC_struct *Silk_TOC /* O Type of content
*/ | 125 silk_TOC_struct *Silk_TOC /* O Type of content
*/ |
125 ); | 126 ); |
126 #endif | 127 #endif |
127 | 128 |
128 #ifdef __cplusplus | 129 #ifdef __cplusplus |
129 } | 130 } |
130 #endif | 131 #endif |
131 | 132 |
132 #endif | 133 #endif |
OLD | NEW |