Lines Matching refs:frameNumber

1785         uint32_t frameNumber, nsecs_t timestamp)  in updateTimeStampInPendingBuffers()  argument
1790 if(req->frame_number == frameNumber + 1) { in updateTimeStampInPendingBuffers()
1794 if (req->frame_number != frameNumber) in updateTimeStampInPendingBuffers()
3433 uint32_t frameNumber = request->frame_number; in validateCaptureRequest() local
3437 __FUNCTION__, frameNumber); in validateCaptureRequest()
3449 frameNumber, (long)idx); in validateCaptureRequest()
3454 frameNumber, (long)idx); in validateCaptureRequest()
3459 frameNumber, (long)idx); in validateCaptureRequest()
3474 frameNumber, (long)idx); in validateCaptureRequest()
3479 frameNumber, (long)idx); in validateCaptureRequest()
3484 frameNumber, (long)idx); in validateCaptureRequest()
3489 frameNumber, (long)idx); in validateCaptureRequest()
3494 frameNumber, (long)idx); in validateCaptureRequest()
3841 void QCamera3HardwareInterface::notifyError(uint32_t frameNumber, in notifyError() argument
3849 notify_msg.message.error.frame_number = frameNumber; in notifyError()
4326 const cam_depth_data_t &depthData, uint32_t frameNumber, uint8_t valid) { in handleDepthDataLocked() argument
4347 if (currentFrameNumber == frameNumber) { in handleDepthDataLocked()
4350 frameNumber); in handleDepthDataLocked()
4359 } else if (currentFrameNumber > frameNumber) { in handleDepthDataLocked()
4373 } while (currentFrameNumber < frameNumber); in handleDepthDataLocked()
4637 void QCamera3HardwareInterface::handlePendingResultMetadataWithLock(uint32_t frameNumber, in handlePendingResultMetadataWithLock() argument
4642 while (requestIter != mPendingRequestsList.end() && requestIter->frame_number != frameNumber) { in handlePendingResultMetadataWithLock()
4647 ALOGE("%s: Cannot find a pending request for frame number %u.", __FUNCTION__, frameNumber); in handlePendingResultMetadataWithLock()
4667 LOGE("Urgent metadata for frame number: %d didn't arrive!", frameNumber); in handlePendingResultMetadataWithLock()
4677 gHdrPlusClient->notifyFrameMetadata(frameNumber, *resultMetadata, in handlePendingResultMetadataWithLock()
4687 dispatchResultMetadataWithLock(frameNumber, requestType, requestIter->hdrplus); in handlePendingResultMetadataWithLock()
4690 void QCamera3HardwareInterface::dispatchResultMetadataWithLock(uint32_t frameNumber, in dispatchResultMetadataWithLock() argument
4733 } else if (iter->frame_number < frameNumber && isLiveRequest && thisLiveRequest) { in dispatchResultMetadataWithLock()
4782 if (iter.frame_number > frameNumber) { in dispatchResultMetadataWithLock()
5555 uint32_t frameNumber = request->frame_number; in processCaptureRequest() local
5582 frameNumber); in processCaptureRequest()
5636 ATRACE_ASYNC_BEGIN("SNAPSHOT", frameNumber); in processCaptureRequest()
5652 if (mHdrPlusRawSrcChannel && frameNumber % kHdrPlusRawPeriod == 0 && in processCaptureRequest()
5788 mLastCustIntentFrmNum = frameNumber; in processCaptureRequest()
5793 pendingRequest.frame_number = frameNumber; in processCaptureRequest()
5860 bufsForCurRequest.frame_number = frameNumber; in processCaptureRequest()
5872 mHdrPlusPendingRequests.emplace(frameNumber, pendingHdrPlusRequest); in processCaptureRequest()
5874 ALOGD("%s: frame number %u is an HDR+ request.", __FUNCTION__, frameNumber); in processCaptureRequest()
5897 frameNumber, bufferInfo.buffer, in processCaptureRequest()
5910 mShutterDispatcher.expectShutter(frameNumber, request->input_buffer != nullptr, in processCaptureRequest()
5913 mOutputBufferDispatcher.expectBuffer(frameNumber, request->output_buffers[i].stream); in processCaptureRequest()
5927 mMetadataChannel->request(NULL, frameNumber, indexUsed); in processCaptureRequest()
5930 LOGD("Input request, frame_number %d", frameNumber); in processCaptureRequest()
5953 output.buffer, request->input_buffer, frameNumber); in processCaptureRequest()
5955 rc = channel->request(output.buffer, frameNumber, in processCaptureRequest()
5976 output.buffer, frameNumber); in processCaptureRequest()
5978 rc = channel->request(output.buffer, frameNumber, in processCaptureRequest()
5981 rc = channel->request(output.buffer, frameNumber, in processCaptureRequest()
6020 rc = yuvChannel->request(output.buffer, frameNumber, in processCaptureRequest()
6052 output.buffer, frameNumber); in processCaptureRequest()
6054 rc = channel->request(output.buffer, frameNumber, indexUsed); in processCaptureRequest()
6105 request->input_buffer, frameNumber); in processCaptureRequest()
6107 rc = channel->request(NULL, frameNumber, in processCaptureRequest()
6116 LOGD("snapshot request with frame_number %d", frameNumber); in processCaptureRequest()
6118 rc = channel->request(NULL, frameNumber, in processCaptureRequest()
6122 rc = channel->request(NULL, frameNumber, in processCaptureRequest()
6248 mPendingBatchMap.add(frameNumber, mFirstFrameNumberInBatch); in processCaptureRequest()
8921 uint32_t frameNumber) in dumpMetadataToFile() argument
8972 frameNumber); in dumpMetadataToFile()
14103 uint32_t frameNumber, camera3_buffer_status_t err) in setBufferErrorStatus() argument
14105 LOGD("channel: %p, frame# %d, buf err: %d", ch, frameNumber, err); in setBufferErrorStatus()
14109 if (req.frame_number != frameNumber) in setBufferErrorStatus()
16797 void ShutterDispatcher::expectShutter(uint32_t frameNumber, bool isReprocess, bool isZsl) in expectShutter() argument
16802 mReprocessShutters.emplace(frameNumber, Shutter()); in expectShutter()
16804 mZslShutters.emplace(frameNumber, Shutter()); in expectShutter()
16806 mShutters.emplace(frameNumber, Shutter()); in expectShutter()
16810 void ShutterDispatcher::markShutterReady(uint32_t frameNumber, uint64_t timestamp) in markShutterReady() argument
16817 auto shutter = mShutters.find(frameNumber); in markShutterReady()
16821 shutter = mReprocessShutters.find(frameNumber); in markShutterReady()
16825 shutter = mZslShutters.find(frameNumber); in markShutterReady()
16862 void ShutterDispatcher::clear(uint32_t frameNumber) in clear() argument
16865 mShutters.erase(frameNumber); in clear()
16866 mReprocessShutters.erase(frameNumber); in clear()
16867 mZslShutters.erase(frameNumber); in clear()
16920 status_t OutputBufferDispatcher::expectBuffer(uint32_t frameNumber, camera3_stream_t *stream) in expectBuffer() argument
16932 buffers->second.emplace(frameNumber, Buffer()); in expectBuffer()
16936 void OutputBufferDispatcher::markBufferReady(uint32_t frameNumber, in markBufferReady() argument
16949 auto pendingBuffer = buffers->second.find(frameNumber); in markBufferReady()
16951 ALOGE("%s: Cannot find the pending buffer for frame number %u.", __FUNCTION__, frameNumber); in markBufferReady()