According to [1] DRM YCrCb planes is not the same as gralloc layers. DRMHWC2 has no information about number of layers used in the buffer. Also supplying value other than 1 will allways fail validation on passthrough MapperHal@2.1 and probably other passthrough implementations [2]. [1] - https://cs.android.com/android/platform/superproject/+/master:hardware/libhardware/include/hardware/gralloc1.h;l=467;drc=1155c41d016a118801fe97b55af9918e531f7f84 [2] - https://cs.android.com/android/platform/superproject/+/master:hardware/interfaces/graphics/mapper/2.1/utils/passthrough/include/mapper-passthrough/2.1/Gralloc0Hal.h;l=40;drc=e308ceb1e9940d1d90a11177782a7cfe8630bb95 Signed-off-by: Roman Stratiienko <r.stratiienko@gmail.com> Change-Id: Idbfea8eaa74a557b98ecdff728e6c67aeea9cea6 |
||
|---|---|---|
| .. | ||
| autolock.cpp | ||
| hwcutils.cpp | ||
| worker.cpp | ||