mirror of
https://github.com/yuanyuanxiang/SimpleRemoter.git
synced 2026-01-22 07:14:15 +08:00
Feature: Add menu to set screen strategy for remote control
This commit is contained in:
@@ -8,14 +8,14 @@ extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* 鏅鸿兘鍘嬬缉鍑芥暟锛堣嚜鍔ㄩ€夋嫨鍗曠嚎绋?澶氱嚎绋嬶級
|
||||
* @param cctx 鍘嬬缉涓婁笅鏂囷紙闇€鎻愬墠鍒涘缓锛?
|
||||
* @param dst 杈撳嚭缂撳啿鍖?
|
||||
* @param dstCapacity 杈撳嚭缂撳啿鍖哄ぇ灏?
|
||||
* @param src 杈撳叆鏁版嵁
|
||||
* @param srcSize 杈撳叆鏁版嵁澶у皬
|
||||
* @param threshold 瑙﹀彂澶氱嚎绋嬬殑鏈€灏忔暟鎹ぇ灏忥紙寤鸿 >= 1MB锛?
|
||||
* @return 鍘嬬缉鍚庣殑鏁版嵁澶у皬锛堥敊璇爜閫氳繃 ZSTD_isError() 妫€鏌ワ級
|
||||
* 智能压缩函数(自动选择单线程/多线程)
|
||||
* @param cctx 压缩上下文(需提前创建)
|
||||
* @param dst 输出缓冲区
|
||||
* @param dstCapacity 输出缓冲区大小
|
||||
* @param src 输入数据
|
||||
* @param srcSize 输入数据大小
|
||||
* @param threshold 触发多线程的最小数据大小(建议 >= 1MB)
|
||||
* @return 压缩后的数据大小(错误码通过 ZSTD_isError() 检查)
|
||||
*/
|
||||
size_t zstd_compress_auto(
|
||||
ZSTD_CCtx* cctx,
|
||||
|
||||
Reference in New Issue
Block a user