/frameworks/wilhelm/src/android/include/ |
H A D | AacAdtsExtractor.h | 52 MediaBuffer **buffer, const ReadOptions *options = NULL);
|
/frameworks/wilhelm/src/android/util/ |
H A D | AacAdtsExtractor.cpp | 266 SL_LOGE("Can't seek in AAC ADTS buffer queue"); 277 MediaBuffer *buffer; local 278 status_t err = mGroup->acquire_buffer(&buffer); 284 ssize_t readSize = mDataSource->readAt(mOffset + ADTS_HEADER_LENGTH, buffer->data(), 289 buffer->release(); 290 buffer = NULL; 294 buffer->set_range(0, frameSizeWithoutHeader); 295 buffer->meta_data()->setInt64(kKeyTime, mCurrentTimeUs); 296 buffer->meta_data()->setInt32(kKeyIsSyncFrame, 1); 301 *out = buffer; [all...] |
/frameworks/wilhelm/src/ |
H A D | interfaces.c | 136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 141 strcpy(buffer, "MPH"); 142 strcpy(&buffer[3], infix); 143 strcat(buffer, "_"); 144 strcat(buffer, interface_names[MPH]);
|
/frameworks/wilhelm/tests/examples/ |
H A D | slesTestFeedback.cpp | 46 // Storage area for the buffer queues 71 // Called after audio recorder fills a buffer with data 78 // We should only be called when a recording buffer is done 82 char *buffer = rxBuffers[rxFront]; local 84 // Remove buffer from record queue 90 ssize_t actual = audio_utils_fifo_write(&fifo, buffer, (size_t) bufSizeInFrames); 99 actual = audio_utils_fifo_write(&fifo2, buffer, (size_t) bufSizeInFrames); 105 // Enqueue this same buffer for the recorder to fill again. 106 result = (*recorderBufferQueue)->Enqueue(recorderBufferQueue, buffer, bufSizeInBytes); 115 rxBuffers[rxRear] = buffer; 172 char *buffer = txBuffers[txFront]; local 455 char *buffer = freeBuffers[freeFront]; local 519 char *buffer = freeBuffers[freeFront]; local 552 short buffer[bufSizeInFrames * channels]; local [all...] |
/frameworks/wilhelm/tests/sandbox/ |
H A D | configbq.c | 17 // Test various buffer queue configurations 145 // generate a sine wave buffer, ascending in half-steps for each format 147 static unsigned char buffer[N]; local 156 buffer[i++] = (sampleLeft + 32768) >> 8; 157 buffer[i++] = (sampleRight + 32768) >> 8; 160 buffer[i++] = sampleLeft & 0xFF; 161 buffer[i++] = sampleLeft >> 8; 162 buffer[i++] = sampleRight & 0xFF; 163 buffer[i++] = sampleRight >> 8; 170 buffer[ [all...] |
H A D | intbufq.c | 17 /* interactive buffer queue test program */ 175 frame_t *buffer; local 189 buffer = sine; 193 buffer = square; 197 buffer = half; 213 buffer = sawtooth; 217 result = (*playerBufferqueue)->Enqueue(playerBufferqueue, buffer, size);
|
H A D | multiplay.c | 65 static char buffer[32]; local 68 sprintf(buffer, "%d", (int) result); 69 return buffer;
|
H A D | playbq.c | 17 // Play an audio file using buffer queue 42 unsigned which; // which buffer to use next 70 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) argument 74 swab(buffer, buffer, nbytes); 77 memcpy_to_u8_from_i16((uint8_t *) buffer, (const int16_t *) buffer, 81 memcpy_to_p24_from_i32((uint8_t *) buffer, (const int32_t *) buffer, 88 // This callback is called each time a buffer finishe 94 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local 497 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local [all...] |
H A D | playbq.cpp | 17 // Play an audio file using buffer queue 42 unsigned which; // which buffer to use next 70 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) argument 74 swab(buffer, buffer, nbytes); 77 memcpy_to_u8_from_i16((uint8_t *) buffer, (const int16_t *) buffer, 81 memcpy_to_p24_from_i32((uint8_t *) buffer, (const int32_t *) buffer, 88 // This callback is called each time a buffer finishe 94 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local 497 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local [all...] |
/frameworks/wilhelm/tools/hashgen/ |
H A D | frag3.c | 4 extern void MPH_to_MPH_string(unsigned MPH, char buffer[40]); 18 char buffer[40]; local 19 buffer[39] = 'x'; 20 MPH_to_MPH_string(MPH, buffer); 21 assert('x' == buffer[39]); 22 printf(" %s", buffer);
|
H A D | interfaces.c | 136 void MPH_to_MPH_string(unsigned MPH, char buffer[40]) argument 141 strcpy(buffer, "MPH"); 142 strcpy(&buffer[3], infix); 143 strcat(buffer, "_"); 144 strcat(buffer, interface_names[MPH]);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/picker/ |
H A D | Picker.java | 355 TypedValue buffer = new TypedValue(); 356 getContext().getResources().getValue(resourceId, buffer, true); 357 return buffer.getFloat();
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LongSparseArray.java | 372 StringBuilder buffer = new StringBuilder(mSize * 28); 373 buffer.append('{'); 376 buffer.append(", "); 379 buffer.append(key); 380 buffer.append('='); 383 buffer.append(value); 385 buffer.append("(this Map)"); 388 buffer.append('}'); 389 return buffer.toString();
|
H A D | SimpleArrayMap.java | 617 StringBuilder buffer = new StringBuilder(mSize * 28); 618 buffer.append('{'); 621 buffer.append(", "); 625 buffer.append(key); 627 buffer.append("(this Map)"); 629 buffer.append('='); 632 buffer.append(value); 634 buffer.append("(this Map)"); 637 buffer.append('}'); 638 return buffer [all...] |
H A D | SparseArrayCompat.java | 367 StringBuilder buffer = new StringBuilder(mSize * 28); 368 buffer.append('{'); 371 buffer.append(", "); 374 buffer.append(key); 375 buffer.append('='); 378 buffer.append(value); 380 buffer.append("(this Map)"); 383 buffer.append('}'); 384 return buffer.toString();
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | PositionMap.java | 377 StringBuilder buffer = new StringBuilder(mSize * 28); 378 buffer.append('{'); 381 buffer.append(", "); 384 buffer.append(key); 385 buffer.append('='); 388 buffer.append(value); 390 buffer.append("(this Map)"); 393 buffer.append('}'); 394 return buffer.toString();
|
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | BasicNetwork.java | 78 * @param pool a buffer pool that improves GC performance in copy operations 230 byte[] buffer = null; 236 buffer = mPool.getBuf(1024); 238 while ((count = in.read(buffer)) != -1) { 239 bytes.write(buffer, 0, count); 251 mPool.returnBuf(buffer);
|
H A D | DiskBasedCache.java | 465 public int read(byte[] buffer, int offset, int count) throws IOException { argument 466 int result = super.read(buffer, offset, count);
|
H A D | PoolingByteArrayOutputStream.java | 69 * Ensures there is enough space in the buffer for the given number of additional bytes. 72 /* Can the buffer handle @i more bytes, if not expand it */ 83 public synchronized void write(byte[] buffer, int offset, int len) { argument 85 super.write(buffer, offset, len);
|
/frameworks/volley/src/test/java/com/android/volley/toolbox/ |
H A D | ImageRequestTest.java | 155 byte[] buffer = new byte[1024]; 157 while ((count = in.read(buffer)) != -1) { 158 bytes.write(buffer, 0, count);
|
/frameworks/webview/chromium/plat_support/ |
H A D | graphic_buffer_impl.cpp | 38 GraphicBufferImpl* buffer = new GraphicBufferImpl( local 40 if (buffer->InitCheck() != NO_ERROR) { 41 delete buffer; 44 return reinterpret_cast<intptr_t>(buffer); 49 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 50 delete buffer; 55 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 56 return buffer->Map(mode, vaddr); 61 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 62 return buffer 67 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local 73 GraphicBufferImpl* buffer = reinterpret_cast<GraphicBufferImpl*>(buffer_id); local [all...] |
/frameworks/rs/api/ |
H A D | rs_graphics.spec | 86 value: RS_DEPTH_FUNC_LESS = 1, "Drawn if the incoming depth value is less than that in the depth buffer" 87 value: RS_DEPTH_FUNC_LEQUAL = 2, "Drawn if the incoming depth value is less or equal to that in the depth buffer" 88 value: RS_DEPTH_FUNC_GREATER = 3, "Drawn if the incoming depth value is greater than that in the depth buffer" 89 value: RS_DEPTH_FUNC_GEQUAL = 4, "Drawn if the incoming depth value is greater or equal to that in the depth buffer" 90 value: RS_DEPTH_FUNC_EQUAL = 5, "Drawn if the incoming depth value is equal to that in the depth buffer" 91 value: RS_DEPTH_FUNC_NOTEQUAL = 6, "Drawn if the incoming depth value is not equal to that in the depth buffer" 97 depth to that found in the depth buffer. 256 arg: uint slot, "index of the constant buffer on the program"
|
/frameworks/rs/driver/ |
H A D | rsdCore.cpp | 364 void* buffer = calloc(size, sizeof(char)); local 365 return buffer;
|
H A D | rsdMeshObj.cpp | 143 // update attributes with either buffer information or data ptr based on their current state 150 mAttribs[ct].buffer = drvAlloc->bufferID; 153 mAttribs[ct].buffer = 0;
|
H A D | rsdVertexArray.cpp | 44 buffer = 0; 73 mAttribs[idx].buffer, 109 glBindBuffer(GL_ARRAY_BUFFER, mAttribs[ct].buffer);
|