/frameworks/av/media/libstagefright/colorconversion/ |
SoftwareRenderer.cpp | 212 int fenceFd = -1; 213 int err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buf, &fenceFd); 214 if (err == 0 && fenceFd >= 0) { 215 info = mRenderTracker.updateInfoForDequeuedBuffer(buf, fenceFd, 0); 216 sp<Fence> fence = new Fence(fenceFd);
|
/frameworks/av/media/libstagefright/ |
OMXClient.cpp | 128 virtual status_t fillBuffer(node_id node, buffer_id buffer, int fenceFd); 134 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd); 388 status_t MuxOMX::fillBuffer(node_id node, buffer_id buffer, int fenceFd) { 389 return getOMX(node)->fillBuffer(node, buffer, fenceFd); 396 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 398 node, buffer, range_offset, range_length, flags, timestamp, fenceFd);
|
ACodec.cpp | 160 msg->setInt32("fence_fd", omx_msg.fenceFd); 181 "fence_fd", omx_msg.fenceFd); 248 bool onOMXEmptyBufferDone(IOMX::buffer_id bufferID, int fenceFd); 255 int fenceFd); 461 void ACodec::BufferInfo::setWriteFence(int fenceFd, const char *dbg) { 464 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); 466 mFenceFd = fenceFd; 470 void ACodec::BufferInfo::setReadFence(int fenceFd, const char *dbg) { 473 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); 475 mFenceFd = fenceFd; [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3OutputStream.cpp | 99 int fenceFd; 115 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd); 124 * FenceFD now owned by HAL except in case of error, 127 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
|
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 664 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync); 666 if (fenceFd == EGL_NO_NATIVE_FENCE_FD_ANDROID) { 671 sp<Fence> fence(new Fence(fenceFd)); 964 int fenceFd = mCurrentFence->dup(); 965 if (fenceFd == -1) { 970 EGL_SYNC_NATIVE_FENCE_FD_ANDROID, fenceFd, [all...] |
/frameworks/av/include/media/stagefright/ |
ACodec.h | 179 // Store |fenceFd| and set read/write flag. Log error, if there is already a fence stored. 180 void setReadFence(int fenceFd, const char *dbg); 181 void setWriteFence(int fenceFd, const char *dbg); 395 // |fenceFd| is the dequeue fence, and |info| points to the buffer info where this buffer is 398 ANativeWindowBuffer *buf, int fenceFd, BufferInfo *info);
|
/frameworks/av/media/libstagefright/omx/ |
GraphicBufferSource.h | 97 void codecBufferEmptied(OMX_BUFFERHEADERTYPE* header, int fenceFd);
|
GraphicBufferSource.cpp | 316 void GraphicBufferSource::codecBufferEmptied(OMX_BUFFERHEADERTYPE* header, int fenceFd) { 326 if (fenceFd >= 0) { 327 ::close(fenceFd); 350 if (fenceFd >= 0) { 351 ::close(fenceFd); 386 sp<Fence> fence = new Fence(fenceFd); 798 0 /* timestamp */, -1 /* fenceFd */); [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWComposer.h | 174 virtual void setAcquireFenceFd(int fenceFd) = 0;
|
HWComposer.cpp | [all...] |
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderUtils.cpp | 166 int fenceFd; 167 err = GrallocMod->Blit(GrallocMod, src, dest, w, h, 0, 0, 0, -1, &fenceFd); 169 sync_wait(fenceFd, -1); 170 close(fenceFd);
|
/hardware/intel/img/hwcomposer/merrifield/common/devices/ |
VirtualDevice.cpp | 59 static void my_close_fence(const char* func, const char* fenceName, int& fenceFd) 61 if (fenceFd != -1) { 62 ALOGV("%s: closing fence %s (fd=%d)", func, fenceName, fenceFd); 63 int err = close(fenceFd); 67 fenceFd = -1; 71 static void my_sync_wait_and_close(const char* func, const char* fenceName, int& fenceFd) 73 if (fenceFd != -1) { 74 ALOGV("%s: waiting on fence %s (fd=%d)", func, fenceName, fenceFd); 75 int err = sync_wait(fenceFd, 300); 79 my_close_fence(func, fenceName, fenceFd); [all...] |
/frameworks/native/opengl/libagl/ |
egl.cpp | 377 int fenceFd = -1; 379 &fenceFd) != NO_ERROR) { 384 sp<Fence> fence(new Fence(fenceFd)); 386 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); 538 int fenceFd = -1; 539 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, &fenceFd) == NO_ERROR) { 540 sp<Fence> fence(new Fence(fenceFd)); 542 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); [all...] |
/frameworks/native/services/surfaceflinger/ |
Layer.cpp | 567 int fenceFd = -1; 575 fenceFd = fence->dup(); 576 if (fenceFd == -1) { 581 layer.setAcquireFenceFd(fenceFd); [all...] |