|
[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> |
|---|
|
|
| android/app/src/main/kotlin/com/example/mini_tias/CaptureMetadata.kt 0 → 100644 |
|---|
| android/app/src/main/kotlin/com/example/mini_tias/ImageStatistics.kt 0 → 100644 |
|---|
| android/app/src/main/kotlin/com/example/mini_tias/PngEncoder.kt 0 → 100644 |
|---|
| android/app/src/main/kotlin/com/example/mini_tias/RawCapturePlugin.kt |
|---|
| android/app/src/main/kotlin/com/example/mini_tias/YuvJpegConverter.kt 0 → 100644 |
|---|