OSDN Git Service

get rid of HAL pixelformats 5551 and 4444
authorMathias Agopian <mathias@google.com>
Fri, 26 Jul 2013 23:23:33 +0000 (16:23 -0700)
committerMathias Agopian <mathias@google.com>
Fri, 26 Jul 2013 23:23:33 +0000 (16:23 -0700)
Change-Id: I196ee30ed57707ed4cc46fb3a9c5c07c5bac6fff

modules/gralloc/gralloc.cpp

index 99aeb01..a2dec6b 100644 (file)
@@ -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;