Home
last modified time | relevance | path

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

/frameworks/native/libs/nativewindow/tests/
DAHardwareBufferTest.cpp39 uint64_t grallocUsage, uint64_t hardwareBufferUsage) { in TestUsageConversion() argument
41 if (convertedGrallocUsage != grallocUsage) in TestUsageConversion()
42 return BuildHexFailureMessage(grallocUsage, convertedGrallocUsage, "converToGralloc"); in TestUsageConversion()
44 … uint64_t convertedHArdwareBufferUsage = AHardwareBuffer_convertFromGrallocUsageBits(grallocUsage); in TestUsageConversion()
45 if (convertedHArdwareBufferUsage != grallocUsage) in TestUsageConversion()
46 … return BuildHexFailureMessage(grallocUsage, convertedHArdwareBufferUsage, "convertFromGralloc"); in TestUsageConversion()
/frameworks/av/media/codec2/vndk/
DC2AllocatorGralloc.cpp273 uint64_t grallocUsage, uint32_t stride,
299 uint64_t grallocUsage, uint32_t stride, in C2AllocationGralloc() argument
308 mGrallocUsage(grallocUsage), in C2AllocationGralloc()
348 uint64_t grallocUsage = static_cast<C2AndroidMemoryUsage>(usage).asGrallocUsage(); in map() local
350 (long long)usage.expected, (long long)grallocUsage); in map()
396 const_cast<native_handle_t *>(mBuffer), grallocUsage, rect, &pointer); in map()
471 const_cast<native_handle_t*>(mBuffer), grallocUsage, rect, &pointer); in map()
528 const_cast<native_handle_t*>(mBuffer), grallocUsage, rect, &pointer); in map()
549 const_cast<native_handle_t*>(mBuffer), grallocUsage, rect, &ycbcrLayout); in map()
629 const_cast<native_handle_t *>(mBuffer), grallocUsage, rect, &pointer); in map()
[all …]
/frameworks/native/vulkan/include/vulkan/
Dvk_android_native_buffer.h135 int* grallocUsage);
167 int* grallocUsage
/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/hidl/1.0/utils/
DInputSurfaceConnection.cpp148 uint32_t grallocUsage = in init() local
156 grallocUsage); in init()
/frameworks/av/media/ndk/
DNdkImage.cpp179 uint64_t grallocUsage = AHardwareBuffer_convertToGrallocUsageBits(mUsage); in lockImage() local
182 lockImageFromBuffer(mBuffer, grallocUsage, mBuffer->mFence->dup(), lockedBuffer.get()); in lockImage()
/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayTransactionTestHelpers.h236 Secure secure, Primary primary, int grallocUsage>
246 static constexpr int GRALLOC_USAGE = grallocUsage;
/frameworks/native/vulkan/nulldrv/
Dnull_driver.cpp933 int* grallocUsage) { in GetSwapchainGrallocUsageANDROID() argument
935 *grallocUsage = 0; in GetSwapchainGrallocUsageANDROID()
Dnull_driver_gen.h207 …locUsageANDROID(VkDevice device, VkFormat format, VkImageUsageFlags imageUsage, int* grallocUsage);