Lines Matching refs:pslot

292 status_t VirtualDisplaySurface::requestBuffer(int pslot,  in requestBuffer()  argument
295 return mSource[SOURCE_SINK]->requestBuffer(pslot, outBuf); in requestBuffer()
299 pslot, dbgStateStr()); in requestBuffer()
301 *outBuf = mProducerBuffers[pslot]; in requestBuffer()
323 int pslot = mapSource2ProducerSlot(source, *sslot); in dequeueBuffer() local
325 dbgSourceStr(source), *sslot, pslot, result); in dequeueBuffer()
326 uint64_t sourceBit = static_cast<uint64_t>(source) << pslot; in dequeueBuffer()
328 if ((mProducerSlotSource & (1ULL << pslot)) != sourceBit) { in dequeueBuffer()
332 mProducerSlotSource &= ~(1ULL << pslot); in dequeueBuffer()
343 result = mSource[source]->requestBuffer(*sslot, &mProducerBuffers[pslot]); in dequeueBuffer()
345 mProducerBuffers[pslot].clear(); in dequeueBuffer()
350 dbgSourceStr(source), pslot, mProducerBuffers[pslot].get(), in dequeueBuffer()
351 mProducerBuffers[pslot]->getPixelFormat(), in dequeueBuffer()
352 mProducerBuffers[pslot]->getUsage()); in dequeueBuffer()
358 status_t VirtualDisplaySurface::dequeueBuffer(int* pslot, sp<Fence>* fence, uint32_t w, uint32_t h, in dequeueBuffer() argument
363 return mSource[SOURCE_SINK]->dequeueBuffer(pslot, fence, w, h, format, usage, outBufferAge, in dequeueBuffer()
415 *pslot = mOutputProducerSlot; in dequeueBuffer()
421 *pslot = mapSource2ProducerSlot(source, sslot); in dequeueBuffer()
447 status_t VirtualDisplaySurface::queueBuffer(int pslot, in queueBuffer() argument
450 return mSource[SOURCE_SINK]->queueBuffer(pslot, input, output); in queueBuffer()
453 "Unexpected queueBuffer(pslot=%d) in %s state", pslot, in queueBuffer()
457 VDS_LOGV("queueBuffer pslot=%d", pslot); in queueBuffer()
463 int sslot = mapProducer2SourceSlot(SOURCE_SCRATCH, pslot); in queueBuffer()
496 mFbProducerSlot = pslot; in queueBuffer()
505 status_t VirtualDisplaySurface::cancelBuffer(int pslot, in cancelBuffer() argument
508 … return mSource[SOURCE_SINK]->cancelBuffer(mapProducer2SourceSlot(SOURCE_SINK, pslot), fence); in cancelBuffer()
511 "Unexpected cancelBuffer(pslot=%d) in %s state", pslot, in cancelBuffer()
513 VDS_LOGV("cancelBuffer pslot=%d", pslot); in cancelBuffer()
516 mapProducer2SourceSlot(source, pslot), fence); in cancelBuffer()
652 int VirtualDisplaySurface::mapProducer2SourceSlot(Source source, int pslot) { in mapProducer2SourceSlot() argument
653 return mapSource2ProducerSlot(source, pslot); in mapProducer2SourceSlot()