Searched defs:bufferCount (Results 1 - 17 of 17) sorted by relevance

/frameworks/native/libs/gui/
H A DBufferItemConsumer.cpp34 int bufferCount, bool controlledByApp) :
40 if (bufferCount != DEFAULT_MAX_BUFFERS) {
41 err = mConsumer->setMaxAcquiredBufferCount(bufferCount);
43 "Failed to set max acquired buffer count to %d", bufferCount);
32 BufferItemConsumer( const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, int bufferCount, bool controlledByApp) argument
H A DBufferQueueConsumer.cpp439 status_t BufferQueueConsumer::setDefaultMaxBufferCount(int bufferCount) { argument
442 return mCore->setDefaultMaxBufferCountLocked(bufferCount);
H A DIGraphicBufferConsumer.cpp322 virtual status_t setDefaultMaxBufferCount(int bufferCount) { argument
325 data.writeInt32(bufferCount);
497 uint32_t bufferCount = data.readInt32(); local
498 status_t result = setDefaultMaxBufferCount(bufferCount);
H A DIGraphicBufferProducer.cpp80 virtual status_t setBufferCount(int bufferCount) argument
84 data.writeInt32(bufferCount);
295 int bufferCount = data.readInt32(); local
296 int result = setBufferCount(bufferCount);
H A DBufferQueueProducer.cpp75 status_t BufferQueueProducer::setBufferCount(int bufferCount) { argument
77 BQ_LOGV("setBufferCount: count = %d", bufferCount);
89 if (bufferCount > BufferQueueDefs::NUM_BUFFER_SLOTS) {
90 BQ_LOGE("setBufferCount: bufferCount %d too large (max %d)",
91 bufferCount, BufferQueueDefs::NUM_BUFFER_SLOTS);
103 if (bufferCount == 0) {
110 if (bufferCount < minBufferSlots) {
112 "minimum %d", bufferCount, minBufferSlots);
121 mCore->mOverrideMaxBufferCount = bufferCount;
H A DGLConsumer.cpp173 status_t GLConsumer::setDefaultMaxBufferCount(int bufferCount) { argument
175 return mConsumer->setDefaultMaxBufferCount(bufferCount);
H A DSurface.cpp479 size_t bufferCount = va_arg(args, size_t); local
480 return setBufferCount(bufferCount);
625 int Surface::setBufferCount(int bufferCount) argument
631 status_t err = mGraphicBufferProducer->setBufferCount(bufferCount);
633 bufferCount, strerror(-err));
/frameworks/native/libs/gui/tests/
H A DBufferQueue_test.cpp54 void GetMinUndequeuedBufferCount(int* bufferCount) { argument
55 ASSERT_TRUE(bufferCount != NULL);
57 bufferCount));
58 ASSERT_GE(*bufferCount, 0);
/frameworks/av/media/libstagefright/
H A DSurfaceMediaSource.cpp149 int32_t bufferCount = 0; local
155 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) {
160 if (bufferCount <= 1) {
161 ALOGE("bufferCount %d is too small", bufferCount);
165 mMaxAcquiredBufferCount = bufferCount;
H A DACodec.cpp618 OMX_U32 *bufferCount, OMX_U32 *bufferSize,
728 *bufferCount = 0;
785 *bufferCount = def.nBufferCountActual;
791 OMX_U32 bufferCount, bufferSize, minUndequeuedBuffers; local
793 &bufferCount, &bufferSize, &minUndequeuedBuffers);
800 mComponentName.c_str(), bufferCount, bufferSize);
803 for (OMX_U32 i = 0; i < bufferCount; i++) {
844 cancelStart = bufferCount - minUndequeuedBuffers;
845 cancelEnd = bufferCount;
860 OMX_U32 bufferCount, bufferSiz local
617 configureOutputBuffersFromNativeWindow( OMX_U32 *bufferCount, OMX_U32 *bufferSize, OMX_U32 *minUndequeuedBuffers) argument
[all...]
/frameworks/av/media/libstagefright/omx/
H A DGraphicBufferSource.cpp40 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount,
67 bufferWidth, bufferHeight, bufferCount);
82 mInitCheck = mConsumer->setMaxAcquiredBufferCount(bufferCount);
85 bufferCount, mInitCheck);
39 GraphicBufferSource(OMXNodeInstance* nodeInstance, uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount, bool useGraphicBufferInMeta) argument
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp427 size_t bufferCount = getBufferCountLocked(); local
430 buffers.insertAt(/*prototype_item*/NULL, /*index*/0, bufferCount);
434 bufferSet.num_buffers = bufferCount;
438 streamBuffers.insertAt(camera3_stream_buffer_t(), /*index*/0, bufferCount); local
448 for (; bufferIdx < bufferCount; bufferIdx++) {
462 if (bufferIdx == bufferCount) {
465 __FUNCTION__, bufferCount);
H A DCamera3ZslStream.cpp114 int bufferCount) :
118 mDepth(bufferCount) {
123 mProducer = new RingBufferConsumer(consumer, GRALLOC_USAGE_HW_CAMERA_ZSL, bufferCount);
113 Camera3ZslStream(int id, uint32_t width, uint32_t height, int bufferCount) argument
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp42 int bufferCount) :
44 mBufferCount(bufferCount),
48 mConsumer->setMaxAcquiredBufferCount(bufferCount);
50 assert(bufferCount > 0);
40 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, int bufferCount) argument
/frameworks/native/services/surfaceflinger/
H A DMonitoredProducer.cpp59 status_t MonitoredProducer::setBufferCount(int bufferCount) { argument
60 return mProducer->setBufferCount(bufferCount);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DVirtualDisplaySurface.cpp282 status_t VirtualDisplaySurface::setBufferCount(int bufferCount) { argument
283 return mSource[SOURCE_SINK]->setBufferCount(bufferCount);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1558 audio_format_t format, int bufferCount,
1566 // Check argument "bufferCount" against the mininum buffer count
1567 if (bufferCount < mMinBufferCount) {
1568 ALOGD("bufferCount (%d) is too small and increased to %d", bufferCount, mMinBufferCount);
1569 bufferCount = mMinBufferCount;
1573 format, bufferCount, mSessionId, flags);
1598 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate;
2066 audio_format_t format, int bufferCount,
2070 ALOGV("open(%u, %d, 0x%x, %d, %d)", sampleRate, channelCount, channelMask, format, bufferCount);
1556 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t flags, const audio_offload_info_t *offloadInfo) argument
2064 open( uint32_t sampleRate, int channelCount, audio_channel_mask_t channelMask, audio_format_t format, int bufferCount, AudioCallback cb, void *cookie, audio_output_flags_t , const audio_offload_info_t* ) argument
[all...]

Completed in 167 milliseconds