diff options
author | 2023-01-08 05:17:09 +0000 | |
---|---|---|
committer | 2023-01-08 05:17:09 +0000 | |
commit | bbce92f05bc29fc86a175b8c195febba13a3deb7 (patch) | |
tree | ef7dc2aec2bd82036a2ec9ea0d9d179a9b4b2165 | |
parent | af9b52bdf89b3278a5798710ce5adf63d6f758d8 (diff) | |
parent | 15390d0a40d1433a6eeae15ab8a3a2e2df4debac (diff) |
Merge "ImageUtils: Fix estimated bytes factor for P010"
-rw-r--r-- | media/java/android/media/ImageUtils.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/media/java/android/media/ImageUtils.java b/media/java/android/media/ImageUtils.java index 2f1a36cba9d0..4957300dd062 100644 --- a/media/java/android/media/ImageUtils.java +++ b/media/java/android/media/ImageUtils.java @@ -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: |