⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 shclib.h

📁 linux arm开发板上的usb摄像头接口驱动程序
💻 H
字号:
/* *  shcodec ;) version 1.0.1 *  Copyright (C) 1998-2002 Alexander Simakov *  April 2002 * *  This software may be used freely for any purpose. However, when *  distributed, the original source must be clearly stated, and, *  when the source code is distributed, the copyright notice must *  be retained and any alterations in the code must be clearly marked. *  No warranty is given regarding the quality of this software. * *  internet: http://www.webcenter.ru/~xander *  e-mail: xander@online.ru */#ifndef SHCLIB_INCLUDED#define SHCLIB_INCLUDEDtypedef unsigned char uchar;typedef unsigned int  uint;/* *  Encode bSize bytes from iBlock to oBlock and *  return encoded stream size(if success) or *  0 (if fail). oBlock size must be at least *  iBlock size + 256 (for code tree stuff) */int sh_EncodeBlock(uchar *iBlock,                   uchar *oBlock,                   int bSize);/* *  Decode bSize bytes from iBlock to oBlock and return *  decoded stream size(if success) or 0(if fail). *  Note: decoded message must fits in oBlock. To ensure *  that oBlock has enought room for a data, check first *  DWORD in the iBlock. First DWORD in iBlock is decoded *  stream size(i.e. length of original message). */int sh_DecodeBlock(uchar *iBlock,                   uchar *oBlock,                   int bSize);#endif /* SHCLIB_INCLUDED */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -