Home
last modified time | relevance | path

Searched refs:srcBuffer (Results 1 – 5 of 5) sorted by relevance

/packages/services/Car/cpp/evs/apps/default/
DRenderPixelCopy.cpp91 const BufferDesc& srcBuffer = mStreamHandler->getNewFrame(); in drawFrame() local
93 reinterpret_cast<const AHardwareBuffer_Desc *>(&srcBuffer.buffer.description); in drawFrame()
96 … sp<android::GraphicBuffer> src = new android::GraphicBuffer(srcBuffer.buffer.nativeHandle, in drawFrame()
137 mStreamHandler->doneWithFrame(srcBuffer); in drawFrame()
/packages/modules/IPsec/tests/cts/src/android/ipsec/ike/cts/
DPacketUtils.java284 ShortBuffer srcBuffer = ByteBuffer.wrap(header.srcAddr.getAddress()).asShortBuffer(); in calculateChecksum() local
287 while (srcBuffer.hasRemaining() || dstBuffer.hasRemaining()) { in calculateChecksum()
288 short val = srcBuffer.hasRemaining() ? srcBuffer.get() : dstBuffer.get(); in calculateChecksum()
/packages/apps/Messaging/jni/
DGifTranscoder.cpp144 std::vector<GifByteType> srcBuffer(gifIn->SWidth * gifIn->SHeight); in resizeBoxFilter() local
200 srcBuffer.resize(gifIn->Image.Width * gifIn->Image.Height); in resizeBoxFilter()
201 if (readImage(gifIn, srcBuffer.data()) == false) { in resizeBoxFilter()
208 srcBuffer.data(), in resizeBoxFilter()
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/
DEvsDisplayManager.cpp136 BufferDesc srcBuffer = getBufferDesc(mNextFrame); in threadFn() local
137 if (!evsRenderer.drawFrame(tgtBuffer, srcBuffer)) { in threadFn()
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DPacketUtils.java324 ShortBuffer srcBuffer = ByteBuffer.wrap(header.srcAddr.getAddress()).asShortBuffer(); in calculateChecksum() local
327 while (srcBuffer.hasRemaining() || dstBuffer.hasRemaining()) { in calculateChecksum()
328 short val = srcBuffer.hasRemaining() ? srcBuffer.get() : dstBuffer.get(); in calculateChecksum()