* Add flag to disable automatic gesture handling
* Toggle onInterceptTouchEvents based on active gestures instead of adding a new flag
* Add test for gesture toggle
* include swipe and shutter callback
* Swipe Left and Right callback on CameraListener.
* Shutter event callback on CameraListener.
* Add Gesture Action TakePictureSnapshot
Added a new GestureAction.TAKE_PICTURE_SNAPSHOT that calls takePictureSnapshot() method.
* take_picture_snapshot GestureAction
* add try catch to catch exceptions when takePicture fails, to give the user a better experience than an app crash
* do not log errors, as they are alreayd logged by the camera engine, and do not put try catch around DNG captures
Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
* Add capability to set audio codec to encode video files with.
* Cleanup
* Handle audio codec in SnapshotVideoRecorder.java
* Remove two AMR codecs and VORBIS, replace if with switch
* All chosen codecs in SnapshotVideoRecorder.java should use "audio/mp4a-latm". Setting DEVICE_DEFAULT to use it's actual value would change the behaviour of the class.
* Match style of video codec switch block above.
* Feature option to setPreviewFrameRate as exact as possible
* update docs for setPreviewFrameRateExact
* clean code and add tests for feature setPreviewFrameRateExact
* fix test issue and clean code for setPreviewFrameRateExact
* fix accessiblility issue for mPreviewFrameRateExact
* fix test issue for testPreviewFrameRateExact
Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
* Fix deploy CI trigger
* Use actions/checkout@v2
* Call onImageAvailable on a separate thread
* Add setFrameProcessingPoolSize API
* Add setFrameProcessingExecutors API
* Ensure captures are not blocked by frame processing
* Wait for first frame in onStartPreview
* Enable abortCaptures()
* Improve testFrameProcessing_format
* Improve testFrameProcessing_format again
* Check engine state after picture metering - Fixes#685
* Ensure actions are only started in a valid holder state - Fixes#669
* Improve size selection
* Add PictureFormat definition
* Change PictureResult to reflect new format
* Throw if toBitmap is called with a DNG file
* Update the CameraView interface to support PictureFormat
* Implement DNG support into the CameraEngine, restart if needed
* Make CameraOptions engine aware
* Fix action bug
* Make CameraOptions check RAW availability
* Complete engine/options logic for RAW
* Add RAW control to demo app
* Ensure toBitmap does not crash in demo
* RAW support inside Full2PictureRecorder
* Add DNG test, fix implementation bugs
* Add option to see RAW result through share option
* Enable RAW toBitmap for API 24+
* Add documentation
* Improve documentation
* Change tests
* Small change