get rid of HAL pixelformats 5551 and 4444

This changes removes the use of 5551 and 4444 pixel formats
as its not supported anymore

Change-Id: I817510c3c7c0c3d95924c2ffc79e5727a6d6c48f
(cherry picked from commit 1fbd4a9662b07d53a3f220c91b3e85ca571a4938)
This commit is contained in:
Mathias Agopian
2013-09-17 10:37:22 -07:00
committed by Arun Kumar K.R
parent bc8bee68dc
commit e4001e736d
5 changed files with 1 additions and 21 deletions

View File

@@ -441,8 +441,6 @@ static int stretch_copybit(
// we don't support plane alpha with RGBA formats
case HAL_PIXEL_FORMAT_RGBA_8888:
case HAL_PIXEL_FORMAT_BGRA_8888:
case HAL_PIXEL_FORMAT_RGBA_5551:
case HAL_PIXEL_FORMAT_RGBA_4444:
ALOGE ("%s : Unsupported Pixel format %d", __FUNCTION__,
src->format);
return -EINVAL;