summaryrefslogtreecommitdiff
path: root/libs/surfaceflinger/TextureManager.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2010-07-14 16:30:41 -0700
committer Android (Google) Code Review <android-gerrit@google.com> 2010-07-14 16:30:41 -0700
commit38eea8bf990540360b45b963195a7766c30b55d2 (patch)
treede26a8c64f2f40401b988054d65c39af106afdba /libs/surfaceflinger/TextureManager.cpp
parent6e0f65fd9c8bea91d9143f77a85b6d9c097fb3f1 (diff)
parent058d0390a44f68b67788021bae9ca1775812997b (diff)
Merge "Remove the YV16 format for simplicity's sake." into gingerbread
Diffstat (limited to 'libs/surfaceflinger/TextureManager.cpp')
-rw-r--r--libs/surfaceflinger/TextureManager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/libs/surfaceflinger/TextureManager.cpp b/libs/surfaceflinger/TextureManager.cpp
index 65260325b21f..3b326dfdcf00 100644
--- a/libs/surfaceflinger/TextureManager.cpp
+++ b/libs/surfaceflinger/TextureManager.cpp
@@ -107,7 +107,6 @@ bool TextureManager::isSupportedYuvFormat(int format)
{
switch (format) {
case HAL_PIXEL_FORMAT_YV12:
- case HAL_PIXEL_FORMAT_YV16:
return true;
}
return false;
@@ -118,7 +117,6 @@ bool TextureManager::isYuvFormat(int format)
switch (format) {
// supported YUV formats
case HAL_PIXEL_FORMAT_YV12:
- case HAL_PIXEL_FORMAT_YV16:
// Legacy/deprecated YUV formats
case HAL_PIXEL_FORMAT_YCbCr_422_SP:
case HAL_PIXEL_FORMAT_YCrCb_420_SP: