Lines Matching refs:frame_number
1375 uint32_t frame_number) in updateFpsInPreviewBuffer() argument
1386 if ((req->frame_number == frame_number) && in updateFpsInPreviewBuffer()
1419 if (req->frame_number != frameNumber) in updateTimeStampInPendingBuffers()
2801 uint32_t frameNumber = request->frame_number; in validateCaptureRequest()
3002 buffer->buffer, req->frame_number, in handleBuffersDuringFlushLock()
3032 int32_t QCamera3HardwareInterface::handlePendingReprocResults(uint32_t frame_number) in handlePendingReprocResults() argument
3036 if (j->frame_number == frame_number) { in handlePendingReprocResults()
3040 frame_number); in handlePendingReprocResults()
3045 if (k->frame_number == j->frame_number) { in handlePendingReprocResults()
3048 k->frame_number); in handlePendingReprocResults()
3052 result.frame_number = frame_number; in handlePendingReprocResults()
3102 uint32_t frame_number = 0, urgent_frame_number = 0; in handleBatchMetadata() local
3211 frame_number = first_frame_number + i; in handleBatchMetadata()
3212 LOGD("inferred frame_number: %d", frame_number); in handleBatchMetadata()
3214 CAM_INTF_META_FRAME_NUMBER, frame_number); in handleBatchMetadata()
3257 notify_msg.message.error.frame_number = frameNumber; in notifyError()
3297 uint32_t frame_number, urgent_frame_number; in handleMetadataWithLock() local
3326 frame_number = *p_frame_number; in handleMetadataWithLock()
3361 req.frame_number, missed.buffer, in handleMetadataWithLock()
3363 ch->timeoutFrame(req.frame_number); in handleMetadataWithLock()
3379 i->frame_number, urgent_frame_number); in handleMetadataWithLock()
3381 if ((!i->input_buffer) && (i->frame_number < urgent_frame_number) && in handleMetadataWithLock()
3384 i->frame_number); in handleMetadataWithLock()
3389 if (i->frame_number == urgent_frame_number && in handleMetadataWithLock()
3401 result.frame_number = urgent_frame_number; in handleMetadataWithLock()
3408 result.frame_number, capture_time); in handleMetadataWithLock()
3424 frame_number, capture_time); in handleMetadataWithLock()
3427 i != mPendingRequestsList.end() && i->frame_number <= frame_number;) { in handleMetadataWithLock()
3433 LOGD("frame_number in the list is %u", i->frame_number); in handleMetadataWithLock()
3452 __func__, i->frame_number, streamID, j->stream->format); in handleMetadataWithLock()
3454 notify_msg.message.error.frame_number = i->frame_number; in handleMetadataWithLock()
3459 __func__, i->frame_number, streamID, j->stream->format); in handleMetadataWithLock()
3461 PendingFrameDrop.frame_number=i->frame_number; in handleMetadataWithLock()
3476 if (i->frame_number < frame_number) { in handleMetadataWithLock()
3493 notify_msg.message.shutter.frame_number = i->frame_number; in handleMetadataWithLock()
3504 updateTimeStampInPendingBuffers(i->frame_number, capture_time_av); in handleMetadataWithLock()
3591 frame_number); in handleMetadataWithLock()
3606 notifyError(i->frame_number, CAMERA3_MSG_ERROR_RESULT); in handleMetadataWithLock()
3612 result.frame_number = i->frame_number; in handleMetadataWithLock()
3623 updateFpsInPreviewBuffer(metadata, i->frame_number); in handleMetadataWithLock()
3637 if((m->stream_ID == streamID) && (m->frame_number==frame_number)) { in handleMetadataWithLock()
3640 frame_number, streamID); in handleMetadataWithLock()
3656 result.frame_number, i->timestamp); in handleMetadataWithLock()
3664 result.frame_number, i->timestamp); in handleMetadataWithLock()
3673 handlePendingReprocResults(frame_number + 1); in handleMetadataWithLock()
3741 void QCamera3HardwareInterface::handleInputBufferWithLock(uint32_t frame_number) in handleInputBufferWithLock() argument
3745 while (i != mPendingRequestsList.end() && i->frame_number != frame_number){ in handleInputBufferWithLock()
3767 notify_msg.message.shutter.frame_number = frame_number; in handleInputBufferWithLock()
3772 i->frame_number, notify_msg.message.shutter.timestamp); in handleInputBufferWithLock()
3785 result.frame_number = frame_number; in handleInputBufferWithLock()
3792 i->frame_number); in handleInputBufferWithLock()
3795 LOGE("Could not find input request for frame number %d", frame_number); in handleInputBufferWithLock()
3811 camera3_stream_buffer_t *buffer, uint32_t frame_number) in handleBufferWithLock() argument
3827 while (i != mPendingRequestsList.end() && i->frame_number != frame_number){ in handleBufferWithLock()
3834 if ((j->frame_number < frame_number) && !(j->input_buffer)) { in handleBufferWithLock()
3836 j->frame_number, frame_number); in handleBufferWithLock()
3842 result.frame_number = frame_number; in handleBufferWithLock()
3849 if((m->stream_ID == streamID) && (m->frame_number==frame_number) ) { in handleBufferWithLock()
3852 frame_number, streamID); in handleBufferWithLock()
3860 frame_number, buffer->buffer); in handleBufferWithLock()
3883 notify_msg.message.shutter.frame_number = frame_number; in handleBufferWithLock()
3899 if (j->frame_number < frame_number) { in handleBufferWithLock()
3908 result.frame_number = frame_number; in handleBufferWithLock()
3917 LOGD("Notify reprocess now %d!", frame_number); in handleBufferWithLock()
3925 pendingResult.frame_number = frame_number; in handleBufferWithLock()
3927 LOGD("Cache reprocess result %d!", frame_number); in handleBufferWithLock()
3940 buffer->buffer, frame_number); in handleBufferWithLock()
4174 uint32_t frameNumber = request->frame_number; in processCaptureRequest()
4270 mFirstFrameNumberInBatch = request->frame_number; in processCaptureRequest()
4273 CAM_INTF_META_FRAME_NUMBER, request->frame_number)) { in processCaptureRequest()
4311 pendingRequest.frame_number = frameNumber; in processCaptureRequest()
4361 bufsForCurRequest.frame_number = frameNumber; in processCaptureRequest()
4686 i->frame_number, i->num_buffers, i->request_id, i->blob_request, in dump()
4698 req.frame_number, channel->getStreamTypeMask()); in dump()
4711 i->frame_number, i->stream_ID); in dump()
4980 notify_msg.message.error.frame_number = 0; in handleCameraDeviceError()
5000 camera3_stream_buffer_t *buffer, uint32_t frame_number, bool isInputBuffer) in captureResultCb() argument
5020 handleInputBufferWithLock(frame_number); in captureResultCb()
5024 handleBufferWithLock(buffer, frame_number); in captureResultCb()
5442 IF_META_AVAILABLE(uint32_t, frame_number, CAM_INTF_META_FRAME_NUMBER, metadata) { in translateFromHalMetadata()
5443 int64_t fwk_frame_number = *frame_number; in translateFromHalMetadata()
6371 uint32_t frame_number) in translateCbUrgentMetadataToResultMetadata() argument
6432 if (pendingRequest.frame_number < frame_number) { in translateCbUrgentMetadataToResultMetadata()
6435 } else if (pendingRequest.frame_number == frame_number) { in translateCbUrgentMetadataToResultMetadata()
6443 frame_number, fwkEarlyAfState); in translateCbUrgentMetadataToResultMetadata()
9277 request->frame_number)) { in setFrameParameters()
9341 request->frame_number)) { in setReprocParameters()
10500 uint32_t frame_number, bool isInputBuffer, void *userdata) in captureResultCb() argument
10508 hw->captureResultCb(metadata, buffer, frame_number, isInputBuffer); in captureResultCb()
10526 uint32_t frame_number, camera3_buffer_status_t err, in setBufferErrorStatus() argument
10535 hw->setBufferErrorStatus(ch, frame_number, err); in setBufferErrorStatus()
10546 if (req.frame_number != frameNumber) in setBufferErrorStatus()
11413 frameNum = i->frame_number; in notifyErrorForPendingRequests()
11427 if (req->frame_number < frameNum) { in notifyErrorForPendingRequests()
11431 req->frame_number, req->mPendingBufferList.size()); in notifyErrorForPendingRequests()
11441 result.frame_number = req->frame_number; in notifyErrorForPendingRequests()
11454 notify_msg.message.error.frame_number = req->frame_number; in notifyErrorForPendingRequests()
11468 req->frame_number, mPendingBuffersMap.mPendingBuffersInRequest.size()); in notifyErrorForPendingRequests()
11481 if (i != mPendingRequestsList.end() && i->frame_number == req->frame_number) { in notifyErrorForPendingRequests()
11485 LOGE("Sending ERROR REQUEST for frame %d", req->frame_number); in notifyErrorForPendingRequests()
11493 notify_msg.message.error.frame_number = req->frame_number; in notifyErrorForPendingRequests()
11504 result.frame_number = req->frame_number; in notifyErrorForPendingRequests()
11524 req->frame_number, mPendingBuffersMap.mPendingBuffersInRequest.size()); in notifyErrorForPendingRequests()
11636 req->frame_number, buffer); in removeBuf()