summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gralloc_drm.h2
-rw-r--r--gralloc_drm_pipe.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/gralloc_drm.h b/gralloc_drm.h
index 904fd96..c32aaf6 100644
--- a/gralloc_drm.h
+++ b/gralloc_drm.h
@@ -66,8 +66,6 @@ static inline int gralloc_drm_get_bpp(int format)
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_YCbCr_422_I:
bpp = 2;
break;
diff --git a/gralloc_drm_pipe.c b/gralloc_drm_pipe.c
index 8eda223..ec3e19d 100644
--- a/gralloc_drm_pipe.c
+++ b/gralloc_drm_pipe.c
@@ -74,8 +74,6 @@ static enum pipe_format get_pipe_format(int format)
case HAL_PIXEL_FORMAT_BGRA_8888:
fmt = PIPE_FORMAT_B8G8R8A8_UNORM;
break;
- case HAL_PIXEL_FORMAT_RGBA_5551:
- case HAL_PIXEL_FORMAT_RGBA_4444:
case HAL_PIXEL_FORMAT_YV12:
case HAL_PIXEL_FORMAT_DRM_NV12:
case HAL_PIXEL_FORMAT_YCbCr_422_SP: