gralloc: Add missing format HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS
Add missing HAL_PIXEL_FORMAT_YCrCb_420_SP_VENUS in YUV format checks. Move IsYUVFormat utility to grallocutils. Change-Id: I8103ba2aead0d00aede21a0b43a59af741b2df95 CRs-fixed: 2166182
This commit is contained in:
@@ -60,6 +60,7 @@ inline Type1 ALIGN(Type1 x, Type2 align) {
|
||||
return (Type1)((x + (Type1)align - 1) & ~((Type1)align - 1));
|
||||
}
|
||||
|
||||
bool IsYuvFormat(const private_handle_t *hnd);
|
||||
bool IsCompressedRGBFormat(int format);
|
||||
bool IsUncompressedRGBFormat(int format);
|
||||
uint32_t GetBppForUncompressedRGB(int format);
|
||||
|
||||
Reference in New Issue
Block a user