diff options
author | Shuzhen Wang <shuzhenwang@google.com> | 2021-09-23 15:18:44 -0700 |
---|---|---|
committer | Shuzhen Wang <shuzhenwang@google.com> | 2021-09-23 22:25:09 +0000 |
commit | 3e4720b3b41ce0a3ee3cb9837ee66186c38b87a6 (patch) | |
tree | a615c7c0930415d299d250b620e6237889de3543 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6e60223a6388c6a513628c08d468015d2249484e (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
Change-Id: I7964d64c25961dbef634ac1ef82898147ec57111
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions