Jan Šmuk
ceb0eca394
Add Pixel 4a into FpsRangeValidator ( #1089 )
...
Co-authored-by: Smuk <jan.smuk@androworks.org>
4 years ago
Ryan Loebs
bde88a946e
Add option to capture hardware accelerated overlays ( #1066 )
...
* Add option to capture hardware accelerated overlays
* PR updates
* One more variable name change
4 years ago
Ryan Loebs
f608ec3918
Add flag to disable automatic gesture handling ( #1068 )
...
* Add flag to disable automatic gesture handling
* Toggle onInterceptTouchEvents based on active gestures instead of adding a new flag
* Add test for gesture toggle
4 years ago
Mattia Iavarone
a219073468
Release v2.7.0 ( #1040 )
...
* Release v2.7.0
* Improve docs
4 years ago
Ezequiel Adrián
d89491195c
Implement Shutter callback. Add GestureAction.TAKE_PICTURE_SNAPSHOT. ( #1030 )
...
* 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
4 years ago
Michael
5d10277d7b
add try catch to catch exceptions when takePicture fails ( #1024 )
...
* 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>
4 years ago
Mattia Iavarone
0f6ab20c3e
Make filterFrameRateRanges protected ( #1026 )
4 years ago
Philippe Banwarth
6aa2d3a489
Log errors when writing the image to a file ( #960 )
...
Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
4 years ago
Mattia Iavarone
40ace54c19
Fix preview on Pixel devices, fix deadlock with surface preview ( #1020 )
4 years ago
Mattia Iavarone
2429cc114b
Add CameraEngine.getRepeatingRequestDefaultTemplate ( #1004 )
...
* Fix Codecov
* Add getRepeatingRequestDefaultTemplate
4 years ago
Mattia Iavarone
0001ab7a54
Rewrite orchestrator ( #992 )
...
* Add Orchestrator.trim()
* Create new orchestrator
* Prepare PR
4 years ago
Mattia Iavarone
e3fcef286f
Release v2.6.4 ( #954 )
4 years ago
Mattia Iavarone
8207e67679
Some bug fixes ( #953 )
...
* Kotlin 1.4.0, fixes #940
* Fix multifilter bug, fixes #875
* Fix arithmetic exception, fixes #895
* Update dependencies
* Demo app in Kotlin
* Avoid stackoverflows on zoom/ev, fixes #856
* Remove Gemfile.lock
* Try to fix build
4 years ago
thijsonline
daf7a0bf44
Fix for #927 OrientationHelper.enable() called twice ( #928 )
...
* Update OrientationHelper.java
Fixed issue #927 Added boolean to prevent listener activating multiple times.
* Update CameraView.java
Added disable() of the orientation helper class in onPause.
* Update OrientationHelper.java
Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
4 years ago
Mattia Iavarone
a7cf726636
Fix isMinifyEnabled
4 years ago
Mattia Iavarone
610f511a76
Release v2.6.3 ( #912 )
4 years ago
Mattia Iavarone
a7c18324a5
Build tools update ( #911 )
...
* Improve #877
* Update pull_request_template.md
* Update gradle version
* Update AGP version
* Update build files, use MavenPublisher plugin
* Add FAQs
* Fix tests
4 years ago
Alexander
66c37373bd
Wrapped some crashes which happened on start camera and which connect with params. ( #897 )
...
Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
4 years ago
Alexander
8455c23fb1
Wrapped some crashes which connect with empty camera params ( #851 )
...
Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
4 years ago
jeffreyfjohnson
b5921ec6bf
Restart Camera1 Frame Processing After Taking a Picture - Fixes Issue 824 ( #877 )
...
* resetup frame manager after taking full picture for Camera1 Engine
* Wrap frame processing restart in conditional
* Add unit test
4 years ago
Ryan McClarnon
4364ec7c3a
Add capability to set audio codec to encode video files with. ( #861 )
...
* 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.
5 years ago
Mattia Iavarone
edbade24a9
Preview interface changes ( #816 )
...
* FilterCameraPreview as interface, better CameraPreview APIs
* Create abstract RendererCameraPreview
* Add missing file
* New rotation approach
5 years ago
Alexander
5530c011fa
Add ability to clear lifecycleObserver ( #798 )
...
* Added ability clear lifecycleObserver
* Added clearing reference on lifecycle
5 years ago
Mattia Iavarone
778cdedc00
Release v2.6.2 ( #794 )
...
* Remove codecov token
* Release v2.6.2
5 years ago
Mattia Iavarone
124aee6908
Make LogAction log to info
5 years ago
Alexander
218b27319d
Add setter for flag enabled/disabled auto check permissions ( #775 )
...
* Added setter for auto check permissions flag
* Added info about new method
5 years ago
Alexander
858495afde
Make CameraLogger ThreadSafe ( #779 )
...
Co-authored-by: Mattia Iavarone <mat.iavarone@gmail.com>
5 years ago
Mattia Iavarone
968d181af4
GL cleanup ( #766 )
...
* Egloo: create GlTextureDrawer
* Remove internal/utils
* Remove internal/utils (test)
* Remove internal/utils (unit tests)
* Remove EglCore usages
* Remove EglSurface usages
* Remove EglViewport usages
* Fix BaseFilter bug
* Add Texture.use
* Fix MultiFilter bug
* Use GlFramebuffer
* Use GlBindable.bind() in MultiFilter
* Use Egloo Jitpack (temp)
* BaseFilter changes
* Improve BaseFilter
* Use v0.4.0
* Fix test
5 years ago
hualong-shen
24b02caa28
Set accurate fps if possible ( #754 )
...
* 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>
5 years ago
Mattia Iavarone
83bb45108a
Frame rotation improvements ( #745 )
...
* Add Frame.rotationToUser and Frame.rotationToView
* Update docs
* Add missing annotation
5 years ago
Mattia Iavarone
949ed22ea6
Release v2.6.1 ( #744 )
5 years ago
Mattia Iavarone
141902c6cb
Metering improvements ( #741 )
...
* Increase metering timeout for touch metering
* Improve DeviceEncoders to respect max block count
* Reorder block
* Update emulator to 29.3.4
* Update emulator to 29.3.4 (2)
* Improve exposure metering for legacy sensors
5 years ago
Sewar
1a88cd09f4
Add support to record video to FileDescriptor. ( #732 )
5 years ago
Mattia Iavarone
ef9a68ec6a
Website improvements
5 years ago
Mattia Iavarone
0eacd8c9b7
Release v2.6.0 ( #725 )
5 years ago
Mattia Iavarone
df139994d7
Add startAutoFocus(Rect) ( #724 )
...
* Create MeteringRegion(s), MeteringTransform, add startAutoFocus(RectF) API
* Improve docs
* Changelog
* Tests
5 years ago
Mattia Iavarone
840e05a3e8
Permission flag ( #718 )
...
* Website changes
* Better preview output class support
* Add cameraRequestPermissions XML attribute
* Website colors
5 years ago
Mattia Iavarone
ce9ca64370
Frame processing threading APIs ( #716 )
...
* 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
5 years ago
Mattia Iavarone
097420a96b
Release v2.5.0 ( #708 )
5 years ago
Mattia Iavarone
e1721bb77d
Frame Processing maxWidth, maxHeight and format ( #704 )
...
* Create CameraEngine and CameraBaseEngine
* Promote filters to stable - no experimental flag
* Fix setSnapshotMaxWidth / Height bugs
* Add setFrameProcessingMaxWidth and setFrameProcessingMaxHeight
* Add setFrameProcessingMaxWidth and setFrameProcessingMaxHeight (docs)
* Prepare Frame for Images, abstract FrameManager, create ByteBufferFrameManager
* Fix tests
* Fix unit tests
* Send Images for Camera2
* Tests
* Add CameraView.setFrameProcessingFormat(int), tests, docs
* Add CameraOptions.getSupportedFrameProcessingFormats(), tests
* Add CameraEngine support, integration tests
* Fix demo app, add getFrameProcessingPoolSize
* Fix tests
* Fix tests
5 years ago
Mattia Iavarone
4a6b9be905
Testing and stability improvements ( #696 )
5 years ago
Mattia Iavarone
3db6fd3fc0
Rewrite engine threading ( #697 )
...
* Create orchestrator, replacing Step class
* Rewrite tests, improve test tools
* Fix integration tests
5 years ago
Mattia Iavarone
859904ec6a
CI improvements ( #695 )
5 years ago
Mattia Iavarone
bb3b23e69a
RAW support ( #691 )
...
* 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
5 years ago
Mattia Iavarone
79d00d5eba
Drop Travis and move to GitHub actions ( #694 )
5 years ago
Mattia Iavarone
129b43e657
Release v2.4.0 ( #662 )
5 years ago
Mattia Iavarone
218aa9d108
Preview FPS docs + Camera1 implementation ( #661 )
...
* Small changes
* Camera1 options
* Complete Camera1 integration
* Add to demo app
* Complete docs
5 years ago
Vaibhav Bhandula
fa88783d37
Support for higher frame rate ( #653 )
...
* added support for higher frame rate
* added fps range in camera options
* PR comments plus tests added
* PR comments
* Changes suggested
5 years ago
Mattia Iavarone
a63cd84726
Bug fixes ( #651 )
...
* Use CopyOnWriteArrayList for Camera2 action list. Fixes #649
* Listen to suspicious display rotation events. Fixes #623
* Correctly release GL objects on activity pause. Fixes #648
* Add synchronization in SnapshotVideoRecorder. Fixes #642
* Make Holder.getLastResult nullable. Fixes #621
* Fix tests
5 years ago
Mattia Iavarone
55e7a26278
Fix bugs ( #630 )
...
* Use CopyOnWrite set in GL preview (Fix #626 )
* Demo app - do not add frame processor when opening (Fix #628 )
* Add comments
* Create EngineThread annotation
* Fix onVideoResult crash for snapshots
* Catch IllegalStateExceptions in applyRepeatingRequestBuilder
* Add exception to LOG.e
* Add changelog
* Release v2.3.1
* Move snapshot logs to verbose
5 years ago