Added new API Preview#getTargetFrameRate and Preview.Builder#setTargetFrameRate to be able to set and retrieve target frame rate for Preview use case ( If4f22).Provided an API UseCase.snapToSurfaceRotation(int) to replace usage of setTargetRotationDegrees and deprecate API tTargetRotationDegrees(int), tTargetRotationDegrees(int) and tTargetRotationDegrees(int).Add public constructor in ResolutionInfo for better testability ( If6d1c).Add an error listener to CameraEffect to handle unrecoverable errors ( Ice471).CameraInfo#getSupportedFrameRateRanges() now returns a Set rather than a List to better represent that the ranges are unordered.Renamed ResolutionSelector#HIGH_RESOLUTION_FLAG_OFF/ ON constants to ALLOWED_RESOLUTIONS_NORMAL/ SLOW and renamed the builder setHighResolutionEnabledFlag function name to setAllowedResolutionMode.The available frame rates for recordings can be queried through the new CameraInfo#getSupportedFrameRates() API. The new VideoCapture.Builder# setTargetFrameRate(Range) API allows video recordings to be captured at other frame rates besides the device default.Version 1.3.0-alpha07 contains these commits. If the JPEG byte array cannot be decoded, an UnsupportedOperationException will be thrown. Add ImageFormat.JPEG format support for ImageProxy.toBitmap().Use torch as flash on Samsung SM-A320 models to improve the speed and the captured image quality in low light.Removed the experimental annotation for video features.CameraController#getVideoCaptureTargetQuality() is changed to getVideoCaptureQualitySelector accordingly. CameraController#setVideoCaptureTargetQuality() is renamed to setVideoCaptureQualitySelector and takes argument QualitySelector, which provides more flexibility for video quality setup.Please use VideoCapabilities's getSupportedQualities() and isQualitySupported() methods instead. QualitySelector's getSupportedQualities() and isQualitySupported() methods are being deprecated.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |