/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield/ |
PlatfBufferManager.cpp | 60 int fenceFd; 67 destRect.y, 0, -1, &fenceFd)) { 73 sync_wait(fenceFd, -1); 75 close(fenceFd);
|
/hardware/intel/img/hwcomposer/merrifield/platforms/merrifield_plus/ |
PlatfBufferManager.cpp | 60 int fenceFd; 67 destRect.y, 0, -1, &fenceFd)) { 73 sync_wait(fenceFd, -1); 75 close(fenceFd);
|
/hardware/intel/img/hwcomposer/moorefield_hdmi/platforms/merrifield_plus/ |
PlatfBufferManager.cpp | 60 int fenceFd; 67 srcCrop.y, 0, -1, &fenceFd)) { 73 sync_wait(fenceFd, -1); 75 close(fenceFd);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3BufferManager.h | 125 status_t getBufferForStream(int streamId, int streamSetId, sp<GraphicBuffer>* gb, int* fenceFd); 174 int fenceFd); 197 int fenceFd; 200 fenceFd(fd) {}
|
Camera3InputStream.cpp | 63 int fenceFd; 78 fenceFd = bufferItem.mFence->dup(); 81 * FenceFD now owned by HAL except in case of error, 84 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
|
Camera3OutputStream.cpp | 158 int fenceFd = -1; 163 res = mBufferManager->getBufferForStream(getId(), getStreamSetId(), &gb, &fenceFd); 202 res = currentConsumer->dequeueBuffer(currentConsumer.get(), &anb, &fenceFd); 219 * FenceFD now owned by HAL except in case of error, 222 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd, 644 status_t Camera3OutputStream::detachBuffer(sp<GraphicBuffer>* buffer, int* fenceFd) { 668 if (fenceFd != nullptr) { 670 *fenceFd = fence->dup(); 672 *fenceFd = -1;
|
Camera3ZslStream.cpp | 151 int fenceFd; 173 fenceFd = bufferItem->getBufferItem().mFence->dup(); 176 * FenceFD now owned by HAL except in case of error, 179 handoutBufferLocked(*buffer, &(anb->handle), /*acquireFence*/fenceFd,
|
/frameworks/native/libs/gui/tests/ |
Surface_test.cpp | 194 int fenceFd; 197 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fenceFd)); 198 ASSERT_EQ(NO_ERROR, window->cancelBuffer(window.get(), buffer, fenceFd)); 214 ASSERT_EQ(NO_ERROR, window->dequeueBuffer(window.get(), &buffer, &fenceFd));
|
/frameworks/native/libs/ui/ |
GraphicBufferMapper.cpp | 108 int32_t fenceFd = -1; 109 status_t error = unlockAsync(handle, &fenceFd); 111 sync_wait(fenceFd, -1); 112 close(fenceFd); 118 uint32_t usage, const Rect& bounds, void** vaddr, int fenceFd) 123 sp<Fence> fence = new Fence(fenceFd); 158 uint32_t usage, const Rect& bounds, android_ycbcr *ycbcr, int fenceFd) 163 sp<Fence> fence = new Fence(fenceFd); 275 status_t GraphicBufferMapper::unlockAsync(buffer_handle_t handle, int *fenceFd) 286 *fenceFd = fence->dup() [all...] |
Gralloc1On0Adapter.cpp | 435 int fenceFd = -1; 437 &fenceFd); 439 close(fenceFd); 442 *outReleaseFence = new Fence(fenceFd);
|
Gralloc1.cpp | 266 int32_t fenceFd = -1; 267 int32_t intError = mFunctions.unlock(mDevice, buffer, &fenceFd); 270 *outFence = new Fence(fenceFd);
|
/frameworks/av/include/media/ |
IOMX.h | 167 // Calls OMX_FillBuffer on buffer, and passes |fenceFd| to component if it supports 168 // fences. Otherwise, it waits on |fenceFd| before calling OMX_FillBuffer. 169 // Takes ownership of |fenceFd| even if this call fails. 170 virtual status_t fillBuffer(node_id node, buffer_id buffer, int fenceFd = -1) = 0; 173 // |range_length|, |flags| and |timestamp|). Passes |fenceFd| to component if it 174 // supports fences. Otherwise, it waits on |fenceFd| before calling OMX_EmptyBuffer. 175 // Takes ownership of |fenceFd| even if this call fails. 180 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd = -1) = 0; 214 int fenceFd; // used for EMPTY_BUFFER_DONE and FILL_BUFFER_DONE; client must close this
|
/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);
|
/hardware/intel/common/libmix/videoencoder/ |
VideoEncoderUtils.cpp | 164 int fenceFd; 165 err = gAllocMod->perform(gAllocMod, GRALLOC_MODULE_BLIT_HANDLE_TO_HANDLE_IMG, src, dest, w, h, 0, 0, 0, -1, &fenceFd); 167 sync_wait(fenceFd, -1); 168 close(fenceFd);
|
/frameworks/base/media/jni/ |
android_media_ImageWriter.cpp | 177 sp<GraphicBuffer> buffer, int fenceFd); 179 GraphicBuffer** buffer, int* fenceFd); 328 int fenceFd = -1; 329 status_t res = anw->dequeueBuffer(anw.get(), &anb, &fenceFd); 354 Image_setNativeContext(env, image, buffer, fenceFd); 403 int fenceFd = -1; 404 Image_getNativeContext(env, image, &buffer, &fenceFd); 413 anw->cancelBuffer(anw.get(), buffer, fenceFd); 432 int fenceFd = -1; 433 Image_getNativeContext(env, image, &buffer, &fenceFd); [all...] |
android_media_ImageReader.cpp | 442 int fenceFd = -1; 444 res = buffer->mGraphicBuffer->unlockAsync(&fenceFd); 450 sp<Fence> releaseFence = new Fence(fenceFd);
|
/frameworks/av/media/libmedia/ |
IOMX.cpp | 552 virtual status_t fillBuffer(node_id node, buffer_id buffer, int fenceFd) { 557 data.writeInt32(fenceFd >= 0); 558 if (fenceFd >= 0) { 559 data.writeFileDescriptor(fenceFd, true /* takeOwnership */); 570 OMX_U32 flags, OMX_TICKS timestamp, int fenceFd) { 579 data.writeInt32(fenceFd >= 0); 580 if (fenceFd >= 0) { 581 data.writeFileDescriptor(fenceFd, true /* takeOwnership */); [all...] |
/frameworks/native/libs/gui/ |
GLConsumer.cpp | 703 int fenceFd = eglDupNativeFenceFDANDROID(dpy, sync); 705 if (fenceFd == EGL_NO_NATIVE_FENCE_FD_ANDROID) { 710 sp<Fence> fence(new Fence(fenceFd)); [all...] |
Surface.cpp | 177 ANativeWindowBuffer** buffer, int* fenceFd) { 179 return c->dequeueBuffer(buffer, fenceFd); 183 ANativeWindowBuffer* buffer, int fenceFd) { 185 return c->cancelBuffer(buffer, fenceFd); 189 ANativeWindowBuffer* buffer, int fenceFd) { 191 return c->queueBuffer(buffer, fenceFd); 198 int fenceFd = -1; 199 int result = c->dequeueBuffer(&buf, &fenceFd); 203 sp<Fence> fence(new Fence(fenceFd)); 266 int Surface::dequeueBuffer(android_native_buffer_t** buffer, int* fenceFd) { [all...] |
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
HWC2.cpp | 805 int32_t fenceFd = acquireFence->dup(); 807 fenceFd, static_cast<int32_t>(dataspace), {0, nullptr}); 828 int32_t fenceFd = releaseFence->dup(); 831 fenceFd); 832 close(fenceFd); 981 int32_t fenceFd = acquireFence->dup(); 983 mId, buffer, fenceFd); [all...] |
/frameworks/av/media/libstagefright/omx/ |
OMXNodeInstance.cpp | 81 #define EMPTY_BUFFER(addr, header, fenceFd) "%#x [%u@%p fc=%d]", \ 82 (addr), (header)->nAllocLen, (header)->pBuffer, (fenceFd) 83 #define FULL_BUFFER(addr, header, fenceFd) "%#" PRIxPTR " [%u@%p (%u..+%u) f=%x ts=%lld fc=%d]", \ 85 (header)->nOffset, (header)->nFilledLen, (header)->nFlags, (header)->nTimeStamp, (fenceFd) [all...] |
/frameworks/native/opengl/libagl/ |
egl.cpp | 373 int fenceFd = -1; 375 &fenceFd) != NO_ERROR) { 380 sp<Fence> fence(new Fence(fenceFd)); 382 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); 528 int fenceFd = -1; 529 if (nativeWindow->dequeueBuffer(nativeWindow, &buffer, &fenceFd) == NO_ERROR) { 530 sp<Fence> fence(new Fence(fenceFd)); 532 nativeWindow->cancelBuffer(nativeWindow, buffer, fenceFd); [all...] |
/frameworks/native/services/surfaceflinger/ |
Layer.cpp | 838 int fenceFd = -1; 846 fenceFd = fence->dup(); 847 if (fenceFd == -1) { 852 layer.setAcquireFenceFd(fenceFd); [all...] |
/frameworks/av/media/libstagefright/ |
ACodec.cpp | 163 msg->setInt32("fence_fd", omx_msg.fenceFd); 184 "fence_fd", omx_msg.fenceFd); 251 bool onOMXEmptyBufferDone(IOMX::buffer_id bufferID, int fenceFd); 258 int fenceFd); 464 void ACodec::BufferInfo::setWriteFence(int fenceFd, const char *dbg) { 467 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); 469 mFenceFd = fenceFd; 473 void ACodec::BufferInfo::setReadFence(int fenceFd, const char *dbg) { 476 mIsReadFence ? "read" : "write", mFenceFd, fenceFd, dbg); 478 mFenceFd = fenceFd; [all...] |