wpcsilence.comp.dwpt.2d.lib
来自「su 的源代码库」· LIB 代码 · 共 29 行
LIB
29 行
WPCSILENCE - routines for in memory silence en/decodingcodeSilence encode the silence pieces of a stream codeDesilence decode the silence encoded streamFunction Prototypes:void codeSilence (void *inb, void *outb)void codeDesilence ( void *inb, void *outb)codeSilence:Input:inb input bufferOutput:outb output buffercodeDesilence:Input:inb input bufferOutput:outb output buffercodeSilence:Note:To avoid the inefficiency in encoding isolated 0's, I start a runonly when there are CODESTARTTHRSHOLD consective 0's. Therefore, a look ahead buffer is needed. The run is stopped as soon as thereis a non-0 symbol. Author: CWP: Tong Chen, 1994
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?