Lines Matching refs:gbp
164 sp<IGraphicBufferProducer> gbp = outputQueue->getIGraphicBufferProducer(); in addOutputLocked() local
166 sp<OutputListener> listener(new OutputListener(this, gbp)); in addOutputLocked()
167 IInterface::asBinder(gbp)->linkToDeath(listener); in addOutputLocked()
206 res = gbp->allowAllocation(false); in addOutputLocked()
213 mOutputs.push_back(gbp); in addOutputLocked()
214 mNotifiers[gbp] = listener; in addOutputLocked()
215 mOutputSlots[gbp] = std::make_unique<OutputSlots>(totalBufferCount); in addOutputLocked()
285 sp<IGraphicBufferProducer>& gbp = mOutputs[surface]; in notifyBufferReleased() local
286 OutputSlots& outputSlots = *(mOutputSlots[gbp]); in notifyBufferReleased()
287 int slot = getSlotForOutputLocked(gbp, buffer); in notifyBufferReleased()
289 gbp->detachBuffer(slot); in notifyBufferReleased()
311 sp<IGraphicBufferProducer>& gbp = mOutputs[surface_id]; in attachBufferToOutputs() local
318 res = gbp->attachBuffer(&slot, gb); in attachBufferToOutputs()
322 __FUNCTION__, gbp.get(), strerror(-res), res); in attachBufferToOutputs()
325 auto& outputSlots = *mOutputSlots[gbp]; in attachBufferToOutputs()
330 decrementBufRefCountLocked(outputSlots[slot]->getId(), gbp); in attachBufferToOutputs()
333 slot, gbp.get()); in attachBufferToOutputs()
496 int Camera3StreamSplitter::getSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp, in getSlotForOutputLocked() argument
498 auto& outputSlots = *mOutputSlots[gbp]; in getSlotForOutputLocked()
507 gbp.get()); in getSlotForOutputLocked()
511 status_t Camera3StreamSplitter::removeSlotForOutputLocked(const sp<IGraphicBufferProducer>& gbp, in removeSlotForOutputLocked() argument
513 auto& outputSlots = *mOutputSlots[gbp]; in removeSlotForOutputLocked()
523 gbp.get()); in removeSlotForOutputLocked()