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

Commit edb20480 authored by Treehugger Robot's avatar Treehugger Robot Committed by Automerger Merge Worker
Browse files

Merge "ImageUtils: Fix estimated bytes factor for P010" am: bbce92f0 am:...

Merge "ImageUtils: Fix estimated bytes factor for P010" am: bbce92f0 am: 016f0060 am: 59e1cbc5

Original change: https://android-review.googlesource.com/c/platform/frameworks/base/+/2366093



Change-Id: I30af2fe5e77e614181094c57bea22f32d5187bfd
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 2610a620 59e1cbc5
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -257,10 +257,10 @@ class ImageUtils {
            case ImageFormat.RAW_SENSOR:
            case ImageFormat.RAW_PRIVATE: // round estimate, real size is unknown
            case ImageFormat.DEPTH16:
            case ImageFormat.YCBCR_P010:
                estimatedBytePerPixel = 2.0;
                break;
            case PixelFormat.RGB_888:
            case ImageFormat.YCBCR_P010:
                estimatedBytePerPixel = 3.0;
                break;
            case PixelFormat.RGBA_8888: