libcamera: pipeline: raspberrypi: Add some debug logging
No functional changes, only added some more trace points. Signed-off-by: Naushir Patuck <naush@raspberrypi.com> Reviewed-by: Niklas Söderlund <niklas.soderlund@ragnatech.se> Reviewed-by: Kieran Bingham <kieran.bingham@ideasonboard.com> Tested-by: David Plowman <david.plowman@raspberrypi.com> Signed-off-by: Niklas Söderlund <niklas.soderlund@ragnatech.se>
This commit is contained in:
parent
8404d02d75
commit
dd0a9cf2b1
1 changed files with 6 additions and 1 deletions
|
@ -1162,6 +1162,11 @@ void RPiCameraData::ispInputDequeue(FrameBuffer *buffer)
|
|||
if (state_ == State::Stopped)
|
||||
return;
|
||||
|
||||
LOG(RPI, Debug) << "Stream ISP Input buffer complete"
|
||||
<< ", buffer id " << buffer->cookie()
|
||||
<< ", timestamp: " << buffer->metadata().timestamp;
|
||||
|
||||
/* The ISP input buffer gets re-queued into Unicam. */
|
||||
handleStreamBuffer(buffer, &unicam_[Unicam::Image]);
|
||||
handleState();
|
||||
}
|
||||
|
@ -1464,7 +1469,7 @@ FrameBuffer *RPiCameraData::updateQueue(std::queue<FrameBuffer *> &q, uint64_t t
|
|||
if (b->metadata().timestamp < timestamp) {
|
||||
q.pop();
|
||||
dev->queueBuffer(b);
|
||||
LOG(RPI, Error) << "Dropping input frame!";
|
||||
LOG(RPI, Warning) << "Dropping input frame!";
|
||||
} else if (b->metadata().timestamp == timestamp) {
|
||||
/* The calling function will pop the item from the queue. */
|
||||
return b;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue