Home
last modified time | relevance | path

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

/packages/services/DeviceAsWebcam/jni/
DEncoder.cpp92 mCb->onEncoded(request.dstBuffer, request.srcBuffer, /*success*/ false); in encodeThreadLoop()
272 mCb->onEncoded(request.dstBuffer, request.srcBuffer, /*success*/ false); in encodeToMJpeg()
280 mCb->onEncoded(request.dstBuffer, request.srcBuffer, /*success*/ false); in encodeToMJpeg()
285 mCb->onEncoded(request.dstBuffer, request.srcBuffer, /*success*/ true); in encodeToMJpeg()
289 HardwareBufferDesc& src = request.srcBuffer; in convertToI420()
298 if (request.srcBuffer.format == AHARDWAREBUFFER_FORMAT_R8G8B8A8_UNORM) { in convertToI420()
316 mCb->onEncoded(r.dstBuffer, r.srcBuffer, /*success*/ false); in encodeToYUYV()
332 mCb->onEncoded(r.dstBuffer, r.srcBuffer, /*success*/ false); in encodeToYUYV()
337 mCb->onEncoded(r.dstBuffer, r.srcBuffer, /*success*/ true); in encodeToYUYV()
DEncoder.h40 : srcBuffer(buffer), dstBuffer(producerBuffer), rotationDegrees(rotation) {} in EncodeRequest()
41 HardwareBufferDesc srcBuffer; member
58 virtual void onEncoded(Buffer* producerBuffer, HardwareBufferDesc& srcBuffer, bool success) = 0;
/packages/services/Car/cpp/evs/apps/default/src/
DRenderPixelCopy.cpp107 const BufferDesc& srcBuffer = mStreamHandler->getNewFrame(); in drawFrame() local
108 native_handle_t* srcBufferNativeHandle = getNativeHandle(srcBuffer); in drawFrame()
118 &srcBuffer.buffer.description); in drawFrame()
153 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/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/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/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()