[fix] update minirtc for SIMD and frame rate fixes

This commit is contained in:
dijunkun
2026-09-13 02:40:44 +08:00
parent b54d32ef41
commit 3c403f6162
3 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -11,7 +11,7 @@
## Windows
安装 Visual Studio 2022 的“使用 C++ 的桌面开发”工作负载及 Windows SDK,并安装 Xmake。在开发者 PowerShell 中执行:
安装 Visual Studio 2022 的“使用 C++ 的桌面开发”工作负载、Windows SDK 和“适用于 Windows 的 C++ Clang 编译器”组件,并安装 Xmake。Windows x64 的 libyuv 使用 clang-cl 编译,以启用 SIMD 图像转换和缩放;主程序仍使用 MSVC。在开发者 PowerShell 中执行:
```powershell
git clone --recurse-submodules https://github.com/kunkundi/crossdesk.git
@@ -21,6 +21,8 @@ xmake b -vy crossdesk
xmake r crossdesk
```
性能复测应使用 `release`;`debug` 保留调试信息并关闭主程序编译优化。
安装包还使用 NSIS,需将仓库中的 [nsProcess.dll](../apps/desktop/scripts/windows/nsProcess.dll) 放入 NSIS 的 `Plugins/x86-unicode` 目录,并确保 `makensis` 在 `PATH` 中。完成 Release 编译后运行:
```powershell
+3 -1
View File
@@ -11,7 +11,7 @@ After cloning, run build and packaging commands from the repository root. The [X
## Windows
Install Visual Studio 2022 with the **Desktop development with C++** workload and Windows SDK, plus Xmake. In a developer PowerShell, run:
Install Visual Studio 2022 with the **Desktop development with C++** workload, Windows SDK, and **C++ Clang Compiler for Windows** component, plus Xmake. Windows x64 builds use clang-cl for libyuv to enable SIMD conversion and scaling; the application still uses MSVC. In a developer PowerShell, run:
```powershell
git clone --recurse-submodules https://github.com/kunkundi/crossdesk.git
@@ -21,6 +21,8 @@ xmake b -vy crossdesk
xmake r crossdesk
```
Use `release` for performance measurements; `debug` keeps symbols and disables application compiler optimizations.
Installer packaging also uses NSIS. Copy the repository's [nsProcess.dll](../apps/desktop/scripts/windows/nsProcess.dll) into NSIS's `Plugins/x86-unicode` directory and ensure `makensis` is on `PATH`. After building Release, run:
```powershell