From: Mathias Agopian Date: Fri, 26 Jul 2013 23:23:33 +0000 (-0700) Subject: get rid of HAL pixelformats 5551 and 4444 X-Git-Tag: android-x86-4.4-r1~42 X-Git-Url: http://git.osdn.net/view?p=android-x86%2Fhardware-libhardware.git;a=commitdiff_plain;h=ba9c8badb7683f76eaa3f40f3b930410682bab69 get rid of HAL pixelformats 5551 and 4444 Change-Id: I196ee30ed57707ed4cc46fb3a9c5c07c5bac6fff --- diff --git a/modules/gralloc/gralloc.cpp b/modules/gralloc/gralloc.cpp index 99aeb01..a2dec6b 100644 --- a/modules/gralloc/gralloc.cpp +++ b/modules/gralloc/gralloc.cpp @@ -217,8 +217,6 @@ static int gralloc_alloc(alloc_device_t* dev, bpp = 3; break; case HAL_PIXEL_FORMAT_RGB_565: - case HAL_PIXEL_FORMAT_RGBA_5551: - case HAL_PIXEL_FORMAT_RGBA_4444: case HAL_PIXEL_FORMAT_RAW_SENSOR: bpp = 2; break;