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

Commit 59e1cbc5 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: 016f0060

parents 9ce1a101 016f0060
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -255,10 +255,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: