Mattia Iavarone
bef1044819
Camera2 full support for hq pictures
5 years ago
Mattia Iavarone
87796ea2f7
Camera2 basic support for hq pictures
5 years ago
Mattia Iavarone
e96c9f0846
Camera2 support for frame processing
5 years ago
Mattia Iavarone
c353ae808e
Camera2 support for videos
5 years ago
Mattia Iavarone
e2d5aa1941
Camera2 working with all previews
5 years ago
Mattia Iavarone
4166031ce2
Basic Camera2 open-close integration
5 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
d462b83048
v2.0.0-beta03 ( #392 )
...
* Fix #377 and update dependencies
* Fix #384
* Fix unbindFromSurface bug
* Bump version to v2.0.0-beta03
* Update build.gradle
6 years ago
Mattia Iavarone
7411614433
Improve snapshot recording ( #374 )
...
* Timestamp changes
* Revisit Audio encoding, create object pools
* Use a Pool for float[] arrays
* Remove unused audioBitRate from audio encoder
* Fix demo app video duration
* Correctly release pools
* Restore output bitrate
* Release textureFrame pool
6 years ago
Mattia Iavarone
7a5e0b33e4
Fix demo app
6 years ago
Mattia Iavarone
8f00cb5dac
Add toFile utility in CameraUtils and in PictureResult
6 years ago
Mattia Iavarone
ae2eada2a2
Migrate to AndroidX
6 years ago
Mattia Iavarone
26f313c74e
Documentation in GitHub pages
6 years ago
Mattia Iavarone
d1ed8033e6
Add nullable and nonnull annotations everywhere
6 years ago
Mattia Iavarone
fd69768ac0
Improvements for supporting a round preview and output
6 years ago
Mattia Iavarone
1b5a20b034
Fix demo app null pointer, add null annotations
6 years ago
Mattia Iavarone
bb0e08c731
Fix OutOfMemoryError in BitmapCallback
6 years ago
Mattia Iavarone
b1f584aede
Changes in the demo app
6 years ago
Mattia Iavarone
ddf7c960c3
Remove cameraFacing definition in demo app
6 years ago
Mattia Iavarone
69349b0187
Facing now defaults to FRONT if we have no BACK cameras. Throw a new CameraException if no camera found
6 years ago
Mattia Iavarone
4f95c3e7d5
Add max size and duration constraints to videos
6 years ago
Mattia Iavarone
419ff34736
Create PictureRecorder and two implementations
6 years ago
Mattia Iavarone
481062a08b
Change demo app appearance
6 years ago
Mattia Iavarone
2999e9aa65
Respect VideoCodec from options
6 years ago
Mattia Iavarone
926b03cf35
Fix transformation issues in preview and final video result
6 years ago
Mattia Iavarone
d291d88814
Working implementation of MediaCodecVideoRecorder
6 years ago
Mattia Iavarone
31a5d20fcd
Revert demo app changes
6 years ago
Mattia Iavarone
e207041a31
Add cropping functionality to GLCameraPreview
6 years ago
Mattia Iavarone
ab576286f3
Temp commit
6 years ago
Mattia Iavarone
4f6271d670
Add GLCameraPreview based on GLSurfaceView, preview appears to be working with some bugs
6 years ago
Mattia Iavarone
bd7a4d3cc9
Add isTakingPicture(), use in demo app
6 years ago
Mattia Iavarone
d409bb2449
Add setVideoSize, video size selectors and available video sizes in CameraOptions
6 years ago
Mattia Iavarone
acf1b4cdde
Removed VideoQuality.
6 years ago
Mattia Iavarone
a37caf0760
Rename SessionType to Mode. takePicture fails when Mode == VIDEO
6 years ago
Mattia Iavarone
969c5a8c74
Fix preview size computation, demo app details
6 years ago
Mattia Iavarone
2cd8ad1fa6
getPictureSize and getPreviewSize now return sizes in the output reference
6 years ago
Mattia Iavarone
2500b81b78
Move to PictureResult, rewrote takePicture and takePictureSnapshot
6 years ago
Mattia Iavarone
68ff331a80
Refactor onVideoTaken, introducing VideoResult
6 years ago
Mattia Iavarone
49fa18901e
take APIs refactoring, removing deprecated
6 years ago
Mattia Iavarone
3d8bf1618c
Error handling and lifecycle boilerplate ( #265 )
...
* Update dependencies
* Improve error handling
* Add lifecycle support
* Use lifecycle in demo app
* Add README info
6 years ago
Mattia Iavarone
07f6078385
Demo app - Lock orientation to a fixed value ( #168 )
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
7 years ago
Mattia Iavarone
3bc6d96ac3
Add base Control class, add easy setters and CameraOptions APIs ( #105 )
7 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
7 years ago
Mattia Iavarone
2685f47472
Improve CameraUtils.decodeBitmap ( #83 )
7 years ago
Mattia Iavarone
b9f0f27d8d
Small changes
7 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
7 years ago