This repository is for debugging simplified use cases for Snapdragon Flight Linux Camera API
- This successful test operates 4K and optic flow cameras in separate processes
- This should complete with no asserts or red errors
remote, over adb
make test_multiproc
native
./main_optic &
./main_hires
- This test, which tries to take a picture using the 4K camera while optic flow preview callbacks are occuring, fails.
remote, over adb
make test_main_simul
native
./main_simul
- optic flow camera onPreviewFrame callbacks always on
- 4K camera takePicture intermittently
- 4K camera startRecording and stopRecording intermittently
- One class for 4K camera, one for optic flow camera
- Both declared at global scope (doesn't seem to matter)
- Make sure
HEXAGON_SDK_ROOT
andHEXAGON_ARM_SYSROOT
are defined - Run
make
- no special setup needed
adb push ../sdflight-cameras /home/linaro/sdflight-cameras
adb shell
cd /home/linaro/sdflight-cameras
make