am 98704f14: am 38eea8bf: Merge "Remove the YV16 format for simplicity\'s sake." into gingerbread
Merge commit '98704f14eaeef6c9bcb73fea162f4941dd9bbd87' * commit '98704f14eaeef6c9bcb73fea162f4941dd9bbd87': Remove the YV16 format for simplicity's sake.
This commit is contained in:
commit
58736b5a19
@ -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:
|
||||
|
@ -60,7 +60,6 @@ status_t getPixelFormatInfo(PixelFormat format, PixelFormatInfo* info)
|
||||
switch (format) {
|
||||
case HAL_PIXEL_FORMAT_YCbCr_422_SP:
|
||||
case HAL_PIXEL_FORMAT_YCbCr_422_I:
|
||||
case HAL_PIXEL_FORMAT_YV16:
|
||||
info->bitsPerPixel = 16;
|
||||
goto done;
|
||||
case HAL_PIXEL_FORMAT_YCrCb_420_SP:
|
||||
|
Loading…
Reference in New Issue
Block a user