/packages/services/Car/cpp/computepipe/tests/runner/stream_manager/ |
D | PixelStreamManagerTest.cpp | 99 PixelMemHandle memHandle(bufferId, streamId, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN); in TEST() local 101 EXPECT_EQ(memHandle.getBufferId(), bufferId); in TEST() 102 EXPECT_EQ(memHandle.getStreamId(), streamId); in TEST() 103 EXPECT_EQ(memHandle.getHardwareBuffer(), nullptr); in TEST() 107 Status status = memHandle.setFrameData(timestamp, frame); in TEST() 109 ASSERT_NE(memHandle.getHardwareBuffer(), nullptr); in TEST() 112 AHardwareBuffer* buffer = memHandle.getHardwareBuffer(); in TEST() 127 PixelMemHandle memHandle(bufferId, streamId, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN); in TEST() local 129 EXPECT_EQ(memHandle.getBufferId(), bufferId); in TEST() 130 EXPECT_EQ(memHandle.getStreamId(), streamId); in TEST() [all …]
|
/packages/services/Car/cpp/evs/support_library/ |
D | StreamHandler.cpp | 140 buffer.memHandle.getNativeHandle(), buffer.bufferId); in deliverFrame() 146 if (buffer.memHandle.getNativeHandle() == nullptr) { in deliverFrame() 275 buffer.memHandle = hidl_handle(handle); in allocate() 283 || output.memHandle.getNativeHandle() == nullptr) { in processFrame() 292 if (output.memHandle.getNativeHandle() != nullptr) { in processFrame() 293 GraphicBufferAllocator::get().free(output.memHandle); in processFrame() 305 input.memHandle, GraphicBuffer::CLONE_HANDLE, input.width, in processFrame() 342 mapper.lock(output.memHandle, in processFrame() 355 mapper.unlock(output.memHandle); in processFrame() 378 mapper.unlock(output.memHandle); in processFrame() [all …]
|
D | VideoTex.cpp | 61 if (imageBuffer.memHandle.getNativeHandle() == nullptr) { in refresh() 73 imageBuffer.memHandle, GraphicBuffer::CLONE_HANDLE, imageBuffer.width, in refresh()
|
D | DisplayUseCase.cpp | 209 if (tgtBuffer.memHandle == nullptr) { in streamFrame() 227 if (mImageBuffer.memHandle.getNativeHandle() != nullptr) { in streamFrame()
|
D | RenderBase.cpp | 154 sp<GraphicBuffer> pGfxBuffer = new GraphicBuffer(tgtBuffer.memHandle, in attachRenderTarget()
|
/packages/services/Car/cpp/evs/sampleDriver/ |
D | EvsGlDisplay.cpp | 67 if (mBuffer.memHandle) { in forceShutdown() 75 alloc.free(mBuffer.memHandle); in forceShutdown() 76 mBuffer.memHandle = nullptr; in forceShutdown() 174 if (!mBuffer.memHandle) { in getTargetBuffer() 217 mBuffer.memHandle = handle; in getTargetBuffer() 218 LOG(DEBUG) << "Allocated new buffer " << mBuffer.memHandle.getNativeHandle() in getTargetBuffer() 237 LOG(VERBOSE) << "Providing display buffer handle " << mBuffer.memHandle.getNativeHandle() in getTargetBuffer() 250 LOG(VERBOSE) << __FUNCTION__ << " " << buffer.memHandle.getNativeHandle(); in returnTargetBufferForDisplay() 254 if (!buffer.memHandle.getNativeHandle()) { in returnTargetBufferForDisplay()
|
D | EvsV4lCamera.cpp | 225 doneWithFrame_impl(buffer.bufferId, buffer.memHandle); in doneWithFrame() 494 buffer_handle_t memHandle = nullptr; in importExternalBuffers() local 502 &memHandle); in importExternalBuffers() 503 if (result != android::NO_ERROR || !memHandle) { in importExternalBuffers() 512 rec.handle = memHandle; in importExternalBuffers() 522 mBuffers.emplace_back(memHandle); in importExternalBuffers() 535 const buffer_handle_t memHandle) { in doneWithFrame_impl() argument 542 if (memHandle == nullptr) { in doneWithFrame_impl() 624 buffer_handle_t memHandle = nullptr; in increaseAvailableFrames_Locked() local 628 &memHandle, &pixelsPerLine, 0, "EvsV4lCamera"); in increaseAvailableFrames_Locked() [all …]
|
D | GlWrapper.cpp | 366 newBuffer.buffer.nativeHandle = buffer.memHandle; in updateImageTexture()
|
/packages/services/Car/cpp/evs/manager/1.1/emul/ |
D | EvsEmulatedCamera.cpp | 275 doneWithFrame_impl(buffer.bufferId, buffer.memHandle); in doneWithFrame() 486 buffer_handle_t memHandle = nullptr; in importExternalBuffers() local 494 &memHandle); in importExternalBuffers() 495 if (result != android::NO_ERROR || !memHandle) { in importExternalBuffers() 504 rec.handle = memHandle; in importExternalBuffers() 514 mBuffers.emplace_back(memHandle); in importExternalBuffers() 527 const buffer_handle_t memHandle) { in doneWithFrame_impl() argument 534 if (memHandle == nullptr) { in doneWithFrame_impl() 616 buffer_handle_t memHandle = nullptr; in increaseAvailableFrames_Locked() local 619 &memHandle, &pixelsPerLine, 0, "EvsEmulatedCamera"); in increaseAvailableFrames_Locked() [all …]
|
/packages/services/Car/cpp/computepipe/tests/fuzz/ |
D | PixelStreamManagerFuzzer.cpp | 77 std::shared_ptr<MemHandle> memHandle; in LLVMFuzzerTestOneInput() local 81 testing::DoAll(testing::SaveArg<0>(&memHandle), (Return(Status::SUCCESS)))); in LLVMFuzzerTestOneInput() 111 if (memHandle != nullptr) { in LLVMFuzzerTestOneInput() 112 manager->freePacket(memHandle->getBufferId()); in LLVMFuzzerTestOneInput() 117 manager->clonePacket(memHandle); in LLVMFuzzerTestOneInput()
|
D | PixelMemHandleFuzzer.cpp | 49 PixelMemHandle memHandle(bufferId, streamId, AHARDWAREBUFFER_USAGE_CPU_READ_OFTEN); in setFrameDataTest() local 51 memHandle.setFrameData(timestamp, oldInputFrame); in setFrameDataTest() 55 memHandle.setFrameData(timestamp, newInputFrame); in setFrameDataTest() 58 AHardwareBuffer* buffer = memHandle.getHardwareBuffer(); in setFrameDataTest()
|
/packages/services/Car/cpp/computepipe/runner/stream_manager/ |
D | PixelStreamManager.cpp | 222 std::shared_ptr<PixelMemHandle> memHandle = mBuffersReady[mBuffersReady.size() - 1]; in queuePacket() local 227 bufferMetadata.handle = memHandle; in queuePacket() 229 mBuffersInUse.emplace(memHandle->getBufferId(), bufferMetadata); in queuePacket() 231 Status status = memHandle->setFrameData(timestamp, frame); in queuePacket() 239 std::thread t([this, memHandle]() { in queuePacket() 240 Status status = mEngine->dispatchPacket(memHandle); in queuePacket()
|
D | SemanticManager.cpp | 156 auto memHandle = std::make_shared<SemanticHandle>(); in queuePacket() local 157 auto status = memHandle->setMemInfo(mStreamId, data, size, timestamp, mType); in queuePacket() 161 mEngine->dispatchPacket(memHandle); in queuePacket()
|
/packages/services/Car/cpp/evs/apps/default/ |
D | StreamHandler.cpp | 29 buffer_handle_t memHandle = nullptr; variable 57 &memHandle, in StreamHandler() 75 buf.buffer.nativeHandle = memHandle; in StreamHandler()
|
D | FormatConvert.cpp | 184 dst.buffer.nativeHandle = src.memHandle; in convertBufferDesc()
|
D | EvsStateControl.cpp | 185 if (tgtBuffer.memHandle == nullptr) { in updateLoop()
|
/packages/services/Car/cpp/evs/manager/1.0/ |
D | VirtualCamera.cpp | 73 if (buffer.memHandle == nullptr) { in deliverFrame() 160 if (buffer.memHandle == nullptr) { in doneWithFrame()
|
/packages/services/Car/cpp/computepipe/runner/debug_display_manager/ |
D | EvsDisplayManager.cpp | 52 buffer.memHandle = AHardwareBuffer_getNativeHandle(frame->getHardwareBuffer()); in getBufferDesc()
|
/packages/services/Car/cpp/evs/manager/1.1/ |
D | VirtualCamera.cpp | 161 frame_1_0.memHandle = bufDesc.buffer.nativeHandle; in deliverFrame() 433 if (buffer.memHandle == nullptr) { in doneWithFrame()
|