Searched refs:custom_format (Results 1 – 6 of 6) sorted by relevance
/hardware/qcom/sm8150/display/gralloc/ |
D | QtiMapperExtensions.cpp | 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() [all …]
|
D | gr_utils.h | 209 int GetCustomFormatFlags(int format, uint64_t usage, int *custom_format, uint64_t *priv_flags);
|
D | gr_utils.cpp | 1364 int *custom_format, uint64_t *priv_flags) { in GetCustomFormatFlags() argument 1365 *custom_format = GetImplDefinedFormat(usage, format); in GetCustomFormatFlags() 1366 *priv_flags = GetHandleFlags(*custom_format, usage); in GetCustomFormatFlags()
|
/hardware/qcom/sm7250/display/gralloc/ |
D | QtiMapperExtensions.cpp | 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() [all …]
|
D | gr_utils.h | 224 int GetCustomFormatFlags(int format, uint64_t usage, int *custom_format, uint64_t *priv_flags);
|
D | gr_utils.cpp | 1417 int *custom_format, uint64_t *priv_flags) { in GetCustomFormatFlags() argument 1418 *custom_format = GetImplDefinedFormat(usage, format); in GetCustomFormatFlags() 1419 *priv_flags = GetHandleFlags(*custom_format, usage); in GetCustomFormatFlags()
|