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

Commit 5187676a 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 am: 6e24c710

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

Change-Id: I7ac234755b799018c8f6021b4b7745a9f8456712
parents 44d98878 6e24c710
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