Searched refs:bufferDesc (Results 1 – 2 of 2) sorted by relevance
/cts/tests/tests/graphics/jni/ |
D | android_graphics_cts_MediaVulkanGpuTest.cpp | 102 AHardwareBuffer_Desc bufferDesc; in loadMediaAndVerifyFrameImport() local 103 AHardwareBuffer_describe(buffer, &bufferDesc); in loadMediaAndVerifyFrameImport() 105 ASSERT(bufferDesc.width >= kTestImageWidth, "Unexpectedly small image width read from video."); in loadMediaAndVerifyFrameImport() 106 ASSERT(bufferDesc.height >= kTestImageHeight, "Unexpectedly small image height read from video."); in loadMediaAndVerifyFrameImport() 109 VkImageRenderer renderer(&init, bufferDesc.width, bufferDesc.height, in loadMediaAndVerifyFrameImport() 124 ASSERT(framePixels.size() == bufferDesc.width * bufferDesc.height, in loadMediaAndVerifyFrameImport() 136 size_t frame_offset = y * bufferDesc.width + x; in loadMediaAndVerifyFrameImport()
|
D | VulkanTestHelpers.cpp | 284 AHardwareBuffer_Desc bufferDesc; in init() local 285 AHardwareBuffer_describe(buffer, &bufferDesc); in init() 286 ASSERT(bufferDesc.layers == 1); in init() 319 bufferDesc.width, bufferDesc.height, 1u, in init()
|