Home
last modified time | relevance | path

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

123

/aosp12/frameworks/native/libs/gui/tests/
H A DBLASTBufferQueue_test.cpp218 buf->getStride(), 0, 255, 0); in fillQuadrants()
230 const auto stride = captureBuf->getStride(); in checkScreenCapture()
544 buf->getStride(), r, g, b); in TEST_F()
600 fillBuffer(bufData, bufferSize, buf->getStride(), 127, 127, 127); in TEST_F()
604 fillBuffer(bufData, Rect(200, 200, 450, 450), buf->getStride(), /* rgb */ 255, 0, 0); in TEST_F()
605 fillBuffer(bufData, Rect(200, 451, 450, 700), buf->getStride(), /* rgb */ 0, 255, 0); in TEST_F()
606 fillBuffer(bufData, Rect(451, 200, 700, 450), buf->getStride(), /* rgb */ 0, 0, 255); in TEST_F()
607 fillBuffer(bufData, Rect(451, 451, 700, 700), buf->getStride(), /* rgb */ 255, 0, 0); in TEST_F()
667 fillBuffer(bufData, bufferSize, buf->getStride(), 127, 127, 127); in TEST_F()
671 fillBuffer(bufData, Rect(100, 100, 225, 225), buf->getStride(), /* rgb */ 255, 0, 0); in TEST_F()
[all …]
H A 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()
H A 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()
H A DSurfaceTextureGL_test.cpp50 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
100 fillYV12Buffer(img, texWidth, texHeight, buf->getStride()); in TEST_F()
164 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); in TEST_F()
244 int stride = buf->getStride(); in TEST_F()
H A DFillBuffer.cpp103 fillRGBA8Buffer(img, buf->getWidth(), buf->getHeight(), buf->getStride()); in produceOneRGBA8Frame()
/aosp12/hardware/interfaces/graphics/allocator/2.0/utils/passthrough/include/allocator-passthrough/2.0/
H A DGralloc1Hal.h180 !initDispatch(GRALLOC1_FUNCTION_GET_STRIDE, &mDispatch.getStride) || in initDispatch()
322 error = mDispatch.getStride(mDevice, buffer, &stride); in allocateOneBuffer()
349 GRALLOC1_PFN_GET_STRIDE getStride; member
/aosp12/frameworks/base/cmds/screencap/
H A Dscreencap.cpp219 info.stride = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in main()
239 uint32_t s = buffer->getStride(); in main()
/aosp12/frameworks/native/services/surfaceflinger/
H A DLayerProtoHelper.cpp135 if (buffer->getWidth() != 0 || buffer->getHeight() != 0 || buffer->getStride() != 0 || in writeToProto()
141 activeBufferProto->set_stride(buffer->getStride()); in writeToProto()
/aosp12/frameworks/native/services/surfaceflinger/tests/utils/
H A 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()
H A DScreenshotUtils.h154 const uint8_t* pixel = mPixels + (4 * (y * mOutBuffer->getStride() + x)); in checkPixel()
168 const uint8_t* pixel = mPixels + (4 * (y * mOutBuffer->getStride() + x)); in getPixelColor()
/aosp12/frameworks/base/core/jni/
H A Dandroid_hardware_HardwareBuffer.cpp179 buffer->getStride() > 0 ? buffer->getStride() : buffer->getWidth(); in android_hardware_HardwareBuffer_estimateSize()
/aosp12/frameworks/base/libs/hostgraphics/ui/
H A DGraphicBuffer.h39 uint32_t getStride() const { return static_cast<uint32_t>(width); } in getStride() function
/aosp12/packages/services/Car/cpp/evs/sampleDriver/
H A DVideoCapture.h40 __u32 getStride() { return mStride; }; in getStride() function
/aosp12/frameworks/native/opengl/tests/hwc/
H A 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()
/aosp12/hardware/qcom/display/msm8960/libgralloc/
H A Dalloc_controller.cpp105 int AdrenoMemInfo::getStride(int width, int format) in getStride() function in AdrenoMemInfo
261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions()
H A Dgr.h92 int getStride(int width, int format);
/aosp12/frameworks/base/native/webview/plat_support/
H A Dgraphic_buffer_impl.cpp110 return mBuffer->getStride() * kBytesPerPixel; in GetStride()
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/
H A DHwBitmapInCompositeShader.cpp44 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
/aosp12/packages/services/Car/cpp/evs/manager/1.1/emul/
H A DVideoCapture.h83 __u32 getStride() { return mBufferInfo.info.stride; } in getStride() function
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/vts/
H A DRenderEngineVts.cpp86 ReadbackHelper::compareColorBuffers(expectedColors, bufferData, mGraphicBuffer->getStride(), in checkColorBuffer()
/aosp12/frameworks/native/libs/renderengine/
H A DMesh.cpp137 size_t Mesh::getStride() const { in getStride() function in android::renderengine::Mesh
/aosp12/frameworks/av/media/libstagefright/renderfright/
H A DMesh.cpp137 size_t Mesh::getStride() const { in getStride() function in android::renderengine::Mesh
/aosp12/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dion_buffer.h82 uint32_t stride() const { return buffer_.get() ? buffer_->getStride() : 0; } in stride()
/aosp12/frameworks/native/libs/renderengine/include/renderengine/
H A DMesh.h130 size_t getStride() const;
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/
H A DMesh.h130 size_t getStride() const;

123