完整审计:0x18000ca30 调用链实现对照表 + 全链路复验

- 审计 0xca30 全链:核心渲染(统计/窗口/LUT/gray/2x/FFC/ref/表重建)全部等价实现
- 补帧首标志清零(0x4203c/40/44/04)
- 对照表写入 reverse_20260813_full.md §8.1
- 复验(pairs_ctrl/pairs_final2 新数据):
  - NUC+blind 0/19200、窗口一致、gray+2x 0/76800(离线)
  - LUT 形态同构([500]=41 vs 40, [900]=242 vs 242)
  - 实机同场景 gray 直方图相关性 0.966
  - 零像素两边均为 0
- 未移植主体(官方当前全关,等价):0x230 帧差、0x41fe8 隔行平滑、
  0x30 gray 覆盖路径、多比例升采样
This commit is contained in:
ZXCLI
2026-08-14 16:41:50 +08:00
parent fe91a82762
commit 51c8ba9174
174 changed files with 480 additions and 192 deletions
+4
View File
@@ -1023,6 +1023,10 @@ int WINAPI WinMain(HINSTANCE inst, HINSTANCE prev, LPSTR cmd, int show) {
g_live[i] = (unsigned short)(g_frame[i * 2] | ((unsigned)g_frame[i * 2 + 1] << 8));
g_fcount++;
if (dbg) { fprintf(dbg, "RENDER f=%u has_ref=%d tables=%d\n", g_fcount, g_has_ref, g_tables_ready); fflush(dbg); }
/* official 0xca30: per-frame flag reset (0x4203c/0x42040/0x42044/0x42004) */
g_flag4203c = 0;
g_flag42038 = 0;
g_flag42004 = 0;
if (g_has_ref && g_tables_ready) {
official_nuc_and_blind(g_live, g_nuc);
/* official 0xca30: temporal filter when 0x41fe0 > 1 (live=1, off) */