diff options
author | Shuzhen Wang <shuzhenwang@google.com> | 2021-09-23 15:18:44 -0700 |
---|---|---|
committer | Susmitha Gummalla <vgummall@quicinc.com> | 2021-10-08 04:49:31 +0000 |
commit | 518704779efe5d7a19ecce71b131f29f8a080907 (patch) | |
tree | 5c833d152fd50a057b36f9be160902f4df77804b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 80e443922e0465ad3b2716cd708baff47568bd11 (diff) |
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
CRs-Fixed: 3027052
Change-Id: I7964d64c25961dbef634ac1ef82898147ec57111
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions