Home
last modified time | relevance | path

Searched refs:bufferCount (Results 1 – 15 of 15) sorted by relevance

/frameworks/native/libs/gui/
DBufferQueue.cpp84 BufferQueue::BufferQueue( bool allowSynchronousMode, int bufferCount ) : in BufferQueue() argument
88 mMinUndequeuedBuffers(bufferCount), in BufferQueue()
89 mMinAsyncBufferSlots(bufferCount + 1), in BufferQueue()
90 mMinSyncBufferSlots(bufferCount), in BufferQueue()
119 status_t BufferQueue::setBufferCountServerLocked(int bufferCount) { in setBufferCountServerLocked() argument
120 if (bufferCount > NUM_BUFFER_SLOTS) in setBufferCountServerLocked()
124 if (bufferCount == mBufferCount) in setBufferCountServerLocked()
128 bufferCount >= mBufferCount) { in setBufferCountServerLocked()
130 mBufferCount = bufferCount; in setBufferCountServerLocked()
131 mServerBufferCount = bufferCount; in setBufferCountServerLocked()
[all …]
DISurfaceTexture.cpp71 virtual status_t setBufferCount(int bufferCount) in setBufferCount() argument
75 data.writeInt32(bufferCount); in setBufferCount()
196 int bufferCount = data.readInt32(); in onTransact() local
197 int result = setBufferCount(bufferCount); in onTransact()
DSurfaceTextureClient.cpp391 size_t bufferCount = va_arg(args, size_t); in dispatchSetBufferCount() local
392 return setBufferCount(bufferCount); in dispatchSetBufferCount()
515 int SurfaceTextureClient::setBufferCount(int bufferCount) in setBufferCount() argument
521 status_t err = mSurfaceTexture->setBufferCount(bufferCount); in setBufferCount()
523 bufferCount, strerror(-err)); in setBufferCount()
DSurfaceTexture.cpp164 status_t SurfaceTexture::setBufferCountServer(int bufferCount) { in setBufferCountServer() argument
166 return mBufferQueue->setBufferCountServer(bufferCount); in setBufferCountServer()
/frameworks/native/include/gui/
DBufferQueue.h99 BufferQueue( bool allowSynchronousMode = true, int bufferCount = MIN_UNDEQUEUED_BUFFERS);
107 virtual status_t setBufferCount(int bufferCount);
240 status_t setBufferCountServer(int bufferCount);
283 status_t setBufferCountServerLocked(int bufferCount);
DISurfaceTexture.h59 virtual status_t setBufferCount(int bufferCount) = 0;
DSurfaceTexture.h97 status_t setBufferCountServer(int bufferCount);
DSurfaceTextureClient.h99 virtual int setBufferCount(int bufferCount);
/frameworks/av/libvideoeditor/lvpp/
DVideoEditorPlayer.cpp394 audio_format_t format, int bufferCount, in open() argument
401 if (bufferCount < mMinBufferCount) { in open()
403 bufferCount, mMinBufferCount); in open()
404 bufferCount = mMinBufferCount; in open()
407 ALOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount); in open()
422 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate; in open()
DVideoEditorPlayer.h54 audio_format_t format, int bufferCount,
/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp1509 audio_format_t format, int bufferCount, in open() argument
1517 if (bufferCount < mMinBufferCount) { in open()
1518 ALOGD("bufferCount (%d) is too small and increased to %d", bufferCount, mMinBufferCount); in open()
1519 bufferCount = mMinBufferCount; in open()
1523 format, bufferCount, mSessionId); in open()
1535 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate; in open()
1910 audio_format_t format, int bufferCount, in open() argument
1913 ALOGV("open(%u, %d, 0x%x, %d, %d)", sampleRate, channelCount, channelMask, format, bufferCount); in open()
DMediaPlayerService.h93 audio_format_t format, int bufferCount,
194 audio_format_t format, int bufferCount = 1,
/frameworks/av/include/media/
DMediaPlayerInterface.h102 int bufferCount=DEFAULT_AUDIOSINK_BUFFERCOUNT,
/frameworks/av/media/libmedia/
DIAudioFlinger.cpp702 size_t bufferCount = data.readInt32(); in onTransact() local
711 channelCount, bufferCount, flags, buffer, output, tid, &sessionId, &status); in onTransact()
724 size_t bufferCount = data.readInt32(); in onTransact() local
729 sampleRate, format, channelCount, bufferCount, flags, &sessionId, &status); in onTransact()
/frameworks/av/services/camera/tests/CameraServiceTest/
DCameraServiceTest.cpp313 virtual status_t setBufferCount(int bufferCount);
355 status_t MSurface::setBufferCount(int bufferCount) { in setBufferCount() argument