Skip to content

Commit 024eceb

Browse files
xaionaro@dx.centerxaionaro@dx.center
authored andcommitted
feat: real camera frame capture via gralloc-allocated buffers
- Fix ParcelFileDescriptor marshaling (WriteParcelFileDescriptor, not WriteFileDescriptor) — fixes IAllocator.Allocate2 response parsing - Add examples/camera_capture/ — captures real YUV frames from camera - Add java array type mappings (writeIntArray, writeStringArray etc.) with correct -1 null markers - Numeric literal field names emit literal values in marshal/unmarshal - Move IGBP constants to public android/gui/igbp package Verified on phone: 76 frames at 640x480 15fps, 92-100% non-zero pixels.
1 parent 501aeb7 commit 024eceb

107 files changed

Lines changed: 2196 additions & 450 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ More examples: [`examples/`](examples/)
298298
| [`activity_manager`](examples/activity_manager/) | Process limits, monkey test flag, permission checks |
299299
| [`audio_status`](examples/audio_status/) | Audio device info, volume state |
300300
| [`battery_health`](examples/battery_health/) | Capacity, charge status, current draw |
301+
| [`camera_capture`](examples/camera_capture/) | Camera frame capture using gralloc-allocated buffers. |
301302
| [`camera_connect`](examples/camera_connect/) | Camera device connection with callback stub |
302303
| [`device_info`](examples/device_info/) | Device properties, build info |
303304
| [`display_info`](examples/display_info/) | Display IDs, brightness, night mode |
@@ -1826,6 +1827,6 @@ A [weekly workflow](.github/workflows/check-aosp-updates.yml) checks for new AOS
18261827
│ ├── hardware/ HAL interfaces
18271828
│ └── ... 666 packages total
18281829
├── com/ AOSP com.android.* service proxies
1829-
├── examples/ 14 runnable examples
1830+
├── examples/ 15 runnable examples
18301831
└── .github/workflows/ CI configuration
18311832
```

android/app/admin/idevicepolicymanager.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/backup/ibackupmanager.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/blob/iblobstoremanager.go

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/blob/iblobstoresession.go

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/iactivitymanager.go

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

android/app/iapplicationthread.go

Lines changed: 22 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)