Merge pull request #19597 from komakai:android-ndk-camera
authorGiles Payne <gilespayne@telepathix.net>
Thu, 25 Feb 2021 19:14:11 +0000 (04:14 +0900)
committerGitHub <noreply@github.com>
Thu, 25 Feb 2021 19:14:11 +0000 (19:14 +0000)
commit0553543e6e2f28c124b3ec75097afa61840554d5
tree1668ba5a21c4a9a73d37e4ca4a02cbcd56e802f6
parent543379d343413bb4273d5cf64f30b13b7f0411c1
Merge pull request #19597 from komakai:android-ndk-camera

Android NDK camera support

* Add native camera video backend for Android

* In the event of a "No buffer available error" wait for the appropriate callback and retry

* Fix stale context when creating a new AndroidCameraCapture

* Add property handling
CMakeLists.txt
cmake/android/android_gradle_projects.cmake
modules/java/android_sdk/CMakeLists.txt
modules/videoio/CMakeLists.txt
modules/videoio/cmake/detect_android_camera.cmake [new file with mode: 0644]
modules/videoio/cmake/init.cmake
modules/videoio/src/cap_android_camera.cpp [new file with mode: 0644]
modules/videoio/src/cap_interface.hpp
modules/videoio/src/videoio_registry.cpp
platforms/android/ndk-18-api-level-24.config.py [new file with mode: 0644]