package

androidx.camera.video.internal.compat.quirk

Interfaces

VideoQualityQuirkThe quirk interface which denotes the quality does not work for video recording on the device.

Classes

AudioEncoderIgnoresInputTimestampQuirk

QuirkSummary Bug Id: b/202799148 Description: Quirk indicates that the audio encoder outputs incorrect timestamps after pause and resume recording.

AudioTimestampFramePositionIncorrectQuirk

QuirkSummary Bug Id: 245518008, 301067226, 338868178 Description: Quirk which denotes queried by returns incorrect info.

CameraUseInconsistentTimebaseQuirk

QuirkSummary Bug Id: 197805856, 280121263, 295060316, 316057919 Description: Quirk that denotes some devices use a timebase for camera frames that is different than what is reported by .

CodecStuckOnFlushQuirk

QuirkSummary Bug Id: b/306557279 Description: Quirk denotes that the codec gets stuck when the MediaCodec method is called.

DeactivateEncoderSurfaceBeforeStopEncoderQuirk

QuirkSummary Bug Id: b/196039619 Description: Quirk denotes that the encoder surface needs to be removed from repeating request before stop the encoder.

DeviceQuirksProvider of video capture related quirks, which are used for device or API level specific workarounds.
DeviceQuirksLoaderLoads all video specific quirks required for the current device.
EncoderNotUsePersistentInputSurfaceQuirk

QuirkSummary Bug Id: b/202798966 Description: Quirk denotes that the encoder should create new input surface for every encoding instead of using MediaCodec.

ExcludeStretchedVideoQualityQuirk

QuirkSummary Bug Id: 202792648, 245495234, 303054522 Description: The captured video is stretched while selecting the quality is greater or equality to FHD resolution Device(s): Samsung J2 (sm-j260f), Samsung J4 (sm-j400g), Samsung J5 (sm-j530f), Samsung J6 (sm-j600g), Samsung J7 Nxt (sm-j701f), Samsung J7 Prime (sm-g610m) API level 27 or above, Samsung J7 (sm-J710mn) API level 27 or above

ExtraSupportedQualityQuirk

QuirkSummary Bug Id: b/311311853 Description: MotoC doesn't have any supported Quality for front camera.

ExtraSupportedResolutionQuirk

QuirkSummary Bug Id: b/241876294 Description: CamcorderProfile resolutions can not find a match in the output size list of CameraCharacteristics#SCALER_STREAM_CONFIGURATION_MAP.

MediaCodecInfoReportIncorrectInfoQuirk

QuirkSummary Bug Id: 192431846, 199582287, 218841498, 203481899, 216583006, 278843124, 278855948 Description: Quirk which denotes MediaCodecInfo queried by returns incorrect info.

MediaFormatMustNotUseFrameRateToFindEncoderQuirkQuirk requiring that the frame rate is not set on the MediaFormat during codec selection.
MediaStoreVideoCannotWriteA quirk to denote the devices cannot use the to create MediaStoreOutputOptions for video recording.
NegativeLatLongSavesIncorrectlyQuirk

QuirkSummary Bug Id: b/232327925 Description: Setting negative latitude or longitude value to may result in the value in the video metadata to be incorrectly increased a little.

ReportedVideoQualityNotSupportedQuirkQuirk where qualities reported as available by does not work on the device, and should not be used.
SignalEosOutputBufferNotComeQuirk

QuirkSummary Bug Id: b/317366465 Description: Quirk denotes that the MediaCodec doesn't send an end of stream buffer callback after MediaCodec is called.

SizeCannotEncodeVideoQuirk

QuirkSummary Bug Id: 318036483 Description: On MotoC, resolution 720x1280 will crash the media server while encoding.

StopCodecAfterSurfaceRemovalCrashMediaServerQuirk

QuirkSummary Bug Id: 293978082 Description: Quirk denotes that the media server die when codec surface has been removed from the camera repeating and then MediaCodec.stop() is called.

StretchedVideoResolutionQuirk

QuirkSummary Bug Id: b/299075294 Description: The captured video is stretched while using the resolution obtained from EncoderProfiles.

VideoEncoderCrashQuirk

QuirkSummary Bug Id: 218841498 Description: The Quirk denotes the devices may crash while using the specific Quality option for video recording.

VideoEncoderSuspendDoesNotIncludeSuspendTimeQuirk

QuirkSummary Bug Id: b/202798609, b/202798572 Description: Quirk indicates that the video encoder outputs incorrect timestamps after pause and resume recording.