Home
last modified time | relevance | path

Searched refs:tgtBuffer (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/automotive/evs/1.0/vts/functional/
DFrameHandler.cpp148 BufferDesc tgtBuffer = {}; in deliverFrame() local
149 mDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in deliverFrame()
150 tgtBuffer = buff; in deliverFrame()
154 if (tgtBuffer.memHandle == nullptr) { in deliverFrame()
159 copyBufferContents(tgtBuffer, bufferArg); in deliverFrame()
162 Return <EvsResult> result = mDisplay->returnTargetBufferForDisplay(tgtBuffer); in deliverFrame()
215 bool FrameHandler::copyBufferContents(const BufferDesc& tgtBuffer, in copyBufferContents() argument
220 const unsigned width = std::min(tgtBuffer.width, in copyBufferContents()
222 const unsigned height = std::min(tgtBuffer.height, in copyBufferContents()
226 tgtBuffer.memHandle, android::GraphicBuffer::CLONE_HANDLE, in copyBufferContents()
[all …]
DVtsHalEvsV1_0TargetTest.cpp265 BufferDesc tgtBuffer = {}; in TEST_P() local
266 pDisplay->getTargetBuffer([&tgtBuffer](const BufferDesc& buff) { in TEST_P()
267 tgtBuffer = buff; in TEST_P()
270 EXPECT_NE(tgtBuffer.memHandle, nullptr); in TEST_P()
273 pDisplay->returnTargetBufferForDisplay(tgtBuffer); in TEST_P()
DFrameHandler.h71 bool copyBufferContents(const BufferDesc& tgtBuffer, const BufferDesc& srcBuffer);