colorgold
dfd2734869
Update CameraEngine.java
...
FileDesciptor option for API 29+
2 years ago
DeweyReed
e26ac950be
Fix the setSize typo ( #1198 )
2 years ago
Dmitry Naymushin
ae3f3da0e1
A couple of fixes and docs improvements ( #1184 )
...
* fix typos and add minor details to the docs
* fix the issue #1175 & fix a typo
* fix the issue #1168 & fix a typo
* fix a typo in PR template
* check result data for null in the onPictureResult() callback
* revert unnecessary changes
* improve log message
Co-authored-by: Dmitry Naymushin <d.naymushin@tinkoff.ru>
2 years ago
Steve Xu
82ea49f6e2
#1088 : add Pixel 4a into FpsRangeValidator ( #1164 )
3 years ago
Mattia Iavarone
0057981408
Release v2.7.2 ( #1140 )
...
* Update Kotlin, Gradle and dependencies
* Release v2.7.2
* Fix tests
3 years ago
Mattia Iavarone
399844321b
Fix orientation when activity handles rotations ( #1117 )
3 years ago
Mattia Iavarone
c2e02923de
Fix sonatype build
3 years ago
Mattia Iavarone
994b1dd434
Release 2.7.1 ( #1111 )
...
* Update dependencies
* Don't crash onConfigureFailed
* Publish to Maven Central
* Release 2.7.1
3 years ago
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