Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e24c710 authored by Shuzhen Wang's avatar Shuzhen Wang Committed by Automerger Merge Worker
Browse files

Camera: Increase aspect ratio threshold for thumbnail am: 0129d2c1 am: 3b24aea5

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/av/+/15778163

Change-Id: I79f1c630add7b1abeef3ffeeca3dd34b5cd7db09
parents 82313a47 3b24aea5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -205,7 +205,7 @@ struct Parameters {
    static const int MAX_INITIAL_PREVIEW_WIDTH = 1920;
    static const int MAX_INITIAL_PREVIEW_HEIGHT = 1080;
    // Aspect ratio tolerance
    static const CONSTEXPR float ASPECT_RATIO_TOLERANCE = 0.001;
    static const CONSTEXPR float ASPECT_RATIO_TOLERANCE = 0.01;
    // Threshold for slow jpeg mode
    static const int64_t kSlowJpegModeThreshold = 33400000LL; // 33.4 ms
    // Margin for checking FPS