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

Side by Side Diff: silk/API.h

Issue 12388030: Update Opus to 1.0.2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/opus
Patch Set: Created 7 years, 9 months 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 | Annotate | Revision Log
« no previous file with comments | « opus_sources.mk ('k') | silk/NLSF_stabilize.c » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 silk_EncControlStruct *encStatus /* O Encoder Status */ 67 silk_EncControlStruct *encStatus /* O Encoder Status */
68 ); 68 );
69 69
70 /***************************************/
71 /* Read control structure from encoder */
72 /***************************************/
73 opus_int silk_QueryEncoder( /* O Returns error co de */
74 const void *encState, /* I State */
75 silk_EncControlStruct *encStatus /* O Encoder Status */
76 );
77
78 /**************************/ 70 /**************************/
79 /* Encode frame with Silk */ 71 /* Encode frame with Silk */
80 /**************************/ 72 /**************************/
81 /* Note: if prefillFlag is set, the input must contain 10 ms of audio, irrespect ive of what */ 73 /* Note: if prefillFlag is set, the input must contain 10 ms of audio, irrespect ive of what */
82 /* encControl->payloadSize_ms is set to */ 74 /* encControl->payloadSize_ms is set to */
83 opus_int silk_Encode( /* O Returns error co de */ 75 opus_int silk_Encode( /* O Returns error co de */
84 void *encState, /* I/O State */ 76 void *encState, /* I/O State */
85 silk_EncControlStruct *encControl, /* I Control status */ 77 silk_EncControlStruct *encControl, /* I Control status */
86 const opus_int16 *samplesIn, /* I Speech sample in put vector */ 78 const opus_int16 *samplesIn, /* I Speech sample in put vector */
87 opus_int nSamplesIn, /* I Number of sample s in input vector */ 79 opus_int nSamplesIn, /* I Number of sample s in input vector */
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
131 const opus_int nFramesPerPayload, /* I Number of SILK f rames per payload */ 123 const opus_int nFramesPerPayload, /* I Number of SILK f rames per payload */
132 silk_TOC_struct *Silk_TOC /* O Type of content */ 124 silk_TOC_struct *Silk_TOC /* O Type of content */
133 ); 125 );
134 #endif 126 #endif
135 127
136 #ifdef __cplusplus 128 #ifdef __cplusplus
137 } 129 }
138 #endif 130 #endif
139 131
140 #endif 132 #endif
OLDNEW
« no previous file with comments | « opus_sources.mk ('k') | silk/NLSF_stabilize.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698