/frameworks/native/include/gui/ |
H A D | BufferItemConsumer.h | 52 // bufferCount parameter specifies how many buffers can be locked for user 57 int bufferCount = BufferQueue::MIN_UNDEQUEUED_BUFFERS, 72 // the construction-time bufferCount parameter. If INVALID_OPERATION is
|
H A D | BufferQueue.h | 105 // bufferCount is invalid. bufferCount must generally be a value 114 virtual status_t setBufferCount(int bufferCount); 279 virtual status_t setDefaultMaxBufferCount(int bufferCount);
|
H A D | IGraphicBufferConsumer.h | 166 virtual status_t setDefaultMaxBufferCount(int bufferCount) = 0;
|
H A D | GLConsumer.h | 114 status_t setDefaultMaxBufferCount(int bufferCount);
|
H A D | IGraphicBufferProducer.h | 71 virtual status_t setBufferCount(int bufferCount) = 0;
|
H A D | Surface.h | 137 virtual int setBufferCount(int bufferCount);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Stream.cpp | 319 size_t bufferCount = getBufferCountLocked(); local 322 buffers.insertAt(NULL, 0, bufferCount); 326 bufferSet.num_buffers = bufferCount; 330 streamBuffers.insertAt(camera3_stream_buffer_t(), 0, bufferCount); local 340 for (; bufferIdx < bufferCount; bufferIdx++) { 354 if (bufferIdx == bufferCount) { 357 __FUNCTION__, bufferCount);
|
/frameworks/native/libs/gui/ |
H A D | BufferItemConsumer.cpp | 33 uint32_t consumerUsage, int bufferCount, bool controlledByApp) : 37 mConsumer->setMaxAcquiredBufferCount(bufferCount); 32 BufferItemConsumer(const sp<BufferQueue>& bq, uint32_t consumerUsage, int bufferCount, bool controlledByApp) argument
|
H A D | BufferQueue.cpp | 139 status_t BufferQueue::setBufferCount(int bufferCount) { argument 140 ST_LOGV("setBufferCount: count=%d", bufferCount); 150 if (bufferCount > NUM_BUFFER_SLOTS) { 151 ST_LOGE("setBufferCount: bufferCount too large (max %d)", 164 if (bufferCount == 0) { 172 if (bufferCount < minBufferSlots) { 174 "minimum (%d)", bufferCount, minBufferSlots); 182 mOverrideMaxBufferCount = bufferCount; 1131 status_t BufferQueue::setDefaultMaxBufferCount(int bufferCount) { argument 1134 return setDefaultMaxBufferCountLocked(bufferCount); [all...] |
H A D | IGraphicBufferProducer.cpp | 69 virtual status_t setBufferCount(int bufferCount) argument 73 data.writeInt32(bufferCount); 192 int bufferCount = data.readInt32(); local 193 int result = setBufferCount(bufferCount);
|
H A D | IGraphicBufferConsumer.cpp | 285 virtual status_t setDefaultMaxBufferCount(int bufferCount) { argument 288 data.writeInt32(bufferCount); 429 uint32_t bufferCount = data.readInt32(); local 430 status_t result = setDefaultMaxBufferCount(bufferCount);
|
H A D | Surface.cpp | 432 size_t bufferCount = va_arg(args, size_t); local 433 return setBufferCount(bufferCount); 558 int Surface::setBufferCount(int bufferCount) argument 564 status_t err = mGraphicBufferProducer->setBufferCount(bufferCount); 566 bufferCount, strerror(-err));
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceMediaSource.cpp | 144 int32_t bufferCount = 0; local 150 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) { 155 if (bufferCount <= 1) { 156 ALOGE("bufferCount %d is too small", bufferCount); 160 mMaxAcquiredBufferCount = bufferCount;
|
H A D | ACodec.cpp | 564 OMX_U32 *bufferCount, OMX_U32 *bufferSize, 666 *bufferCount = def.nBufferCountActual; 672 OMX_U32 bufferCount, bufferSize, minUndequeuedBuffers; local 674 &bufferCount, &bufferSize, &minUndequeuedBuffers); 680 mComponentName.c_str(), bufferCount, bufferSize); 683 for (OMX_U32 i = 0; i < bufferCount; i++) { 724 cancelStart = bufferCount - minUndequeuedBuffers; 725 cancelEnd = bufferCount; 737 OMX_U32 bufferCount, bufferSize, minUndequeuedBuffers; local 739 &bufferCount, 563 configureOutputBuffersFromNativeWindow( OMX_U32 *bufferCount, OMX_U32 *bufferSize, OMX_U32 *minUndequeuedBuffers) argument [all...] |
/frameworks/av/libvideoeditor/lvpp/ |
H A D | VideoEditorPlayer.cpp | 393 audio_format_t format, int bufferCount, 400 // Check argument "bufferCount" against the mininum buffer count 401 if (bufferCount < mMinBufferCount) { 402 ALOGV("bufferCount (%d) is too small and increased to %d", 403 bufferCount, mMinBufferCount); 404 bufferCount = mMinBufferCount; 407 ALOGV("open(%u, %d, %d, %d)", sampleRate, channelCount, format, bufferCount); 422 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate; 391 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
|
H A D | VideoEditorPlayer.h | 55 audio_format_t format, int bufferCount,
|
/frameworks/av/services/camera/libcameraservice/gui/ |
H A D | RingBufferConsumer.cpp | 39 int bufferCount) : 41 mBufferCount(bufferCount) 44 mConsumer->setMaxAcquiredBufferCount(bufferCount); 46 assert(bufferCount > 0); 37 RingBufferConsumer(const sp<IGraphicBufferConsumer>& consumer, uint32_t consumerUsage, int bufferCount) argument
|
H A D | RingBufferConsumer.h | 64 // bufferCount parameter specifies how many buffers can be pinned for user 67 int bufferCount = BufferQueue::MIN_UNDEQUEUED_BUFFERS);
|
/frameworks/av/media/libstagefright/omx/ |
H A D | GraphicBufferSource.h | 52 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount);
|
H A D | GraphicBufferSource.cpp | 36 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount) : 56 bufferWidth, bufferHeight, bufferCount); 72 mInitCheck = mBufferQueue->setMaxAcquiredBufferCount(bufferCount); 75 bufferCount, mInitCheck); 35 GraphicBufferSource(OMXNodeInstance* nodeInstance, uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount) argument
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
H A D | VirtualDisplaySurface.h | 98 virtual status_t setBufferCount(int bufferCount);
|
H A D | VirtualDisplaySurface.cpp | 260 status_t VirtualDisplaySurface::setBufferCount(int bufferCount) { argument 261 return mSource[SOURCE_SINK]->setBufferCount(bufferCount);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1435 audio_format_t format, int bufferCount, 1443 // Check argument "bufferCount" against the mininum buffer count 1444 if (bufferCount < mMinBufferCount) { 1445 ALOGD("bufferCount (%d) is too small and increased to %d", bufferCount, mMinBufferCount); 1446 bufferCount = mMinBufferCount; 1450 format, bufferCount, mSessionId, flags); 1475 frameCount = (sampleRate*afFrameCount*bufferCount)/afSampleRate; 1921 audio_format_t format, int bufferCount, 1925 ALOGV("open(%u, %d, 0x%x, %d, %d)", sampleRate, channelCount, channelMask, format, bufferCount); 1433 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 1919 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 [all...] |
H A D | MediaPlayerService.h | 93 audio_format_t format, int bufferCount, 203 audio_format_t format, int bufferCount = 1,
|
/frameworks/av/include/media/ |
H A D | MediaPlayerInterface.h | 110 int bufferCount=DEFAULT_AUDIOSINK_BUFFERCOUNT,
|