Home
last modified time | relevance | path

Searched refs:gralloc4 (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/libs/gralloc/types/tests/
DGralloc4_test.cpp144 …ASSERT_NO_FATAL_FAILURE(testHelperMetadataType(GetParam(), gralloc4::encodeUint32, gralloc4::decod… in TEST_P()
148 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodePixelFormatFourCC, gralloc4::decode… in TEST_P()
159 …ASSERT_NO_FATAL_FAILURE(testHelperMetadataType(GetParam(), gralloc4::encodeInt32, gralloc4::decode… in TEST_P()
170 …ASSERT_NO_FATAL_FAILURE(testHelperMetadataType(GetParam(), gralloc4::encodeUint64, gralloc4::decod… in TEST_P()
174 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeBufferId, gralloc4::decodeBufferId)… in TEST_P()
178 ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeWidth, gralloc4::decodeWidth)); in TEST_P()
182 ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeHeight, gralloc4::decodeHeight)); in TEST_P()
186 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeLayerCount, gralloc4::decodeLayerCo… in TEST_P()
190 …ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodePixelFormatModifier, gralloc4::deco… in TEST_P()
194 ASSERT_NO_FATAL_FAILURE(testHelper(GetParam(), gralloc4::encodeUsage, gralloc4::decodeUsage)); in TEST_P()
[all …]
/frameworks/native/libs/gralloc/types/fuzzer/
Dgralloctypes.cpp57 GRALLOCTYPES_DECODE(BufferDescriptorInfo, ::android::gralloc4::decodeBufferDescriptorInfo),
58 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeBufferId),
59 GRALLOCTYPES_DECODE(std::string, ::android::gralloc4::decodeName),
60 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeWidth),
61 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeHeight),
62 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeLayerCount),
63 …DE(::android::hardware::graphics::common::V1_2::PixelFormat, ::android::gralloc4::decodePixelForma…
64 GRALLOCTYPES_DECODE(uint32_t, ::android::gralloc4::decodePixelFormatFourCC),
65 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodePixelFormatModifier),
66 GRALLOCTYPES_DECODE(uint64_t, ::android::gralloc4::decodeUsage),
[all …]
/frameworks/native/libs/ui/
DGralloc4.cpp332 if (!gralloc4::isStandardPlaneLayoutComponentType(planeLayoutComponent.type)) { in lock()
533 return get(bufferHandle, gralloc4::MetadataType_BufferId, gralloc4::decodeBufferId, in getBufferId()
538 return get(bufferHandle, gralloc4::MetadataType_Name, gralloc4::decodeName, outName); in getName()
542 return get(bufferHandle, gralloc4::MetadataType_Width, gralloc4::decodeWidth, outWidth); in getWidth()
546 return get(bufferHandle, gralloc4::MetadataType_Height, gralloc4::decodeHeight, outHeight); in getHeight()
551 return get(bufferHandle, gralloc4::MetadataType_LayerCount, gralloc4::decodeLayerCount, in getLayerCount()
557 return get(bufferHandle, gralloc4::MetadataType_PixelFormatRequested, in getPixelFormatRequested()
558 gralloc4::decodePixelFormatRequested, outPixelFormatRequested); in getPixelFormatRequested()
563 return get(bufferHandle, gralloc4::MetadataType_PixelFormatFourCC, in getPixelFormatFourCC()
564 gralloc4::decodePixelFormatFourCC, outPixelFormatFourCC); in getPixelFormatFourCC()
[all …]
DGralloc5.cpp399 bool isCompressed = !gralloc4::isStandardCompression(bufferDump.compression) || in writeDumpToStream()
400 (gralloc4::getStandardCompressionValue(bufferDump.compression) != in writeDumpToStream()
404 outDump << gralloc4::getCompressionName(bufferDump.compression) << "\n"; in writeDumpToStream()
419 outDump << gralloc4::getPlaneLayoutComponentTypeName(planeLayoutComponent.type); in writeDumpToStream()
437 << ", interlaced: " << gralloc4::getInterlacedName(bufferDump.interlaced) in writeDumpToStream()
438 << ", chroma siting:" << gralloc4::getChromaSitingName(bufferDump.chromaSiting) in writeDumpToStream()
647 if (!gralloc4::isStandardPlaneLayoutComponentType(planeLayoutComponent.type)) { in lock()
870 if (!gralloc4::isStandardCompression(*value)) { in getCompression()
873 *outCompression = gralloc4::getStandardCompressionValue(*value); in getCompression()
898 if (!gralloc4::isStandardInterlaced(interlaced)) { in getInterlaced()
[all …]
/frameworks/native/libs/gralloc/types/include/gralloctypes/
DGralloc4.h35 namespace gralloc4 {
/frameworks/native/libs/gralloc/types/
DGralloc4.cpp50 namespace gralloc4 { namespace
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp412 if (!gralloc4::isStandardPlaneLayoutComponentType(component.type)) { in Gralloc4Mapper_lock()