Home
last modified time | relevance | path

Searched refs:getStride (Results 1 – 25 of 44) sorted by relevance

12

/frameworks/native/libs/gui/tests/
DSurfaceTextureFBO_test.cpp49 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 0, 255, in TEST_F()
73 fillRGBA8BufferSolid(img, texWidth, texHeight, buf->getStride(), 255, 0, in TEST_F()
DBLASTBufferQueue_test.cpp271 fillBuffer(bufData, Rect(0, 0, bufWidth / 2, bufHeight / 2), buf->getStride(), 0, 0, 0); in fillQuadrants()
272 fillBuffer(bufData, Rect(bufWidth / 2, 0, bufWidth, bufHeight / 2), buf->getStride(), 255, in fillQuadrants()
275 buf->getStride(), 0, 255, 0); in fillQuadrants()
276 fillBuffer(bufData, Rect(0, bufHeight / 2, bufWidth / 2, bufHeight), buf->getStride(), 0, 0, in fillQuadrants()
287 const auto stride = captureBuf->getStride(); in checkScreenCapture()
334 fillBuffer(bufData, Rect(buf->getWidth(), buf->getHeight() / 2), buf->getStride(), r, g, b); in queueBuffer()
448 fillBuffer(bufData, Rect(buf->getWidth(), buf->getHeight()), buf->getStride(), r, g, b); in TEST_F()
533 fillBuffer(bufData, Rect(buf->getWidth(), buf->getHeight() / 2), buf->getStride(), r, g, b); in TEST_F()
580 fillBuffer(bufData, Rect(buf->getWidth(), buf->getHeight()), buf->getStride(), 0, 0, 0); in TEST_F()
584 buf->getStride(), r, g, b); in TEST_F()
[all …]
DCpuConsumer_test.cpp491 *stride = buf->getStride(); in produceOneFrame()
503 fillBayerRawBuffer(img, params.width, params.height, buf->getStride()); in produceOneFrame()
507 buf->getStride(), /*bpp*/8); in produceOneFrame()
511 params.height, buf->getStride(), in produceOneFrame()
515 fillRgba8888Buffer(img, params.width, params.height, buf->getStride()); in produceOneFrame()
DSurfaceTextureGL_test.cpp50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
165 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); in TEST_F()
245 int stride = buf->getStride(); in TEST_F()
DFillBuffer.cpp103 fillRGBA8Buffer(img, buf->getWidth(), buf->getHeight(), buf->getStride()); in produceOneRGBA8Frame()
/frameworks/base/libs/hostgraphics/ui/
DGraphicBuffer.h48 uint32_t getStride() const { in getStride() function
/frameworks/base/libs/hwui/tests/common/scenes/
DHwBitmapInCompositeShader.cpp46 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
/frameworks/base/native/webview/plat_support/
Dgraphic_buffer_impl.cpp110 return mBuffer->getStride() * kBytesPerPixel; in GetStride()
/frameworks/native/services/surfaceflinger/tests/utils/
DTransactionUtils.h90 uint8_t* dst = pixels + (buffer->getStride() * (r.top + row) + r.left) * 4; in fillGraphicBufferColor()
126 const uint8_t* src = pixels + (outBuffer->getStride() * (y + j) + x) * 4; in expectBufferColor()
DScreenshotUtils.h168 const uint8_t* pixel = mPixels + (4 * (y * mOutBuffer->getStride() + x)); in checkPixel()
182 const uint8_t* pixel = mPixels + (4 * (y * mOutBuffer->getStride() + x)); in getPixelColor()
/frameworks/base/core/jni/
Dandroid_hardware_HardwareBuffer.cpp179 buffer->getStride() > 0 ? buffer->getStride() : buffer->getWidth(); in android_hardware_HardwareBuffer_estimateSize()
Dandroid_graphics_GraphicBuffer.cpp169 nativeBuffer.stride = buffer->getStride(); in android_graphics_GraphicBuffer_lockCanvas()
/frameworks/base/cmds/screencap/
Dscreencap.cpp210 info.stride = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in saveImage()
230 uint32_t s = buffer->getStride(); in saveImage()
/frameworks/native/opengl/tests/hwc/
DhwcTestLib.cpp621 uint32_t yPlaneStride = gBuf->getStride(); in hwcTestSetPixel()
622 uint32_t uPlaneStride = ((gBuf->getStride() / 2) + 0xf) & ~0xf; in hwcTestSetPixel()
648 memmove(buf + ((gBuf->getStride() * attrib->bytes) * y) in hwcTestSetPixel()
667 for (unsigned int x = 0; x < gBuf->getStride(); x++) { in hwcTestFillColor()
696 const uint32_t stride = gBuf->getStride(); in hwcTestFillColorHBlend()
/frameworks/av/media/libstagefright/renderfright/
DMesh.cpp137 size_t Mesh::getStride() const { in getStride() function in android::renderengine::Mesh
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
Dion_buffer.h82 uint32_t stride() const { return buffer_.get() ? buffer_->getStride() : 0; } in stride()
/frameworks/av/media/libstagefright/renderfright/include/renderengine/
DMesh.h130 size_t getStride() const;
/frameworks/native/services/surfaceflinger/
DHdrSdrRatioOverlay.cpp92 const size_t dstRowBytes = buffer->getStride() * static_cast<size_t>(imageInfo.bytesPerPixel()); in draw()
/frameworks/av/media/ndk/tests/
DAImageReaderWindowTest.cpp153 dequeuedBuffer->getStride()); in validateIGBP()
/frameworks/native/libs/gui/
DCpuConsumer.cpp130 outBuffer->stride = item.mGraphicBuffer->getStride(); in lockBufferItem()
/frameworks/native/libs/nativedisplay/surfacetexture/
DEGLConsumer.cpp198 uint32_t stride = buffer->getStride(); in getDebugTexImageBuffer()
643 buffer->getWidth(), buffer->getHeight(), buffer->getStride(), buffer->getUsage(), in createIfNeeded()
/frameworks/native/libs/ui/include_vndk/ui/
DGraphicBuffer.h163 uint32_t getStride() const { return static_cast<uint32_t>(stride); } in getStride() function
/frameworks/native/libs/ui/include/ui/
DGraphicBuffer.h163 uint32_t getStride() const { return static_cast<uint32_t>(stride); } in getStride() function
/frameworks/av/media/libmedia/include/media/omx/1.0/
DConversion.h607 t->attr.stride = l.getStride(); in wrapAs()
736 t->attr.anwBuffer.stride = l.mGraphicBuffer->getStride(); in wrapAs()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp198 int yuvTexStrideY = yuvTexBuffer->getStride(); in setupYuvTexSurface()

12