gralloc: Remove unsupported formats
- Remove RAW_SENSOR in favor of RAW16 - Remove use of sRGB format enums Change-Id: I189a168f75a5573648aebdde3bbacb90f4cdc354
This commit is contained in:
committed by
Arun Kumar K.R
parent
d5070a63bb
commit
4dc06493ae
@@ -189,7 +189,7 @@ void gpu_context_t::getGrallocInformationFromFormat(int inputFormat,
|
||||
{
|
||||
*bufferType = BUFFER_TYPE_VIDEO;
|
||||
|
||||
if (inputFormat <= HAL_PIXEL_FORMAT_sRGB_X_8888) {
|
||||
if (inputFormat <= HAL_PIXEL_FORMAT_BGRA_8888) {
|
||||
// RGB formats
|
||||
*bufferType = BUFFER_TYPE_UI;
|
||||
} else if ((inputFormat == HAL_PIXEL_FORMAT_R_8) ||
|
||||
|
||||
Reference in New Issue
Block a user