Home
last modified time | relevance | path

Searched refs:ahbFormat (Results 1 – 3 of 3) sorted by relevance

/hardware/google/gfxstream/guest/android/
DGrallocEmulated.cpp43 std::optional<uint32_t> AhbToDrmFormat(uint32_t ahbFormat) { in AhbToDrmFormat() argument
44 switch (ahbFormat) { in AhbToDrmFormat()
153 auto ahbFormat = DrmToAhbFormat(mDrmFormat); in getAndroidFormat() local
154 if (!ahbFormat) { in getAndroidFormat()
158 return *ahbFormat; in getAndroidFormat()
228 int EmulatedGralloc::allocate(uint32_t width, uint32_t height, uint32_t ahbFormat, uint64_t usage, in allocate() argument
232 auto drmFormat = AhbToDrmFormat(ahbFormat); in allocate()
234 ALOGE("Unhandled AHB format:%u", ahbFormat); in allocate()
/hardware/google/gfxstream/guest/android/include/gfxstream/guest/
DGralloc.h66 virtual int allocate(uint32_t width, uint32_t height, uint32_t ahbFormat, uint64_t usage,
/hardware/google/gfxstream/common/end2end/
DGfxstreamEnd2EndTests.cpp656 const uint32_t ahbFormat = ahb.GetAHBFormat(); in AsImage() local
657 if (ahbFormat != GFXSTREAM_AHB_FORMAT_R8G8B8A8_UNORM && in AsImage()
658 ahbFormat != GFXSTREAM_AHB_FORMAT_B8G8R8A8_UNORM) { in AsImage()
659 return android::base::unexpected("Unhandled AHB format " + std::to_string(ahbFormat)); in AsImage()
668 if (ahbFormat == GFXSTREAM_AHB_FORMAT_B8G8R8A8_UNORM) { in AsImage()