/libcore/luni/src/main/java/java/nio/ |
IoVec.java | 33 private final int bufferCount; 41 IoVec(ByteBuffer[] byteBuffers, int offset, int bufferCount, Direction direction) { 44 this.bufferCount = bufferCount; 46 this.ioBuffers = new Object[bufferCount]; 47 this.offsets = new int[bufferCount]; 48 this.byteCounts = new int[bufferCount]; 53 for (int i = 0; i < bufferCount; ++i) { 89 for (int i = 0; byteCount > 0 && i < bufferCount; ++i) {
|
/frameworks/native/include/gui/ |
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
|
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);
|
IGraphicBufferConsumer.h | 166 virtual status_t setDefaultMaxBufferCount(int bufferCount) = 0;
|
GLConsumer.h | 114 status_t setDefaultMaxBufferCount(int bufferCount);
|
IGraphicBufferProducer.h | 71 virtual status_t setBufferCount(int bufferCount) = 0;
|
Surface.h | 137 virtual int setBufferCount(int bufferCount);
|
/hardware/ti/omap4xxx/camera/inc/V4LCameraAdapter/ |
V4LCameraAdapter.h | 92 virtual status_t getPictureBufferSize(size_t &length, size_t bufferCount); 93 virtual status_t getFrameDataSize(size_t &dataFrameSize, size_t bufferCount);
|
/frameworks/av/services/camera/libcameraservice/device3/ |
Camera3Stream.cpp | 319 size_t bufferCount = getBufferCountLocked(); 322 buffers.insertAt(NULL, 0, bufferCount); 326 bufferSet.num_buffers = bufferCount; 330 streamBuffers.insertAt(camera3_stream_buffer_t(), 0, bufferCount); 340 for (; bufferIdx < bufferCount; bufferIdx++) { 354 if (bufferIdx == bufferCount) { 357 __FUNCTION__, bufferCount);
|
/frameworks/native/libs/gui/ |
BufferItemConsumer.cpp | 33 uint32_t consumerUsage, int bufferCount, bool controlledByApp) : 37 mConsumer->setMaxAcquiredBufferCount(bufferCount);
|
IGraphicBufferProducer.cpp | 69 virtual status_t setBufferCount(int bufferCount) 73 data.writeInt32(bufferCount); 192 int bufferCount = data.readInt32(); 193 int result = setBufferCount(bufferCount);
|
BufferQueue.cpp | 139 status_t BufferQueue::setBufferCount(int bufferCount) { 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; 290 ST_LOGE("dequeueBuffer: async mode is invalid with buffercount override"); 517 ST_LOGE("queueBuffer: async mode is invalid with buffercount override") [all...] |
IGraphicBufferConsumer.cpp | 285 virtual status_t setDefaultMaxBufferCount(int bufferCount) { 288 data.writeInt32(bufferCount); 429 uint32_t bufferCount = data.readInt32(); 430 status_t result = setDefaultMaxBufferCount(bufferCount);
|
/frameworks/av/media/libstagefright/ |
SurfaceMediaSource.cpp | 144 int32_t bufferCount = 0; 150 if (!params->findInt32(kKeyNumBuffers, &bufferCount)) { 155 if (bufferCount <= 1) { 156 ALOGE("bufferCount %d is too small", bufferCount); 160 mMaxAcquiredBufferCount = bufferCount;
|
/frameworks/av/libvideoeditor/lvpp/ |
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;
|
VideoEditorPlayer.h | 55 audio_format_t format, int bufferCount,
|
/frameworks/av/services/camera/libcameraservice/gui/ |
RingBufferConsumer.cpp | 39 int bufferCount) : 41 mBufferCount(bufferCount) 44 mConsumer->setMaxAcquiredBufferCount(bufferCount); 46 assert(bufferCount > 0);
|
RingBufferConsumer.h | 64 // bufferCount parameter specifies how many buffers can be pinned for user 67 int bufferCount = BufferQueue::MIN_UNDEQUEUED_BUFFERS);
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/utility/ |
TextUtilities.java | 376 int bufferCount = 0; 383 for (int i = 0; i < length && bufferCount < MAX_SNIPPET_LENGTH; i++) { 448 buffer[bufferCount++] = c; 453 if ((bufferCount > 0) && (last == ' ')) { 454 bufferCount--; 456 return new String(buffer, 0, bufferCount); [all...] |
/frameworks/av/media/libstagefright/omx/ |
GraphicBufferSource.h | 52 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount);
|
GraphicBufferSource.cpp | 36 uint32_t bufferWidth, uint32_t bufferHeight, uint32_t bufferCount) : 56 bufferWidth, bufferHeight, bufferCount); 72 mInitCheck = mBufferQueue->setMaxAcquiredBufferCount(bufferCount); 75 bufferCount, mInitCheck);
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
VirtualDisplaySurface.h | 98 virtual status_t setBufferCount(int bufferCount);
|
/hardware/ti/omap4xxx/camera/inc/ |
BaseCameraAdapter.h | 128 virtual status_t getFrameDataSize(size_t &dataFrameSize, size_t bufferCount); 131 virtual status_t getPictureBufferSize(size_t &length, size_t bufferCount);
|
/system/core/include/system/ |
window.h | 679 size_t bufferCount) 681 return window->perform(window, NATIVE_WINDOW_SET_BUFFER_COUNT, bufferCount);
|
/hardware/ti/omap4xxx/camera/ |
CameraHal.cpp | [all...] |