Lines Matching refs:inputFrame

177         for (auto &inputFrame : mPendingInputFrames) {  in compilePendingInputLocked()  local
178 if (inputFrame.second.frameNumber == *it) { in compilePendingInputLocked()
179 inputFrame.second.error = true; in compilePendingInputLocked()
228 status_t DepthCompositeStream::processInputFrame(nsecs_t ts, const InputFrame &inputFrame) { in processInputFrame() argument
235 auto jpegSize = android::camera2::JpegProcessor::findJpegSize(inputFrame.jpegBuffer.data, in processInputFrame()
236 inputFrame.jpegBuffer.width); in processInputFrame()
239 jpegSize = inputFrame.jpegBuffer.width; in processInputFrame()
247 inputFrame.depthBuffer.width * inputFrame.depthBuffer.height * 3 / 2); in processInputFrame()
250 auto entry = inputFrame.result.find(ANDROID_JPEG_QUALITY); in processInputFrame()
291 depthPhoto.mMainJpegBuffer = reinterpret_cast<const char*> (inputFrame.jpegBuffer.data); in processInputFrame()
295 depthPhoto.mDepthMapBuffer = reinterpret_cast<uint16_t*> (inputFrame.depthBuffer.data); in processInputFrame()
296 depthPhoto.mDepthMapWidth = inputFrame.depthBuffer.width; in processInputFrame()
297 depthPhoto.mDepthMapHeight = inputFrame.depthBuffer.height; in processInputFrame()
298 depthPhoto.mDepthMapStride = inputFrame.depthBuffer.stride; in processInputFrame()
320 entry = inputFrame.result.find(ANDROID_JPEG_ORIENTATION); in processInputFrame()
369 void DepthCompositeStream::releaseInputFrameLocked(InputFrame *inputFrame /*out*/) { in releaseInputFrameLocked() argument
370 if (inputFrame == nullptr) { in releaseInputFrameLocked()
374 if (inputFrame->depthBuffer.data != nullptr) { in releaseInputFrameLocked()
375 mDepthConsumer->unlockBuffer(inputFrame->depthBuffer); in releaseInputFrameLocked()
376 inputFrame->depthBuffer.data = nullptr; in releaseInputFrameLocked()
380 if (inputFrame->jpegBuffer.data != nullptr) { in releaseInputFrameLocked()
381 mBlobConsumer->unlockBuffer(inputFrame->jpegBuffer); in releaseInputFrameLocked()
382 inputFrame->jpegBuffer.data = nullptr; in releaseInputFrameLocked()
386 if ((inputFrame->error || mErrorState) && !inputFrame->errorNotified) { in releaseInputFrameLocked()
388 notifyError(inputFrame->frameNumber, -1 /*requestId*/); in releaseInputFrameLocked()
389 inputFrame->errorNotified = true; in releaseInputFrameLocked()