Lines Matching refs:gralloc4
300 if (!gralloc4::isStandardPlaneLayoutComponentType(planeLayoutComponent.type)) { in lock()
465 return get(bufferHandle, gralloc4::MetadataType_BufferId, gralloc4::decodeBufferId, in getBufferId()
470 return get(bufferHandle, gralloc4::MetadataType_Name, gralloc4::decodeName, outName); in getName()
474 return get(bufferHandle, gralloc4::MetadataType_Width, gralloc4::decodeWidth, outWidth); in getWidth()
478 return get(bufferHandle, gralloc4::MetadataType_Height, gralloc4::decodeHeight, outHeight); in getHeight()
483 return get(bufferHandle, gralloc4::MetadataType_LayerCount, gralloc4::decodeLayerCount, in getLayerCount()
489 return get(bufferHandle, gralloc4::MetadataType_PixelFormatRequested, in getPixelFormatRequested()
490 gralloc4::decodePixelFormatRequested, outPixelFormatRequested); in getPixelFormatRequested()
495 return get(bufferHandle, gralloc4::MetadataType_PixelFormatFourCC, in getPixelFormatFourCC()
496 gralloc4::decodePixelFormatFourCC, outPixelFormatFourCC); in getPixelFormatFourCC()
501 return get(bufferHandle, gralloc4::MetadataType_PixelFormatModifier, in getPixelFormatModifier()
502 gralloc4::decodePixelFormatModifier, outPixelFormatModifier); in getPixelFormatModifier()
506 return get(bufferHandle, gralloc4::MetadataType_Usage, gralloc4::decodeUsage, outUsage); in getUsage()
511 return get(bufferHandle, gralloc4::MetadataType_AllocationSize, gralloc4::decodeAllocationSize, in getAllocationSize()
517 return get(bufferHandle, gralloc4::MetadataType_ProtectedContent, in getProtectedContent()
518 gralloc4::decodeProtectedContent, outProtectedContent); in getProtectedContent()
523 return get(bufferHandle, gralloc4::MetadataType_Compression, gralloc4::decodeCompression, in getCompression()
537 if (!gralloc4::isStandardCompression(compression)) { in getCompression()
540 *outCompression = gralloc4::getStandardCompressionValue(compression); in getCompression()
546 return get(bufferHandle, gralloc4::MetadataType_Interlaced, gralloc4::decodeInterlaced, in getInterlaced()
560 if (!gralloc4::isStandardInterlaced(interlaced)) { in getInterlaced()
563 *outInterlaced = gralloc4::getStandardInterlacedValue(interlaced); in getInterlaced()
569 return get(bufferHandle, gralloc4::MetadataType_ChromaSiting, gralloc4::decodeChromaSiting, in getChromaSiting()
583 if (!gralloc4::isStandardChromaSiting(chromaSiting)) { in getChromaSiting()
586 *outChromaSiting = gralloc4::getStandardChromaSitingValue(chromaSiting); in getChromaSiting()
592 return get(bufferHandle, gralloc4::MetadataType_PlaneLayouts, gralloc4::decodePlaneLayouts, in getPlaneLayouts()
602 status_t error = get(bufferHandle, gralloc4::MetadataType_Dataspace, gralloc4::decodeDataspace, in getDataspace()
615 return get(bufferHandle, gralloc4::MetadataType_BlendMode, gralloc4::decodeBlendMode, in getBlendMode()
621 return get(bufferHandle, gralloc4::MetadataType_Smpte2086, gralloc4::decodeSmpte2086, in getSmpte2086()
627 return get(bufferHandle, gralloc4::MetadataType_Cta861_3, gralloc4::decodeCta861_3, in getCta861_3()
633 return get(bufferHandle, gralloc4::MetadataType_Smpte2094_40, gralloc4::decodeSmpte2094_40, in getSmpte2094_40()
676 gralloc4::MetadataType_PixelFormatFourCC, gralloc4::decodePixelFormatFourCC, in getDefaultPixelFormatFourCC()
685 gralloc4::MetadataType_PixelFormatModifier, in getDefaultPixelFormatModifier()
686 gralloc4::decodePixelFormatModifier, outPixelFormatModifier); in getDefaultPixelFormatModifier()
694 gralloc4::MetadataType_AllocationSize, gralloc4::decodeAllocationSize, in getDefaultAllocationSize()
703 gralloc4::MetadataType_ProtectedContent, gralloc4::decodeProtectedContent, in getDefaultProtectedContent()
710 return getDefault(width, height, format, layerCount, usage, gralloc4::MetadataType_Compression, in getDefaultCompression()
711 gralloc4::decodeCompression, outCompression); in getDefaultCompression()
725 if (!gralloc4::isStandardCompression(compression)) { in getDefaultCompression()
728 *outCompression = gralloc4::getStandardCompressionValue(compression); in getDefaultCompression()
735 return getDefault(width, height, format, layerCount, usage, gralloc4::MetadataType_Interlaced, in getDefaultInterlaced()
736 gralloc4::decodeInterlaced, outInterlaced); in getDefaultInterlaced()
750 if (!gralloc4::isStandardInterlaced(interlaced)) { in getDefaultInterlaced()
753 *outInterlaced = gralloc4::getStandardInterlacedValue(interlaced); in getDefaultInterlaced()
760 return getDefault(width, height, format, layerCount, usage, gralloc4::MetadataType_ChromaSiting, in getDefaultChromaSiting()
761 gralloc4::decodeChromaSiting, outChromaSiting); in getDefaultChromaSiting()
776 if (!gralloc4::isStandardChromaSiting(chromaSiting)) { in getDefaultChromaSiting()
779 *outChromaSiting = gralloc4::getStandardChromaSitingValue(chromaSiting); in getDefaultChromaSiting()
786 return getDefault(width, height, format, layerCount, usage, gralloc4::MetadataType_PlaneLayouts, in getDefaultPlaneLayouts()
787 gralloc4::decodePlaneLayouts, outPlaneLayouts); in getDefaultPlaneLayouts()
820 if (!gralloc4::isStandardMetadataType(tmpMetadataDump.metadataType)) { in metadataDumpHelper()
824 gralloc4::getStandardMetadataTypeValue( in metadataDumpHelper()
854 gralloc4::decodeBufferId, &bufferId); in bufferDumpHelper()
858 error = metadataDumpHelper(bufferDump, StandardMetadataType::NAME, gralloc4::decodeName, &name); in bufferDumpHelper()
862 error = metadataDumpHelper(bufferDump, StandardMetadataType::WIDTH, gralloc4::decodeWidth, in bufferDumpHelper()
867 error = metadataDumpHelper(bufferDump, StandardMetadataType::HEIGHT, gralloc4::decodeHeight, in bufferDumpHelper()
873 gralloc4::decodeLayerCount, &layerCount); in bufferDumpHelper()
878 gralloc4::decodePixelFormatRequested, &pixelFormatRequested); in bufferDumpHelper()
883 gralloc4::decodePixelFormatFourCC, &pixelFormatFourCC); in bufferDumpHelper()
888 gralloc4::decodePixelFormatModifier, &pixelFormatModifier); in bufferDumpHelper()
892 error = metadataDumpHelper(bufferDump, StandardMetadataType::USAGE, gralloc4::decodeUsage, in bufferDumpHelper()
898 gralloc4::decodeDataspace, &dataspace); in bufferDumpHelper()
903 gralloc4::decodeAllocationSize, &allocationSize); in bufferDumpHelper()
908 gralloc4::decodeProtectedContent, &protectedContent); in bufferDumpHelper()
913 gralloc4::decodeCompression, &compression); in bufferDumpHelper()
918 gralloc4::decodeInterlaced, &interlaced); in bufferDumpHelper()
923 gralloc4::decodeChromaSiting, &chromaSiting); in bufferDumpHelper()
928 gralloc4::decodePlaneLayouts, &planeLayouts); in bufferDumpHelper()
946 bool isCompressed = !gralloc4::isStandardCompression(compression) || in bufferDumpHelper()
947 (gralloc4::getStandardCompressionValue(compression) != ui::Compression::NONE); in bufferDumpHelper()
950 *outDump << gralloc4::getCompressionName(compression) << "\n"; in bufferDumpHelper()
964 *outDump << gralloc4::getPlaneLayoutComponentTypeName(planeLayoutComponent.type); in bufferDumpHelper()
984 << ", interlaced: " << gralloc4::getInterlacedName(interlaced) in bufferDumpHelper()
985 << ", chroma siting:" << gralloc4::getChromaSitingName(chromaSiting) << "\n"; in bufferDumpHelper()