Home
last modified time | relevance | path

Searched refs:mFrameNumber (Results 1 – 25 of 50) sorted by relevance

12

/frameworks/av/services/camera/libcameraservice/gui/
DRingBufferConsumer.cpp85 cur.mFrameNumber = item.mFrameNumber; in pinSelectedBuffer()
180 item.mTimestamp, item.mFrameNumber); in pinBufferLocked()
183 item.mFrameNumber, item.mTimestamp); in pinBufferLocked()
238 item.mTimestamp, item.mFrameNumber); in releaseOldestBufferLocked()
243 item.mTimestamp, item.mFrameNumber); in releaseOldestBufferLocked()
257 item.mTimestamp, item.mFrameNumber); in releaseOldestBufferLocked()
342 item.mTimestamp, item.mFrameNumber); in unpinBuffer()
354 item.mTimestamp, item.mFrameNumber); in unpinBuffer()
357 item.mTimestamp, item.mFrameNumber); in unpinBuffer()
DRingBufferConsumer.h101 uint64_t mFrameNumber; member
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp199 lastSignaledFrameNumber = mQueueItems[i].item.mFrameNumber; in updateTexImage()
221 mFlinger->mTimeStats->removeTimeRecord(layerId, mQueueItems[0].item.mFrameNumber); in updateTexImage()
266 while (mQueuedFrames > 0 && mQueueItems[0].item.mFrameNumber != currentFrameNumber) { in updateTexImage()
268 mFlinger->mTimeStats->removeTimeRecord(layerId, mQueueItems[0].item.mFrameNumber); in updateTexImage()
349 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, item.mFrameNumber, systemTime(), in onFrameAvailable()
351 mFlinger->mFrameTracer->traceFence(layerId, bufferId, item.mFrameNumber, in onFrameAvailable()
366 if (item.mFrameNumber == 1) { in onFrameAvailable()
371 while (item.mFrameNumber != mLastFrameNumberReceived + 1) { in onFrameAvailable()
385 mLastFrameNumberReceived = item.mFrameNumber; in onFrameAvailable()
390 item.mGraphicBuffer->getHeight(), item.mFrameNumber); in onFrameAvailable()
[all …]
DBufferLayer.h135 uint64_t mFrameNumber; member
/frameworks/base/core/java/android/hardware/camera2/
DCaptureFailure.java64 private final long mFrameNumber; field in CaptureFailure
77 mFrameNumber = frameNumber; in CaptureFailure()
119 return mFrameNumber; in getFrameNumber()
DCaptureResult.java199 private final long mFrameNumber; field in CaptureResult
229 mFrameNumber = extras.getFrameNumber(); in CaptureResult()
256 mFrameNumber = frameNumber; in CaptureResult()
287 mFrameNumber = -1; in CaptureResult()
413 return mFrameNumber; in getFrameNumber()
/frameworks/native/libs/gui/
DBufferItem.cpp50 mFrameNumber(0), in BufferItem()
79 addAligned(size, low32(mFrameNumber)); in getPodSize()
80 addAligned(size, high32(mFrameNumber)); in getPodSize()
173 writeAligned(buffer, size, low32(mFrameNumber)); in flatten()
174 writeAligned(buffer, size, high32(mFrameNumber)); in flatten()
245 mFrameNumber = to64<uint64_t>(frameNumberLo, frameNumberHi); in unflatten()
DFrameTimestamps.cpp162 explicit FrameNumberEqual(uint64_t frameNumber) : mFrameNumber(frameNumber) {} in FrameNumberEqual()
164 return frame.valid && mFrameNumber == frame.frameNumber; in operator ()()
166 const uint64_t mFrameNumber; member
295 if (frame.frameNumber != d.mFrameNumber) { in applyDelta()
297 frame.frameNumber = d.mFrameNumber; in applyDelta()
502 mFrameNumber(frameTimestamps.frameNumber), in FrameEventsDelta()
525 return sizeof(FrameEventsDelta::mFrameNumber) + in minFlattenedSize()
566 FlattenableUtils::write(buffer, size, mFrameNumber); in flatten()
598 FlattenableUtils::read(buffer, size, mFrameNumber); in unflatten()
DConsumerBase.cpp101 mSlots[slotIndex].mFrameNumber = 0; in freeBufferLocked()
404 mSlots[item->mSlot].mFrameNumber = item->mFrameNumber; in acquireBufferLocked()
408 item->mSlot, item->mFrameNumber); in acquireBufferLocked()
495 slot, mSlots[slot].mFrameNumber); in releaseBufferLocked()
496 status_t err = mConsumer->releaseBuffer(slot, mSlots[slot].mFrameNumber, in releaseBufferLocked()
DBLASTBufferQueue.cpp527 BBQ_TRACE("frame=%" PRIu64, bufferItem.mFrameNumber); in acquireNextBufferLocked()
545 mLastAcquiredFrameNumber = bufferItem.mFrameNumber; in acquireNextBufferLocked()
550 mBufferItemConsumer->getConnectionEvents(bufferItem.mFrameNumber, &needsDisconnect); in acquireNextBufferLocked()
570 t->setBuffer(mSurfaceControl, buffer, fence, bufferItem.mFrameNumber, releaseBufferCallback); in acquireNextBufferLocked()
597 mPendingFrameTimelines.front().first < bufferItem.mFrameNumber) { in acquireNextBufferLocked()
605 mPendingFrameTimelines.front().first == bufferItem.mFrameNumber) { in acquireNextBufferLocked()
608 bufferItem.mFrameNumber, in acquireNextBufferLocked()
625 mergePendingTransactions(t, bufferItem.mFrameNumber); in acquireNextBufferLocked()
630 mLastAppliedFrameNumber = bufferItem.mFrameNumber; in acquireNextBufferLocked()
639 mSize.width, mSize.height, bufferItem.mFrameNumber, boolToString(applyTransaction), in acquireNextBufferLocked()
[all …]
DBufferQueueConsumer.cpp147 if (maxFrameNumber && bufferItem.mFrameNumber > maxFrameNumber) { in acquireBuffer()
211 front->mFrameNumber <= maxFrameNumber : true; in acquireBuffer()
219 front->mFrameNumber, maxFrameNumber); in acquireBuffer()
249 outBuffer->mFrameNumber = mCore->mFrameCounter; in acquireBuffer()
271 slot, outBuffer->mFrameNumber, outBuffer->mGraphicBuffer->handle); in acquireBuffer()
418 mSlots[*outSlot].mFrameNumber = 0; in attachBuffer()
464 if (frameNumber != mSlots[slot].mFrameNumber && in releaseBuffer()
DBufferQueueCore.cpp199 buffer->handle, mSlots[s].mFrameNumber); in dumpState()
205 mSlots[s].mBufferState.string(), mSlots[s].mFrameNumber); in dumpState()
212 buffer->handle, mSlots[s].mFrameNumber); in dumpState()
262 mSlots[slot].mFrameNumber = 0; in clearBufferSlotLocked()
/frameworks/native/libs/gui/include/gui/
DBufferSlot.h181 mFrameNumber(0), in BufferSlot()
206 uint64_t mFrameNumber; member
DBufferItem.h95 uint64_t mFrameNumber; variable
DConsumerBase.h237 uint64_t mFrameNumber; member
/frameworks/base/libs/hostgraphics/gui/
DBufferItem.h56 uint64_t mFrameNumber; variable
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3StreamBufferListener.h38 uint64_t mFrameNumber; member
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp608 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
651 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
680 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
728 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
859 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
912 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
927 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
936 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
940 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
954 ASSERT_EQ(OK, mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
[all …]
DStreamSplitter_test.cpp114 ASSERT_EQ(OK, outputConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in TEST_F()
188 item.mFrameNumber, EGL_NO_DISPLAY, EGL_NO_SYNC_KHR, in TEST_F()
/frameworks/base/libs/hwui/renderthread/
DCanvasContext.cpp223 mFrameNumber = 0; in setupPipelineSurface()
601 mFrameNumber = 0; in draw()
920 if (mFrameNumber == 0 && mNativeSurface.get()) { in getFrameNumber()
921 mFrameNumber = ANativeWindow_getNextFrameId(mNativeSurface->getNativeWindow()); in getFrameNumber()
923 return mFrameNumber; in getFrameNumber()
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
DVideoDumpView.java337 private int mFrameNumber = 0; field in VideoDumpView.VideoDumpRenderer
379 frameNumber = mFrameNumber; in onDrawFrame()
598 mFrameNumber++; in onFrameAvailable()
/frameworks/av/media/libstagefright/filters/
DGraphicBufferListener.cpp149 mConsumer->releaseBuffer(item.mSlot, item.mFrameNumber, in releaseBuffer()
/frameworks/native/libs/nativedisplay/surfacetexture/
DImageConsumer.cpp121 st.mCurrentFrameNumber = item.mFrameNumber; in dequeueBuffer()
/frameworks/av/camera/ndk/impl/
DACameraDevice.h56 mPhysicalResultInfo(info), mFrameNumber(frameNumber) {} in ACameraPhysicalCaptureResultInfo()
59 int64_t mFrameNumber; member
/frameworks/av/camera/ndk/ndk_vendor/impl/
DACameraDevice.h80 mPhysicalResultInfo(info), mFrameNumber(frameNumber) {} in ACameraPhysicalCaptureResultInfo()
83 int64_t mFrameNumber; member

12