ImageFormat: Fix YCBCR_P010 bitsPerPixel
For P010 format, Each pixel has Y and subsampled CbCr. So: bitPerPixel = 1.5 * bitPerPixelY bitPerPixelY = 16 bits Bug: 200949749 Test: Camera CTS Change-Id: I7964d64c25961dbef634ac1ef82898147ec57111
This commit is contained in:
@@ -827,7 +827,7 @@ public class ImageFormat {
|
||||
case RAW_SENSOR:
|
||||
return 16;
|
||||
case YCBCR_P010:
|
||||
return 20;
|
||||
return 24;
|
||||
case RAW_DEPTH10:
|
||||
case RAW10:
|
||||
return 10;
|
||||
|
||||
Reference in New Issue
Block a user