/packages/apps/Camera2/src/com/android/camera/one/v2/sharedimagereader/ringbuffer/ |
DynamicRingBufferFactory.java | 17 package com.android.camera.one.v2.sharedimagereader.ringbuffer; 47 final DynamicRingBuffer ringBuffer = new DynamicRingBuffer(rootTicketPool); 48 lifetime.add(ringBuffer); 52 ringBuffer.setMaxSize(Math.max(0, maxRingBufferSize.get())); 55 ringBuffer.setMaxSize(Math.max(0, maxRingBufferSize.get())); 57 mOutputTicketPool = ringBuffer; 58 mRingBufferInput = ringBuffer; 59 mRingBufferOutput = ringBuffer;
|
AvailableTicketCounter.java | 17 package com.android.camera.one.v2.sharedimagereader.ringbuffer;
|
DynamicRingBuffer.java | 17 package com.android.camera.one.v2.sharedimagereader.ringbuffer;
|
/external/deqp/framework/delibs/destream/ |
deRingbuffer.c | 21 * \brief Thread safe ringbuffer 54 deRingbuffer* ringbuffer = (deRingbuffer*)deCalloc(sizeof(deRingbuffer)); local 56 DE_ASSERT(ringbuffer); 60 ringbuffer->blockSize = blockSize; 61 ringbuffer->blockCount = blockCount; 62 ringbuffer->buffer = (deUint8*)deMalloc(sizeof(deUint8) * (size_t)blockSize * (size_t)blockCount); 63 ringbuffer->blockUsage = (deInt32*)deMalloc(sizeof(deUint32) * (size_t)blockCount); 64 ringbuffer->emptyCount = deSemaphore_create(ringbuffer->blockCount, DE_NULL); 65 ringbuffer->fullCount = deSemaphore_create(0, DE_NULL) 115 deRingbuffer* ringbuffer = (deRingbuffer*)stream; local 167 deRingbuffer* ringbuffer = (deRingbuffer*)stream; local 197 deRingbuffer* ringbuffer = (deRingbuffer*)stream; local [all...] |
deThreadStream.c | 31 deRingbuffer* ringbuffer; member in struct:deThreadInStream_s 41 deRingbuffer* ringbuffer; member in struct:deThreadOutStream_s 78 deRingbuffer_stop(threadStream->ringbuffer); 110 deRingbuffer_stop(threadStream->ringbuffer); 118 deRingbuffer_destroy(threadStream->ringbuffer); 139 threadStream->ringbuffer = deRingbuffer_create(ringbufferBlockSize, ringbufferBlockCount); 140 DE_ASSERT(threadStream->ringbuffer); 144 deProducerStream_init(&(threadStream->producerStream), threadStream->ringbuffer); 145 deConsumerStream_init(&(threadStream->consumerStream), threadStream->ringbuffer); 197 threadStream->ringbuffer = deRingbuffer_create(ringbufferBlockSize, ringbufferBlockCount) [all...] |
/system/bt/btif/src/ |
btif_debug_btsnoop.c | 27 #include "osi/include/ringbuffer.h" 168 ringbuffer_t *ringbuffer = ringbuffer_init(BTSNOOP_MEM_BUFFER_SIZE); local 169 if (ringbuffer == NULL) { 179 ringbuffer_insert(ringbuffer, (uint8_t *)&preamble, sizeof(btsnooz_preamble_t)); 183 bool rc = btsnoop_compress(ringbuffer, buffer); 195 while (ringbuffer_size(ringbuffer) > 0) { 196 size_t read = ringbuffer_pop(ringbuffer, b64_in, 3); 208 ringbuffer_free(ringbuffer);
|