Searched refs:aHardwareBufferDescription (Results 1 – 3 of 3) sorted by relevance
313 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in CreateEGLClientBufferFromAHardwareBuffer() local314 aHardwareBufferDescription.width = static_cast<uint32_t>(width); in CreateEGLClientBufferFromAHardwareBuffer()315 aHardwareBufferDescription.height = static_cast<uint32_t>(height); in CreateEGLClientBufferFromAHardwareBuffer()316 aHardwareBufferDescription.layers = static_cast<uint32_t>(depth); in CreateEGLClientBufferFromAHardwareBuffer()317 aHardwareBufferDescription.format = androidFormat; in CreateEGLClientBufferFromAHardwareBuffer()318 aHardwareBufferDescription.usage = GetAHBUsage(usage); in CreateEGLClientBufferFromAHardwareBuffer()322 int res = AHardwareBuffer_allocate(&aHardwareBufferDescription, &aHardwareBuffer); in CreateEGLClientBufferFromAHardwareBuffer()
43 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in createAndroidHardwareBuffer() local44 aHardwareBufferDescription.width = size; in createAndroidHardwareBuffer()45 aHardwareBufferDescription.height = 1; in createAndroidHardwareBuffer()46 aHardwareBufferDescription.layers = 1; in createAndroidHardwareBuffer()47 aHardwareBufferDescription.format = AHARDWAREBUFFER_FORMAT_BLOB; in createAndroidHardwareBuffer()48 aHardwareBufferDescription.usage = in createAndroidHardwareBuffer()50 aHardwareBufferDescription.stride = 0; in createAndroidHardwareBuffer()54 EXPECT_EQ(0, AHardwareBuffer_allocate(&aHardwareBufferDescription, &aHardwareBuffer)); in createAndroidHardwareBuffer()61 AHardwareBuffer_describe(aHardwareBuffer, &aHardwareBufferDescription); in createAndroidHardwareBuffer()
539 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in writeAHBData()540 AHardwareBuffer_describe(aHardwareBuffer, &aHardwareBufferDescription); in writeAHBData()541 const uint32_t stride = aHardwareBufferDescription.stride; in writeAHBData()567 AHardwareBuffer_Desc aHardwareBufferDescription = {}; in createAndroidHardwareBuffer() local568 aHardwareBufferDescription.width = width; in createAndroidHardwareBuffer()569 aHardwareBufferDescription.height = height; in createAndroidHardwareBuffer()570 aHardwareBufferDescription.layers = depth; in createAndroidHardwareBuffer()571 aHardwareBufferDescription.format = androidFormat; in createAndroidHardwareBuffer()572 aHardwareBufferDescription.usage = AHARDWAREBUFFER_USAGE_CPU_WRITE_RARELY | in createAndroidHardwareBuffer()575 aHardwareBufferDescription.stride = 0; in createAndroidHardwareBuffer()[all …]