diff options
| author | 2023-04-12 17:37:36 +0000 | |
|---|---|---|
| committer | 2023-04-21 06:48:18 +0000 | |
| commit | fff1a293e380ed87258f741475574eb37f77fe4f (patch) | |
| tree | b58c8f6c1a2935e2e101f47d942bb8c3b905b951 /libs/androidfw/StringPool.cpp | |
| parent | 50ab78c23458fb8ae2a2e8547306ab8add99ba48 (diff) | |
Fallback to RGBA_8888 when P010 is not supported
It's possible that a TV does not support P010, which means
the TV is not able to decode 10-bit HEIF to RGBA_1010102.
In this case, falling back to output RGBA_8888 is necessary.
Bug: 276879147
Test: atest BitmapFactory#testDecode10BitHEIF10BitBitmap
atest ImageDecoderTest#testDecode10BitHeif
Change-Id: I33f7f30cbee0080dc81764c73428dcac3c75ce88
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions