[update] Kotlin リファクタリング(RawCapturePlugin の責務分割)
god class 化していた RawCapturePlugin.kt(1184 行)から,挙動を変えずに純粋・自己完結な処理を 4 つの object に抽出(1184→856 行).

- PngEncoder: 非圧縮 PNG エンコード
- YuvJpegConverter: YUV_420_888→NV21→JPEG 変換(回転・反転含む)
- ImageStatistics: RAW からの画素統計算出(専用定数も移動)
- CaptureMetadata: meta.json メタデータ Map 構築(撮影設定値は引数で受領)

flutter build apk --debug 成功,dart analyze 0 件.実機での撮影動作確認は別途必要.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent f43ccc5 commit dd19db54bcc0a05152ecc0ea4a55374e8e865630
Monika Suzuki TIAS2301\user (Monika Suzuki) authored on 4 Jun
Showing 5 changed files
View
android/app/src/main/kotlin/com/example/mini_tias/CaptureMetadata.kt 0 → 100644
View
android/app/src/main/kotlin/com/example/mini_tias/ImageStatistics.kt 0 → 100644
View
android/app/src/main/kotlin/com/example/mini_tias/PngEncoder.kt 0 → 100644
View
android/app/src/main/kotlin/com/example/mini_tias/RawCapturePlugin.kt
View
android/app/src/main/kotlin/com/example/mini_tias/YuvJpegConverter.kt 0 → 100644