Home
last modified time | relevance | path

Searched refs:minUndequeuedBuffers (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp229 int minUndequeuedBuffers = 0; in configureQueueLocked() local
230 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked()
231 if (res != OK || minUndequeuedBuffers < 0) { in configureQueueLocked()
233 __FUNCTION__, mId, res, minUndequeuedBuffers); in configureQueueLocked()
236 size_t minBufs = static_cast<size_t>(minUndequeuedBuffers); in configureQueueLocked()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp497 int minUndequeuedBuffers; in TEST_F() local
499 &minUndequeuedBuffers)); in TEST_F()
502 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
550 int minUndequeuedBuffers; in TEST_F() local
552 &minUndequeuedBuffers)); in TEST_F()
555 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
DCpuConsumer_test.cpp466 int minUndequeuedBuffers; in configureANW() local
469 &minUndequeuedBuffers); in configureANW()
473 maxBufferSlack + 1 + minUndequeuedBuffers); in configureANW()
475 maxBufferSlack + 1 + minUndequeuedBuffers); in configureANW()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp114 int minUndequeuedBuffers; in connectSurface() local
116 NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in connectSurface()
124 maxBufferSlack + 1 + minUndequeuedBuffers); in connectSurface()
125 err = native_window_set_buffer_count(surface.get(), maxBufferSlack + 1 + minUndequeuedBuffers); in connectSurface()
/frameworks/av/media/libstagefright/
DMediaSync.cpp222 int minUndequeuedBuffers; in createInputSurface() local
223 mOutput->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in createInputSurface()
224 mMaxAcquiredBufferCount = minUndequeuedBuffers; in createInputSurface()
DACodec.cpp694 int minUndequeuedBuffers = 0; in handleSetSurface() local
697 &minUndequeuedBuffers); in handleSetSurface()
703 if (minUndequeuedBuffers > (int)mNumUndequeuedBuffers) { in handleSetSurface()
705 minUndequeuedBuffers, mNumUndequeuedBuffers); in handleSetSurface()
999 OMX_U32 *minUndequeuedBuffers, bool preregister) { in configureOutputBuffersFromNativeWindow() argument
1026 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
1032 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
1035 (int *)minUndequeuedBuffers); in configureOutputBuffersFromNativeWindow()
1057 def.nBufferCountMin + *minUndequeuedBuffers + extraBuffers; in configureOutputBuffersFromNativeWindow()
1063 *minUndequeuedBuffers += extraBuffers; in configureOutputBuffersFromNativeWindow()
[all …]
/frameworks/native/libs/gui/
DSurface.cpp971 int minUndequeuedBuffers = 0; in setBufferCount() local
973 NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in setBufferCount()
976 bufferCount - minUndequeuedBuffers); in setBufferCount()