Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp245 int minUndequeuedBuffers = 0; in configureQueueLocked() local
246 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked()
247 if (res != OK || minUndequeuedBuffers < 0) { in configureQueueLocked()
249 __FUNCTION__, mId, res, minUndequeuedBuffers); in configureQueueLocked()
252 size_t minBufs = static_cast<size_t>(minUndequeuedBuffers); in configureQueueLocked()
/frameworks/native/libs/vr/libbufferhubqueue/tests/
Dbuffer_hub_queue_producer-test.cpp380 int minUndequeuedBuffers; in TEST_F() local
382 &minUndequeuedBuffers)); in TEST_F()
386 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
423 int minUndequeuedBuffers; in TEST_F() local
425 &minUndequeuedBuffers)); in TEST_F()
429 BufferQueueDefs::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_F()
522 int minUndequeuedBuffers; in TEST_F() local
524 &minUndequeuedBuffers)); in TEST_F()
528 int maxCapacity = maxDequeuedBuffers + minUndequeuedBuffers; in TEST_F()
/frameworks/native/libs/gui/tests/
DIGraphicBufferProducer_test.cpp789 int minUndequeuedBuffers; in TEST_P() local
791 &minUndequeuedBuffers)); in TEST_P()
794 const int maxBuffers = BufferQueue::NUM_BUFFER_SLOTS - minUndequeuedBuffers; in TEST_P()
839 int minUndequeuedBuffers; in TEST_P() local
841 &minUndequeuedBuffers)); in TEST_P()
844 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()
DBLASTBufferQueue_test.cpp401 int minUndequeuedBuffers = 0; in TEST_F() local
402 ASSERT_EQ(OK, igbProducer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers)); in TEST_F()
403 const auto bufferCount = minUndequeuedBuffers + 2; in TEST_F()
/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.cpp770 int minUndequeuedBuffers = 0; in handleSetSurface() local
773 &minUndequeuedBuffers); in handleSetSurface()
779 if (minUndequeuedBuffers > (int)mNumUndequeuedBuffers) { in handleSetSurface()
781 minUndequeuedBuffers, mNumUndequeuedBuffers); in handleSetSurface()
1139 OMX_U32 *minUndequeuedBuffers, bool preregister) { in configureOutputBuffersFromNativeWindow() argument
1169 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
1175 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
1178 (int *)minUndequeuedBuffers); in configureOutputBuffersFromNativeWindow()
1200 def.nBufferCountMin + *minUndequeuedBuffers + extraBuffers; in configureOutputBuffersFromNativeWindow()
1206 *minUndequeuedBuffers += extraBuffers; in configureOutputBuffersFromNativeWindow()
[all …]
/frameworks/native/libs/gui/
DSurface.cpp2052 int minUndequeuedBuffers = 0; in setBufferCount() local
2054 NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in setBufferCount()
2057 bufferCount - minUndequeuedBuffers); in setBufferCount()