Searched refs:bufferCount (Results 1 - 25 of 26) sorted by relevance

12

/frameworks/native/include/gui/
H A DBufferItemConsumer.h52 // 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 DBufferQueue.h105 // 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 DIGraphicBufferConsumer.h166 virtual status_t setDefaultMaxBufferCount(int bufferCount) = 0;
H A DGLConsumer.h114 status_t setDefaultMaxBufferCount(int bufferCount);
H A DIGraphicBufferProducer.h71 virtual status_t setBufferCount(int bufferCount) = 0;
H A DSurface.h137 virtual int setBufferCount(int bufferCount);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp319 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 DBufferItemConsumer.cpp33 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 DBufferQueue.cpp139 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 DIGraphicBufferProducer.cpp69 virtual status_t setBufferCount(int bufferCount) argument
73 data.writeInt32(bufferCount);
192 int bufferCount = data.readInt32(); local
193 int result = setBufferCount(bufferCount);
H A DIGraphicBufferConsumer.cpp285 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 DSurface.cpp432 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 DSurfaceMediaSource.cpp144 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 DACodec.cpp564 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 DVideoEditorPlayer.cpp393 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 DVideoEditorPlayer.h55 audio_format_t format, int bufferCount,
/frameworks/av/services/camera/libcameraservice/gui/
H A DRingBufferConsumer.cpp39 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 DRingBufferConsumer.h64 // 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 DGraphicBufferSource.h52 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount);
H A DGraphicBufferSource.cpp36 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 DVirtualDisplaySurface.h98 virtual status_t setBufferCount(int bufferCount);
H A DVirtualDisplaySurface.cpp260 status_t VirtualDisplaySurface::setBufferCount(int bufferCount) { argument
261 return mSource[SOURCE_SINK]->setBufferCount(bufferCount);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1435 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 DMediaPlayerService.h93 audio_format_t format, int bufferCount,
203 audio_format_t format, int bufferCount = 1,
/frameworks/av/include/media/
H A DMediaPlayerInterface.h110 int bufferCount=DEFAULT_AUDIOSINK_BUFFERCOUNT,

Completed in 710 milliseconds

12