/aosp12/frameworks/native/libs/gui/tests/ |
H A D | BLASTBufferQueue_test.cpp | 218 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 D | SurfaceTextureFBO_test.cpp | 49 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 D | CpuConsumer_test.cpp | 491 *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 D | SurfaceTextureGL_test.cpp | 50 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 D | FillBuffer.cpp | 103 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 D | Gralloc1Hal.h | 180 !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 D | screencap.cpp | 219 info.stride = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in main() 239 uint32_t s = buffer->getStride(); in main()
|
/aosp12/frameworks/native/services/surfaceflinger/ |
H A D | LayerProtoHelper.cpp | 135 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 D | TransactionUtils.h | 90 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 D | ScreenshotUtils.h | 154 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 D | android_hardware_HardwareBuffer.cpp | 179 buffer->getStride() > 0 ? buffer->getStride() : buffer->getWidth(); in android_hardware_HardwareBuffer_estimateSize()
|
/aosp12/frameworks/base/libs/hostgraphics/ui/ |
H A D | GraphicBuffer.h | 39 uint32_t getStride() const { return static_cast<uint32_t>(width); } in getStride() function
|
/aosp12/packages/services/Car/cpp/evs/sampleDriver/ |
H A D | VideoCapture.h | 40 __u32 getStride() { return mStride; }; in getStride() function
|
/aosp12/frameworks/native/opengl/tests/hwc/ |
H A D | hwcTestLib.cpp | 621 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 D | alloc_controller.cpp | 105 int AdrenoMemInfo::getStride(int width, int format) in getStride() function in AdrenoMemInfo 261 alignedw = AdrenoMemInfo::getInstance().getStride(width, format); in getBufferSizeAndDimensions()
|
H A D | gr.h | 92 int getStride(int width, int format);
|
/aosp12/frameworks/base/native/webview/plat_support/ |
H A D | graphic_buffer_impl.cpp | 110 return mBuffer->getStride() * kBytesPerPixel; in GetStride()
|
/aosp12/frameworks/base/libs/hwui/tests/common/scenes/ |
H A D | HwBitmapInCompositeShader.cpp | 44 bytesPerPixel(buffer->getPixelFormat()) * buffer->getStride() * buffer->getHeight(); in createContent()
|
/aosp12/packages/services/Car/cpp/evs/manager/1.1/emul/ |
H A D | VideoCapture.h | 83 __u32 getStride() { return mBufferInfo.info.stride; } in getStride() function
|
/aosp12/hardware/interfaces/graphics/composer/2.2/utils/vts/ |
H A D | RenderEngineVts.cpp | 86 ReadbackHelper::compareColorBuffers(expectedColors, bufferData, mGraphicBuffer->getStride(), in checkColorBuffer()
|
/aosp12/frameworks/native/libs/renderengine/ |
H A D | Mesh.cpp | 137 size_t Mesh::getStride() const { in getStride() function in android::renderengine::Mesh
|
/aosp12/frameworks/av/media/libstagefright/renderfright/ |
H A D | Mesh.cpp | 137 size_t Mesh::getStride() const { in getStride() function in android::renderengine::Mesh
|
/aosp12/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
H A D | ion_buffer.h | 82 uint32_t stride() const { return buffer_.get() ? buffer_->getStride() : 0; } in stride()
|
/aosp12/frameworks/native/libs/renderengine/include/renderengine/ |
H A D | Mesh.h | 130 size_t getStride() const;
|
/aosp12/frameworks/av/media/libstagefright/renderfright/include/renderengine/ |
H A D | Mesh.h | 130 size_t getStride() const;
|