V0.4.0加入锁定二维码

This commit is contained in:
zhy
2026-08-10 17:09:30 +08:00
parent d885259e2b
commit 241e22abea
34 changed files with 1754 additions and 985 deletions
+39 -27
View File
@@ -1,55 +1,67 @@
# QFT v0.3.0-rc3 implementation status
# QFT v0.4.0-rc2 implementation status
## Windows → Android optical
- [x] QFT1 manifest/data/end wire format
- [x] QFT2 manifest/data/end frame format
- [x] QFT2 Base45 text layer; Android Result.text decode
- [x] QFT1 legacy receive compatibility
- [x] CRC32 per frame + SHA-256 whole file
- [x] 1 QR / 4 QR per page
- [x] Windows target refresh 1~60 FPS
- [x] 4-code default, 900-byte payload
- [x] **single large QR only**; 2×2 / 4-channel removed
- [x] default 450-byte DATA payload
- [x] QR-L + complete 4-module quiet zone
- [x] Windows target display 5~60 FPS
- [x] draggable control/QR split pane
- [x] focus-QR mode and QR zoom
- [x] Rayon background pre-encoding
- [x] reused egui GPU TextureHandle
- [x] reused egui GPU TextureHandle / NEAREST sampling
- [x] positioned source reads; no whole-file mmap
- [x] bounded pre-render cache; 1.1GiB process design ceiling
- [x] Android 4-region concurrent decoder
- [x] CameraX KEEP_ONLY_LATEST
- [x] no whole-frame rotation/copy in hot path
- [x] runtime scan FPS / decoded QR/s status
- [x] synthetic 4/4 visual QR decode test
- [ ] physical 60Hz/120Hz monitor × multiple Android camera hardware matrix
- [x] bounded pre-render cache; 1100 MiB process design budget
- [x] Android centered acquisition + finder-point ROI lock
- [x] smoothed moving ROI + progressive miss expansion/reacquire
- [x] dynamic overlay: search/green lock/yellow miss/outside dim
- [x] lock-centered periodic AF/AE
- [x] Android 640×480 ImageAnalysis + KEEP_ONLY_LATEST
- [x] Camera2Interop advertised AE FPS range request up to 60
- [x] automatic fallback when an OEM rejects explicit FPS/stream combination
- [x] reusable Y-plane `GrayFrameBuffer`
- [x] GlobalHistogram hot path + sparse Hybrid fallback
- [x] duplicate decoded optical frames suppressed before assembler
- [x] runtime camera FPS / decoded/s / distinct-new-frame/s / decode-ms UI
- [x] synthetic QFT2 v15 full-frame + ROI visual decode test
- [ ] physical 30/45/60Hz display × Android camera throughput matrix
## Android → Windows
- [x] QFTPAIR2 compact pairing QR
- [x] persistent per-PC Direct AP identity + per-session token
- [x] one fast endpoint hint in Direct pairing QR
- [x] Windows Wi-Fi Direct Legacy AP code
- [x] Windows Wi-Fi Direct Legacy AP implementation
- [x] Android 10+ WifiNetworkSpecifier path
- [x] Android 7~9 legacy Wi-Fi path
- [x] wait for actual IPv4/link route before discovery
- [x] UDP QFTDISC2 receiver discovery
- [x] directed broadcast + real gateway discovery
- [x] bounded /24 concurrent subnet fallback
- [x] QR endpoint + gateway + directed broadcast + subnet fallback
- [x] HTTP bound to selected Android Network
- [x] local cleartext network security config
- [x] private/local IPv4 + session-token validation
- [x] Parallel v2 upload init/chunk/finish
- [x] adaptive 4/8/16 MiB chunk size
- [x] local/private IPv4 + session-token validation
- [x] Parallel v2 init/chunk/finish
- [x] adaptive 4/8/16 MiB chunks
- [x] up to 8 Android workers per file
- [x] Windows concurrent positioned writes
- [x] Windows positioned concurrent writes
- [x] temporary `.qftpart`, final SHA-256 and rename
- [x] legacy single-stream fallback
- [x] loopback UDP + HTTP + 8-worker integration test
- [x] loopback UDP + HTTP + out-of-order parallel integration test
- [ ] physical Windows Wi-Fi Direct adapter / driver / firewall matrix
## Android compatibility
- [x] minSdk 24 (Android 7.0)
- [x] legacy WRITE_EXTERNAL_STORAGE path <= Android 9
- [x] WRITE_EXTERNAL_STORAGE <= Android 9
- [x] MediaStore Downloads >= Android 10
- [x] ACCESS_FINE_LOCATION compatibility <= Android 12
- [x] NEARBY_WIFI_DEVICES >= Android 13
- [x] no `java.util.Base64` dependency in app source
- [x] key Kotlin protocol/pairing/upload/scanner source syntax tests in the build environment
- [ ] APK installation/runtime matrix on Android 7/8/9/10/11/12/13/14/15/16+ physical/emulated devices
- [x] host Kotlin QFT2/Base45 + LockRect runtime smoke
- [x] host Kotlin QrAnalyzer type-check with CameraX/ZXing-shaped stubs
- [ ] real Android Gradle APK build in this container (SDK unavailable here)
- [ ] install/runtime matrix on physical Android 7→latest devices
See `TEST_REPORT.md` for exact test evidence and limitations.
See `TEST_REPORT.md` and `TEST_RESULTS.txt` for executed evidence and limitations.