Home
last modified time | relevance | path

Searched refs:bufferID (Results 1 – 16 of 16) sorted by relevance

/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.cpp61 void FrameTracer::traceTimestamp(int32_t layerId, uint64_t bufferID, uint64_t frameNumber, in traceTimestamp() argument
64 FrameTracerDataSource::Trace([this, layerId, bufferID, frameNumber, timestamp, type, in traceTimestamp()
72 tracePendingFencesLocked(ctx, layerId, bufferID); in traceTimestamp()
75 traceLocked(ctx, layerId, bufferID, frameNumber, timestamp, type, duration); in traceTimestamp()
79 void FrameTracer::traceFence(int32_t layerId, uint64_t bufferID, uint64_t frameNumber, in traceFence() argument
82 FrameTracerDataSource::Trace([this, layerId, bufferID, frameNumber, &fence, type, in traceFence()
92 tracePendingFencesLocked(ctx, layerId, bufferID); in traceFence()
95 traceSpanLocked(ctx, layerId, bufferID, frameNumber, type, startTime, signalTime); in traceFence()
97 mTraceTracker[layerId].pendingFences[bufferID].push_back( in traceFence()
108 int32_t layerId, uint64_t bufferID) { in tracePendingFencesLocked() argument
[all …]
DFrameTracer.h52 void traceTimestamp(int32_t layerId, uint64_t bufferID, uint64_t frameNumber, nsecs_t timestamp,
59 void traceFence(int32_t layerId, uint64_t bufferID, uint64_t frameNumber,
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp152 const uint32_t bufferID = 2; in TEST_F() local
162 mFrameTracer->traceTimestamp(layerId, bufferID, frameNumber, timestamp, type, duration); in TEST_F()
176 mFrameTracer->traceTimestamp(layerId, bufferID, frameNumber, timestamp, type, duration); in TEST_F()
192 EXPECT_EQ(buffer_event.buffer_id(), bufferID); in TEST_F()
205 const uint32_t bufferID = 4; in TEST_F() local
216 mFrameTracer->traceFence(layerId, bufferID, frameNumber, fenceTime, type); in TEST_F()
218 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
230 mFrameTracer->traceFence(layerId, bufferID, frameNumber, fenceTime, type); in TEST_F()
234 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
248 EXPECT_EQ(buffer_event.buffer_id(), bufferID); in TEST_F()
[all …]
/frameworks/av/media/libmedia/aidl/android/
DIOMXBufferSource.aidl51 void onInputBufferAdded(int bufferID); in onInputBufferAdded() argument
61 void onInputBufferEmptied(int bufferID, in OMXFenceParcelable fenceParcel); in onInputBufferEmptied() argument
/frameworks/rs/driver/
DrsdMeshObj.cpp153 if (drvAlloc->bufferID) { in renderPrimitiveRange()
154 mAttribs[ct].buffer = drvAlloc->bufferID; in renderPrimitiveRange()
172 if (drvAlloc->bufferID) { in renderPrimitiveRange()
173 RSD_CALL_GL(glBindBuffer, GL_ELEMENT_ARRAY_BUFFER, drvAlloc->bufferID); in renderPrimitiveRange()
DrsdAllocation.cpp232 if (!drv->bufferID) { in UploadToBufferObject()
233 RSD_CALL_GL(glGenBuffers, 1, &drv->bufferID); in UploadToBufferObject()
235 if (!drv->bufferID) { in UploadToBufferObject()
240 RSD_CALL_GL(glBindBuffer, drv->glTarget, drv->bufferID); in UploadToBufferObject()
540 if (drv->bufferID) { in rsdAllocationDestroy()
DrsdAllocation.h43 uint32_t bufferID; member
/frameworks/av/media/libstagefright/omx/include/media/stagefright/omx/1.0/
DWOmxBufferSource.h66 ::android::binder::Status onInputBufferAdded(int32_t bufferID) override;
68 int32_t bufferID, OMXFenceParcelable const& fenceParcel) override;
/frameworks/av/media/libmedia/include/media/omx/1.0/
DWOmxBufferSource.h66 ::android::binder::Status onInputBufferAdded(int32_t bufferID) override;
68 int32_t bufferID, OMXFenceParcelable const& fenceParcel) override;
/frameworks/av/media/tests/SampleVideoEncoder/app/src/main/java/com/android/media/samplevideoencoder/
DMediaCodecSurfaceEncoder.java272 int bufferID = element.first; in doWork() local
276 dequeueDecoderOutput(bufferID, info); in doWork()
279 enqueueDecoderInput(bufferID); in doWork()
296 int bufferID = element.first; in queueEOS() local
299 dequeueDecoderOutput(bufferID, info); in queueEOS()
/frameworks/av/media/libstagefright/include/
DACodecBufferChannel.h125 void fillThisBuffer(IOMX::buffer_id bufferID);
132 void drainThisBuffer(IOMX::buffer_id bufferID, OMX_U32 omxFlags);
/frameworks/native/libs/gui/include/gui/
DBufferQueue.h68 void onFrameDetached(const uint64_t bufferID) override;
/frameworks/av/media/libstagefright/
DACodec.cpp306 bool onOMXEmptyBufferDone(IOMX::buffer_id bufferID, int fenceFd);
309 IOMX::buffer_id bufferID,
1674 uint32_t portIndex, IOMX::buffer_id bufferID, ssize_t *index) { in findBufferByID() argument
1678 if (info->mBufferID == bufferID) { in findBufferByID()
1686 ALOGE("Could not find buffer with ID %u", bufferID); in findBufferByID()
6086 IOMX::buffer_id bufferID; in onOMXMessage() local
6089 CHECK(msg->findInt32("buffer", (int32_t*)&bufferID)); in onOMXMessage()
6092 return onOMXEmptyBufferDone(bufferID, fenceFd); in onOMXMessage()
6097 IOMX::buffer_id bufferID; in onOMXMessage() local
6098 CHECK(msg->findInt32("buffer", (int32_t*)&bufferID)); in onOMXMessage()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp276 uint64_t bufferID = mQueueItems[0].item.mGraphicBuffer->getId(); in updateTexImage() local
278 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferID, currentFrameNumber, latchTime, in updateTexImage()
/frameworks/av/media/libstagefright/include/media/stagefright/
DACodec.h357 uint32_t portIndex, IOMX::buffer_id bufferID,
/frameworks/base/rs/java/android/renderscript/
DRenderScript.java1347 long bufferID = ((long)rbuf[1] << 32L) + ((long)rbuf[0] & 0xffffffffL); in run() local
1348 Allocation.sendBufferNotification(bufferID); in run()