summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2010-08-19 13:11:42 -0700
committerMathias Agopian <mathias@google.com>2010-08-19 13:11:42 -0700
commite509328efcbb05856e5e9c0310394911ee3243dc (patch)
tree1a5111fe0ccdc2a108ed7fc0bc7c6d0abbfc59d2
parent3d8c9bdbed0c31143227697bd0d94fd234fe08ad (diff)
downloadframeworks_base-e509328efcbb05856e5e9c0310394911ee3243dc.zip
frameworks_base-e509328efcbb05856e5e9c0310394911ee3243dc.tar.gz
frameworks_base-e509328efcbb05856e5e9c0310394911ee3243dc.tar.bz2
remove unused pixel format
Change-Id: I55bc3cc41385743c07f7e4de06335c922f746f73
-rw-r--r--libs/ui/PixelFormat.cpp1
-rw-r--r--services/surfaceflinger/TextureManager.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/libs/ui/PixelFormat.cpp b/libs/ui/PixelFormat.cpp
index edf1aed..ee186c8 100644
--- a/libs/ui/PixelFormat.cpp
+++ b/libs/ui/PixelFormat.cpp
@@ -63,7 +63,6 @@ status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info)
info->bitsPerPixel = 16;
goto done;
case HAL_PIXEL_FORMAT_YCrCb_420_SP:
- case HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED:
case HAL_PIXEL_FORMAT_YV12:
info->bitsPerPixel = 12;
done:
diff --git a/services/surfaceflinger/TextureManager.cpp b/services/surfaceflinger/TextureManager.cpp
index 0f448e0..76f6159 100644
--- a/services/surfaceflinger/TextureManager.cpp
+++ b/services/surfaceflinger/TextureManager.cpp
@@ -121,7 +121,6 @@ bool TextureManager::isYuvFormat(int format)
case HAL_PIXEL_FORMAT_YCbCr_422_SP:
case HAL_PIXEL_FORMAT_YCrCb_420_SP:
case HAL_PIXEL_FORMAT_YCbCr_422_I:
- case HAL_PIXEL_FORMAT_YCbCr_420_SP_TILED:
return true;
}