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

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

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

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

Change-Id: Ide7cb66d83020a22d3bef4459fcf64c6a6948caa
parents b7457908 0129d2c1
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