commcros.blogg.se

Android camera bokeh
Android camera bokeh






android camera bokeh

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.

android camera bokeh

QualitySelector's getSupportedQualities() and isQualitySupported() methods are being deprecated. The new VideoCapabilities class obtained from the Recorder can be used to query supported dynamic ranges and qualities for video recording on the device.Added an isImageAnalysisSupported API to the ExtensionsManager which apps can determine if an ImageAnalysis use case can be bound along with Preview and ImageCapture when Extensions are enabled.This can be used to select High Dynamic Range formats as the output of VideoCapture through VideoCapture.Builder#setDynamicRange(). The DynamicRange class respresent the dynamic range of images.

android camera bokeh

  • Removed deprecated API tTargetRotationDegrees(int), tTargetRotationDegrees(int) and tTargetRotationDegrees(int).
  • Renamed the ResolutionSelector.Builder#setHighResolutionEnabledFlag(int) function name to setAllowedResolutionMode and renamed the ResolutionSelector#HIGH_RESOLUTION_FLAG_OFF/ ON constants to PREFER_CAPTURE_RATE_OVER_HIGHER_RESOLUTION/ PREFER_HIGHER_RESOLUTION_OVER_CAPTURE_RATE.
  • Version 1.3.0-beta01 contains these commits. You can add your vote to an existing issue byįor more information. In this library before you create a new one. Let us know if you discover new issues or have

    android camera bokeh

    Implementation "androidx.camera:camera-core:$") The following line is optional, as the core library is included indirectly by camera-camera2 CameraX core library using the camera2 implementation








    Android camera bokeh