PreviewOneThirdWiderQuirk

public class PreviewOneThirdWiderQuirk implements Quirk


A quirk where the preview buffer is stretched.

The symptom is, the preview's FOV is always 1/3 wider than intended. For example, if the preview Surface is 800x600, it's actually has a FOV of 1066x600 with the same center point, but squeezed to fit the 800x600 buffer.

Summary

Public methods

@NonNull float

The mount that the crop rect needs to be scaled in x.

Public methods

getCropRectScaleX

@NonNull
public float getCropRectScaleX()

The mount that the crop rect needs to be scaled in x.