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()
352 int custom_format = gralloc::GetImplDefinedFormat(usage, format); in getFormatLayout() local
353 BufferInfo info(width, height, custom_format, usage); in getFormatLayout()
358 alignedw, alignedh, custom_format); in getFormatLayout()
359 if (gralloc::IsYuvFormat(custom_format)) { in getFormatLayout()
360 gralloc::GetYUVPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
362 } else if (gralloc::IsUncompressedRGBFormat(custom_format) || in getFormatLayout()
363 gralloc::IsCompressedRGBFormat(custom_format)) { in getFormatLayout()
364 gralloc::GetRGBPlaneInfo(info, custom_format, alignedw, alignedh, flags, &plane_count, in getFormatLayout()
372 custom_format); in getFormatLayout()