Home
last modified time | relevance | path

Searched refs:getStride (Results 1 – 25 of 34) 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()
DCpuConsumer_test.cpp495 *stride = buf->getStride(); in produceOneFrame()
507 fillBayerRawBuffer(img, params.width, params.height, buf->getStride()); in produceOneFrame()
511 buf->getStride(), /*bpp*/8); in produceOneFrame()
515 params.height, buf->getStride(), in produceOneFrame()
519 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()
164 fillYV12BufferRect(img, texWidth, texHeight, buf->getStride(), crop); in TEST_F()
244 int stride = buf->getStride(); in TEST_F()
DFillBuffer.cpp103 fillRGBA8Buffer(img, buf->getWidth(), buf->getHeight(), buf->getStride()); in produceOneRGBA8Frame()
/frameworks/native/libs/ui/
DGralloc1.cpp132 gralloc1_error_t Device::getStride(buffer_handle_t buffer, uint32_t* outStride) in getStride() function in android::Gralloc1::Device
134 int32_t intError = mFunctions.getStride(mDevice, buffer, outStride); in getStride()
330 if (!mFunctions.getStride.load(mDevice, true)) { in loadFunctions()
DGralloc1On0Adapter.cpp120 bufferHook<decltype(&Buffer::getStride), in doGetFunction()
121 &Buffer::getStride, uint32_t*>); in doGetFunction()
353 descriptor, graphicBuffer->getStride(), false); in retain()
DGraphicBufferAllocator.cpp129 error = mDevice->getStride(*handle, stride); in allocate()
/frameworks/native/services/surfaceflinger/RenderEngine/
DMesh.cpp95 size_t Mesh::getStride() const { in getStride() function in android::Mesh
DMesh.h80 size_t getStride() const;
/frameworks/native/include/ui/
DGralloc1.h88 gralloc1_error_t getStride(buffer_handle_t buffer, uint32_t* outStride);
194 GRALLOC1_FUNCTION_GET_STRIDE> getStride;
DGraphicBuffer.h92 uint32_t getStride() const { return static_cast<uint32_t>(stride); } in getStride() function
DGralloc1On0Adapter.h262 gralloc1_error_t getStride(uint32_t* outStride) const { in getStride() function
/frameworks/webview/chromium/plat_support/
Dgraphic_buffer_impl.cpp110 return mBuffer->getStride() * kBytesPerPixel; in GetStride()
/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/base/cmds/screencap/
Dscreencap.cpp171 s = screenshot.getStride(); in main()
/frameworks/native/libs/gui/
DCpuConsumer.cpp188 mSlots[slot].mGraphicBuffer->getStride(); in lockNextBuffer()
DGLConsumer.cpp352 uint32_t stride = buffer->getStride(); in getDebugTexImageBuffer()
1200 buffer->getWidth(), buffer->getHeight(), buffer->getStride(), in createIfNeeded()
/frameworks/native/include/gui/
DSurfaceComposerClient.h253 uint32_t getStride() const;
/frameworks/base/core/jni/
Dandroid_view_GraphicBuffer.cpp180 ssize_t bytesCount = buffer->getStride() * bytesPerPixel(buffer->getPixelFormat()); in android_view_GraphicBuffer_lockCanvas()
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp188 uint32_t grallocBufStride = buf->getStride(); in produceFrame()
269 uint32_t stride = buf->getStride(); in produceFrame()
/frameworks/rs/
DrsGrallocConsumer.cpp148 mAlloc[idx]->mHal.drvState.lod[0].stride = mSlots[slot].mGraphicBuffer->getStride() * in lockNextBuffer()
/frameworks/native/opengl/tests/gl2_yuvtex/
Dgl2_yuvtex.cpp198 int yuvTexStrideY = yuvTexBuffer->getStride(); in setupYuvTexSurface()
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp775 buf->getStride(), inputInfo->mData->data()); in onInputFrameAvailable()
/frameworks/av/media/libstagefright/tests/
DSurfaceMediaSource_test.cpp515 SurfaceMediaSourceTest::fillYV12Buffer(img, width, height, buf->getStride()); in oneBufferPass()
/frameworks/base/media/jni/
Dandroid_media_Utils.cpp894 (ycbcr.y != NULL) ? static_cast<uint32_t>(ycbcr.ystride) : buffer->getStride(); in lockImageFromBuffer()

12