降低CPU使用率,处置好因降低CPU使用率带来的颜色偏差

This commit is contained in:
2026-01-31 10:43:41 +08:00
parent 6661edfc44
commit 4afbf06439
17 changed files with 360 additions and 64 deletions

View File

@@ -5,9 +5,16 @@
/// </summary>
public class SdkGlobal
{
/// <summary>
/// 是否保存摄像头配置
/// </summary>
/// <summary>是否保存摄像头配置</summary>
public static bool SaveCameraConfigEnable { get; set; } = false;
/// <summary>是否使用 TurboJpegWrapper 降低图片编码开销</summary>
public static bool UseTurboJpegWrapper { get; set;} = true;
/// <summary>禁用 TurboJpegWrapper</summary>
public static void DisableTurboJpegAcceleration()
{
UseTurboJpegWrapper = false;
}
}
}