Merge "gralloc: Fix RAW16 stride"
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
9aa25d5806
@@ -174,9 +174,11 @@ void AdrenoMemInfo::getAlignedWidthAndHeight(int width, int height, int format,
|
||||
{
|
||||
case HAL_PIXEL_FORMAT_YCrCb_420_SP:
|
||||
case HAL_PIXEL_FORMAT_YCrCb_420_SP_ADRENO:
|
||||
case HAL_PIXEL_FORMAT_RAW_SENSOR:
|
||||
aligned_w = ALIGN(width, 32);
|
||||
break;
|
||||
case HAL_PIXEL_FORMAT_RAW_SENSOR:
|
||||
aligned_w = ALIGN(width, 16);
|
||||
break;
|
||||
case HAL_PIXEL_FORMAT_RAW10:
|
||||
aligned_w = ALIGN(width * 10 /8, 16);
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user