Suneet Agrawal
7d87d4af61
Actual Video recording callback ( #498 )
...
* added video recording callback
* updated test
* added annotation to dispatch function
* updated review comments for video recording callback
* reverted unwanted changes
* Add tests and changelog
* Fix video tests
6 years ago
Mattia Iavarone
e340764474
Tests + AGP updates ( #492 )
...
* Remove tests from Travis only
* Update Android Gradle Plugin
* Remove TODO
6 years ago
Mattia Iavarone
6721f3400d
Fix tests
6 years ago
Mattia Iavarone
e2d5aa1941
Camera2 working with all previews
6 years ago
Mattia Iavarone
4166031ce2
Basic Camera2 open-close integration
6 years ago
Mattia Iavarone
e2e3054a77
Create Engine class
6 years ago
Mattia Iavarone
ecd2cdba13
AutoFocusMarker ( #484 )
...
* Create AutoFocusMarker and DefaultAutoFocusMarker
* Ensure onFocusEnd is called
* Add cameraAutoFocusMarker XML tag
* Update docs
* Fix changelog and migration guide
* Fix tests
6 years ago
Mattia Iavarone
cd5f0a12bf
Repackage / Expose ( #482 )
...
* Refactor code into subpackages
* Rename CameraController to CameraEngine
* Move Engine and Previews
* Repackage everything else
* Refactor and document some packages
* Refactor cameraview package
* Refactor Size package
* Refactor unit tests
* Refactor preview package
* Refactor picture package
* Refactor video package
* Refactor encoding package
* Refactor androidTests
* Fix tests
* Fix GestureLayout tests
* Document changes
6 years ago
Mattia Iavarone
b9620b70e6
Fix processor OOM bug ( #431 )
...
* Fix processor bug
* Add test
* Try to fix CI
* Fix Frame tests
* Fix hidden tests
6 years ago
Mattia Iavarone
5e5af877e4
New snapshot max size APIs ( #393 )
...
* New getSurfaceSize internal method
* Rename setPreviewSize and all internals to setPreviewStreamSize
* Rename getSurfaceSize to getPreviewSurfaceSize
* New snapshotMaxWidth and snapshotMaxHeight APIs
* Add docs
* Improve rescaling logic
* Add tests
6 years ago
Mattia Iavarone
4f6ef724bb
Remove wrong tests
7 years ago
Mattia Iavarone
a2731f50b1
Fix tests and rebase process
7 years ago
Mattia Iavarone
e9df75b7ae
Video files now must not be null
7 years ago
Mattia Iavarone
714d228168
Fix tests
7 years ago
Mattia Iavarone
ae2eada2a2
Migrate to AndroidX
7 years ago
Mattia Iavarone
26f313c74e
Documentation in GitHub pages
7 years ago
Mattia Iavarone
fd69768ac0
Improvements for supporting a round preview and output
7 years ago
Mattia Iavarone
acf1b4cdde
Removed VideoQuality.
7 years ago
Mattia Iavarone
a37caf0760
Rename SessionType to Mode. takePicture fails when Mode == VIDEO
7 years ago
Mattia Iavarone
8c41a12e66
Update docs
7 years ago
Mattia Iavarone
24d08c7aa1
Nits
7 years ago
Mattia Iavarone
3a937a9787
Fix tests, refactoring
7 years ago
Mattia Iavarone
2500b81b78
Move to PictureResult, rewrote takePicture and takePictureSnapshot
7 years ago
Mattia Iavarone
68ff331a80
Refactor onVideoTaken, introducing VideoResult
7 years ago
Mattia Iavarone
49fa18901e
take APIs refactoring, removing deprecated
7 years ago
Mattia Iavarone
68e7631d17
Restore frame processor after videos ( #344 )
7 years ago
Mattia Iavarone
c1973b0d71
Add setVideoMaxDuration() API ( #172 )
...
* Add setVideoMaxDuration() API
* Better tests
7 years ago
Viktar Patotski
e3abae9d7b
Fix camera mute ( #143 )
...
* mute camera in case if it's supported and required
* applyPlaySound properly
* fix compilation error
* fix comments
* fix comments 2
* add integration test for setPlaySounds
* pass mPlaySoundsTask
7 years ago
chaitanyaraghav
1bd1816919
Max video file size ( #104 )
...
* Added a maximum file size for videos
* Revereted changes to the onVideoTaken callback signature
* Renamed isRecordingVideo, added xml attribute for video max size and updated the documentation
8 years ago
Mattia Iavarone
dcf5ef4120
Option to choose the picture output size ( #99 )
...
* Add SizeSelectors and tests
* Implement SizeSelectors in CameraController
* XML attrs, improve AspectRatio cache
* AspectRatio tests
* Flip sizes before passing to selectors
* Add README info
* Fix preview sizing bug
* Nits
* Fix #98
8 years ago
Mattia Iavarone
6b9affc435
Make CameraView thread-safe ( #97 )
...
* Make CameraController fully async, fix shutter sounds, tests
* Schedule everything to the same handler
* Ignore integration tests in travis
* Add basic error handling
* Revert useless logs
8 years ago
Mattia Iavarone
a31dd1d57c
Recycle buffers and Frame instances ( #94 )
8 years ago
Mattia Iavarone
2685f47472
Improve CameraUtils.decodeBitmap ( #83 )
8 years ago
Mattia Iavarone
e40f93acfb
Frame processors ( #82 )
...
* Create the Frame class
* Implement callback dispatcher
* Dispatch actual preview frames
* Add docs
* Readme nits
* Don't leak processors
* Rename clear() to release()
* Add preview format and Size
* Readme nits again
8 years ago
Mattia Iavarone
b1d183a714
Fix a hardware acceleration bug, disable SurfaceViewPreview features ( #54 )
...
* Layout changes
* SurfaceView onSurfaceCreated is too early. Fix
* Add logs
* Refactor some classes, fix hardware acceleration bug, disable cropping for SurfaceView
* Update README with known limitations
8 years ago
Mattia Iavarone
cf3bfc1ed0
New tests, add CameraController.STATE ( #37 )
...
* Add set/get parameters tests
* CameraCallbacks tests
* Nits
* Nits 2
* Nits 3
* Nits 4
* CameraController integration tests
* Fix some bugs
* Add CameraController.STATE, fix CameraView.isStarted()
* Fix old tests
* Video and focus tests
* Remove video test, fails on Travis
* Add picture tests
* Remove other video test
* Add audio tests
* new travis.yml
* WorkerHandler changes
* Better GridLinesLayoutTest
* Try add logcat to travis build
* Debug failing test
* Add logs
* Grant permissions, bump tests to N
* Add wake locks
* Add wake lock permission
* Remove integration tests
* Change view matcher
* Refinements
8 years ago