androidx.camera.camera2.internal.compat.quirk

Interfaces

UseTorchAsFlashQuirk

A quirk interface which denotes CameraX should use torch for flash when flashMode is ON or AUTO.

Classes

AeFpsRangeLegacyQuirk

Quirk required to maintain good exposure on legacy devices by specifying a proper android.hardware.camera2.CaptureRequest#CONTROL_AE_TARGET_FPS_RANGE.

AspectRatioLegacyApi21Quirk

Quirk that produces stretched use cases on all the legacy API 21 devices.

CamcorderProfileResolutionQuirk

Quirk that should validate the video resolution of CamcorderProfile on legacy camera.

CameraNoResponseWhenEnablingFlashQuirk

Camera gets stuck when taking pictures with flash ON or AUTO in dark environment.

CameraQuirks

Provider of camera specific quirks.

CrashWhenTakingPhotoWithAutoFlashAEModeQuirk

Quirk caused by a device bug that occurs on certain devices, like the Samsung A3 devices.

DeviceQuirks

Provider of device specific quirks, which are used for device specific workarounds.

DeviceQuirksLoader

Loads all device specific quirks required for the current device

ExcludedSupportedSizesQuirk

Quirk required to exclude certain supported surface sizes that are problematic.

ExtraSupportedSurfaceCombinationsQuirk

Quirk required to include extra supported surface combinations which are additional to the guaranteed supported configurations.

ImageCapturePixelHDRPlusQuirk

Quirk required to turn on/off HDR+ on Pixel devices by enabling/disabling zero-shutter-lag (ZSL) mode on the capture request, depending on the image capture use case's capture mode, i.

ImageCaptureWashedOutImageQuirk

Quirk that prevents from getting washed out image while taking picture with flash ON/AUTO mode.

JpegHalCorruptImageQuirk

Quirk which denotes JPEGs produced directly from the HAL may sometimes be corrupted.

Nexus4AndroidLTargetAspectRatioQuirk

Quirk that produces stretched preview on Nexus 4 devices running Android L(API levels 21 and 22).

PreviewPixelHDRnetQuirk

Quirk required to turn on WYSIWYG viewfinder on Pixel devices

SamsungPreviewTargetAspectRatioQuirk

Quirk that produces stretched preview on certain Samsung devices.

StillCaptureFlashStopRepeatingQuirk

Quirk that still capture with flash on/auto requires stopRepeating() being called ahead of capture.

YuvImageOnePixelShiftQuirk

For these devices, workaround will be patched to shift one pixel right to left and duplicate the last pixel for YUV_420_888 data when converting to RGBA.