Searched refs:ahbFormat (Results 1 – 3 of 3) sorted by relevance
43 std::optional<uint32_t> AhbToDrmFormat(uint32_t ahbFormat) { in AhbToDrmFormat() argument44 switch (ahbFormat) { in AhbToDrmFormat()153 auto ahbFormat = DrmToAhbFormat(mDrmFormat); in getAndroidFormat() local154 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() argument232 auto drmFormat = AhbToDrmFormat(ahbFormat); in allocate()234 ALOGE("Unhandled AHB format:%u", ahbFormat); in allocate()
66 virtual int allocate(uint32_t width, uint32_t height, uint32_t ahbFormat, uint64_t usage,
656 const uint32_t ahbFormat = ahb.GetAHBFormat(); in AsImage() local657 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()