namespace SHH.CameraSdk
{
    /// <summary>
    /// SDk 全局
    /// </summary>
    public class SdkGlobal
    {
        /// <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;
        }
    }
}