Home
last modified time | relevance | path

Searched refs:bytesPerStride (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/graphics/composer/aidl/vts/
DRenderEngineVts.cpp80 int32_t bytesPerStride = -1; in checkColorBuffer() local
82 &bufferData, &bytesPerPixel, &bytesPerStride)); in checkColorBuffer()
83 const uint32_t stride = (bytesPerPixel > 0 && bytesPerStride > 0) in checkColorBuffer()
84 ? static_cast<uint32_t>(bytesPerStride / bytesPerPixel) in checkColorBuffer()
97 int32_t bytesPerStride = -1; in checkColorBuffer() local
99 &renderedBufferData, &bytesPerPixel, &bytesPerStride)); in checkColorBuffer()
100 const uint32_t renderedStride = (bytesPerPixel > 0 && bytesPerStride > 0) in checkColorBuffer()
101 ? static_cast<uint32_t>(bytesPerStride / bytesPerPixel) in checkColorBuffer()
106 &bytesPerPixel, &bytesPerStride)); in checkColorBuffer()
107 const uint32_t bufferStride = (bytesPerPixel > 0 && bytesPerStride > 0) in checkColorBuffer()
[all …]
DReadbackVts.cpp255 int bytesPerStride = -1; in checkReadbackBuffer() local
259 &bytesPerPixel, &bytesPerStride); in checkReadbackBuffer()
262 const uint32_t stride = (bytesPerPixel > 0 && bytesPerStride > 0) in checkReadbackBuffer()
263 ? static_cast<uint32_t>(bytesPerStride / bytesPerPixel) in checkReadbackBuffer()
350 int32_t bytesPerStride = -1; in fillBuffer() local
351 auto status = mGraphicBuffer->lock(mUsage, &bufData, &bytesPerPixel, &bytesPerStride); in fillBuffer()
352 const uint32_t stride = (bytesPerPixel > 0 && bytesPerStride > 0) in fillBuffer()
353 ? static_cast<uint32_t>(bytesPerStride / bytesPerPixel) in fillBuffer()
/hardware/interfaces/graphics/mapper/3.0/vts/functional/
DVtsHalGraphicsMapperV3_0TargetTest.cpp287 int32_t bytesPerStride = -1; in TEST_P() local
290 &bytesPerPixel, &bytesPerStride))); in TEST_P()
294 EXPECT_GT(bytesPerStride, -1); in TEST_P()
308 bytesPerStride = -1; in TEST_P()
313 &bytesPerPixel, &bytesPerStride))); in TEST_P()
322 EXPECT_GT(bytesPerStride, -1); in TEST_P()
/hardware/interfaces/graphics/mapper/3.0/
DIMapper.hal201 * should be returned. bytesPerStride must contain the bytes per stride of
202 * the buffer. If the bytesPerStride is unknown or variable, a value of -1
224 * @return bytesPerStride the number of bytes per stride of the buffer
233 int32_t bytesPerStride);