Home
last modified time | relevance | path

Searched refs:grallocUsage (Results 1 – 9 of 9) sorted by relevance

/frameworks/native/vulkan/include/vulkan/
Dvk_android_native_buffer.h198 int* grallocUsage);
213 uint64_t* grallocUsage);
219 uint64_t* grallocUsage);
242 int* grallocUsage
259 uint64_t* grallocUsage
266 uint64_t* grallocUsage
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp466 uint64_t grallocUsage, in PopulatePlaneLayout() argument
497 const_cast<native_handle_t *>(buffer), grallocUsage, rect, &pointer); in PopulatePlaneLayout()
572 const_cast<native_handle_t*>(buffer), grallocUsage, rect, &pointer); in PopulatePlaneLayout()
629 const_cast<native_handle_t*>(buffer), grallocUsage, rect, &pointer); in PopulatePlaneLayout()
650 const_cast<native_handle_t*>(buffer), grallocUsage, rect, &ycbcrLayout); in PopulatePlaneLayout()
720 const_cast<native_handle_t*>(buffer), grallocUsage, rect, layout, addr); in PopulatePlaneLayout()
727 const_cast<native_handle_t *>(buffer), grallocUsage, rect, &pointer); in PopulatePlaneLayout()
785 const_cast<native_handle_t*>(buffer), grallocUsage, rect, layout, addr); in PopulatePlaneLayout()
793 const_cast<native_handle_t*>(buffer), grallocUsage, rect, &ycbcrLayout); in PopulatePlaneLayout()
860 const_cast<native_handle_t *>(buffer), grallocUsage, rect, &pointer); in PopulatePlaneLayout()
[all …]
/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp45 uint64_t grallocUsage, uint64_t hardwareBufferUsage) { in TestUsageConversion() argument
47 if (convertedGrallocUsage != grallocUsage) in TestUsageConversion()
48 return BuildHexFailureMessage(grallocUsage, convertedGrallocUsage, "converToGralloc"); in TestUsageConversion()
50 … uint64_t convertedHArdwareBufferUsage = AHardwareBuffer_convertFromGrallocUsageBits(grallocUsage); in TestUsageConversion()
51 if (convertedHArdwareBufferUsage != grallocUsage) in TestUsageConversion()
52 … return BuildHexFailureMessage(grallocUsage, convertedHArdwareBufferUsage, "convertFromGralloc"); in TestUsageConversion()
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp84 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(usage); in android_hardware_HardwareBuffer_create() local
86 grallocUsage, std::string("HardwareBuffer pid [") + std::to_string(getpid()) +"]"); in android_hardware_HardwareBuffer_create()
/frameworks/av/media/codec2/hal/hidl/1.0/utils/
DInputSurfaceConnection.cpp148 uint64_t grallocUsage = in init() local
156 grallocUsage); in init()
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp934 int* grallocUsage) { in GetSwapchainGrallocUsageANDROID() argument
936 *grallocUsage = 0; in GetSwapchainGrallocUsageANDROID()
955 uint64_t* grallocUsage) { in GetSwapchainGrallocUsage3ANDROID() argument
959 *grallocUsage = 0; in GetSwapchainGrallocUsage3ANDROID()
966 uint64_t* grallocUsage) { in GetSwapchainGrallocUsage4ANDROID() argument
970 *grallocUsage = 0; in GetSwapchainGrallocUsage4ANDROID()
Dnull_driver_gen.h210 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);
212 …NDROID(VkDevice device, const VkGrallocUsageInfoANDROID* grallocUsageInfo, uint64_t* grallocUsage);
213 …DROID(VkDevice device, const VkGrallocUsageInfo2ANDROID* grallocUsageInfo, uint64_t* grallocUsage);
/frameworks/av/media/ndk/
DNdkImage.cpp195 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(mUsage); in lockImage() local
198 lockImageFromBuffer(mBuffer, grallocUsage, mBuffer->mFence->dup(), lockedBuffer.get()); in lockImage()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTestHelpers.h239 Primary primary, int grallocUsage, int displayFlags>
249 static constexpr int GRALLOC_USAGE = grallocUsage;