Lines Matching refs:custom_format
125 int32_t custom_format = format; in getCustomFormatFlags() local
126 if (gralloc::GetCustomFormatFlags(format, usage, &custom_format, &priv_flags) != 0) { in getCustomFormatFlags()
129 hidl_cb(err, custom_format, priv_flags); in getCustomFormatFlags()
353 int custom_format = gralloc::GetImplDefinedFormat(usage, format); in getFormatLayout() local
354 BufferInfo info(width, height, custom_format, usage); in getFormatLayout()
363 alignedw, alignedh, custom_format); in getFormatLayout()
364 if (gralloc::IsYuvFormat(custom_format)) { in getFormatLayout()
365 gralloc::GetYUVPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
367 } else if (gralloc::IsUncompressedRGBFormat(custom_format) || in getFormatLayout()
368 gralloc::IsCompressedRGBFormat(custom_format)) { in getFormatLayout()
369 gralloc::GetRGBPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
377 custom_format); in getFormatLayout()