[update] プレビューのフレームコピーを LockBits で高速化
毎フレームの new Bitmap(bmp)(GDI+ DrawImage 経路・32bppARGB 変換で ~25ms)を,
同一 PixelFormat の生画素を LockBits + RtlMoveMemory で行単位コピーする
BitmapUtil.FastClone に置換.コールバックスレッドのコピー律速を解消した.

実機計測(MEMMONITOR): コピー ~25ms→~2.5ms(約10倍),callback_fps ~16→~30,
両プレビュー描画 ~10→~20fps.色化け・クラッシュなし.

生成コピーは入力と独立し UI スレッドでのみ Dispose される所有権・スレッド安全性は
従来の new Bitmap(bmp) と同一で不変.src は ReadOnly ロックのみで非破壊.
インデックスカラー系は安全網として従来の GDI+ フルコピーにフォールバック.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 252cde3 commit 609baf651f73dd2117264f035590246a0f6056c4
Rinto Hasegawa rintoHasegawa (Rinto Hasegawa) authored 4 days ago
Showing 7 changed files
View
CLAUDE.md
View
TIASshot/TIASshot.csproj
View
TIASshot/UI/Form1.cs
View
TIASshot/UI/MemoryMonitorForm.cs
View
TIASshot/UI/PreviewProfiler.cs
View
TIASshot/Utils/BitmapUtil.cs 0 → 100644
View
docs/PROGRESS.md