Home
last modified time | relevance | path

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

/frameworks/av/services/camera/libcameraservice/device3/
DCamera3InputStream.cpp210 int minUndequeuedBuffers = 0; in configureQueueLocked() local
211 res = producer->query(NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, &minUndequeuedBuffers); in configureQueueLocked()
212 if (res != OK || minUndequeuedBuffers < 0) { in configureQueueLocked()
214 __FUNCTION__, mId, res, minUndequeuedBuffers); in configureQueueLocked()
217 size_t minBufs = static_cast<size_t>(minUndequeuedBuffers); in configureQueueLocked()
/frameworks/base/core/jni/
Dandroid_hardware_camera2_legacy_LegacyCameraDevice.cpp123 int minUndequeuedBuffers; in configureSurface() local
126 &minUndequeuedBuffers); in configureSurface()
134 maxBufferSlack + 1 + minUndequeuedBuffers, in configureSurface()
136 err = native_window_set_buffer_count(anw.get(), maxBufferSlack + 1 + minUndequeuedBuffers); in configureSurface()
/frameworks/native/libs/gui/tests/
DCpuConsumer_test.cpp468 int minUndequeuedBuffers; in configureANW() local
471 &minUndequeuedBuffers); in configureANW()
475 maxBufferSlack + 1 + minUndequeuedBuffers); in configureANW()
477 maxBufferSlack + 1 + minUndequeuedBuffers); in configureANW()
/frameworks/av/media/libstagefright/
DACodec.cpp619 OMX_U32 *minUndequeuedBuffers) { in configureOutputBuffersFromNativeWindow() argument
727 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
733 *minUndequeuedBuffers = 0; in configureOutputBuffersFromNativeWindow()
736 (int *)minUndequeuedBuffers); in configureOutputBuffersFromNativeWindow()
758 def.nBufferCountMin + *minUndequeuedBuffers + extraBuffers; in configureOutputBuffersFromNativeWindow()
764 *minUndequeuedBuffers += extraBuffers; in configureOutputBuffersFromNativeWindow()
791 OMX_U32 bufferCount, bufferSize, minUndequeuedBuffers; in allocateOutputBuffersFromNativeWindow() local
793 &bufferCount, &bufferSize, &minUndequeuedBuffers); in allocateOutputBuffersFromNativeWindow()
796 mNumUndequeuedBuffers = minUndequeuedBuffers; in allocateOutputBuffersFromNativeWindow()
844 cancelStart = bufferCount - minUndequeuedBuffers; in allocateOutputBuffersFromNativeWindow()
[all …]