Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp236 int minUndequeuedBuffers = 0; in configureQueueLocked() local
237 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked()
238 if (res != OK || minUndequeuedBuffers < 0) { in configureQueueLocked()
240 __FUNCTION__, mId, res, minUndequeuedBuffers); in configureQueueLocked()
243 size_t minBufs = static_cast<size_t>(minUndequeuedBuffers); in configureQueueLocked()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp382 int minUndequeuedBuffers; in TEST_F() local
384 &minUndequeuedBuffers)); in TEST_F()
388 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
426 int minUndequeuedBuffers; in TEST_F() local
428 &minUndequeuedBuffers)); in TEST_F()
432 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
526 int minUndequeuedBuffers; in TEST_F() local
528 &minUndequeuedBuffers)); in TEST_F()
532 int maxCapacity = maxDequeuedBuffers + minUndequeuedBuffers; in TEST_F()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp532 int minUndequeuedBuffers; in TEST_P() local
534 &minUndequeuedBuffers)); in TEST_P()
537 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P()
584 int minUndequeuedBuffers; in TEST_P() local
586 &minUndequeuedBuffers)); in TEST_P()
589 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P()
DCpuConsumer_test.cpp462 int minUndequeuedBuffers; in configureANW() local
465 &minUndequeuedBuffers); in configureANW()
469 maxBufferSlack + 1 + minUndequeuedBuffers); in configureANW()
471 maxBufferSlack + 1 + minUndequeuedBuffers); in configureANW()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp131 int minUndequeuedBuffers; in connectSurface() local
133 NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in connectSurface()
142 maxBufferSlack + 1 + minUndequeuedBuffers); in connectSurface()
143 err = native_window_set_buffer_count(surface.get(), maxBufferSlack + 1 + minUndequeuedBuffers); in connectSurface()
/frameworks/av/media/libstagefright/
DMediaSync.cpp225 int minUndequeuedBuffers; in createInputSurface() local
226 mOutput->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in createInputSurface()
227 mMaxAcquiredBufferCount = minUndequeuedBuffers; in createInputSurface()
DACodec.cpp756 int minUndequeuedBuffers = 0; in handleSetSurface() local
759 &minUndequeuedBuffers); in handleSetSurface()
765 if (minUndequeuedBuffers > (int)mNumUndequeuedBuffers) { in handleSetSurface()
767 minUndequeuedBuffers, mNumUndequeuedBuffers); in handleSetSurface()
1122 OMX_U32 *minUndequeuedBuffers, bool preregister) { in configureOutputBuffersFromNativeWindow() argument
1150 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
1156 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
1159 (int *)minUndequeuedBuffers); in configureOutputBuffersFromNativeWindow()
1181 def.nBufferCountMin + *minUndequeuedBuffers + extraBuffers; in configureOutputBuffersFromNativeWindow()
1187 *minUndequeuedBuffers += extraBuffers; in configureOutputBuffersFromNativeWindow()
[all …]
/frameworks/native/libs/gui/
DSurface.cpp1372 int minUndequeuedBuffers = 0; in setBufferCount() local
1374 NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in setBufferCount()
1377 bufferCount - minUndequeuedBuffers); in setBufferCount()