Searched defs:buffer (Results 1 - 25 of 680) sorted by last modified time

1234567891011>>

/frameworks/webview/chromium/plat_support/
H A Dgraphic_buffer_impl.cpp38 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/wilhelm/src/android/util/
H A DAacAdtsExtractor.cpp266 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 Dinterfaces.cpp136 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 DslesTestFeedback.cpp46 // Storage area for the buffer queues
75 // Called after audio recorder fills a buffer with data
82 // We should only be called when a recording buffer is done
86 char *buffer = rxBuffers[rxFront]; local
88 // Remove buffer from record queue
94 ssize_t actual = fifoWriter->write(buffer, (size_t) bufSizeInFrames);
103 actual = fifo2Writer->write(buffer, (size_t) bufSizeInFrames);
109 // Enqueue this same buffer for the recorder to fill again.
110 result = (*recorderBufferQueue)->Enqueue(recorderBufferQueue, buffer, bufSizeInBytes);
119 rxBuffers[rxRear] = buffer;
176 char *buffer = txBuffers[txFront]; local
463 char *buffer = freeBuffers[freeFront]; local
527 char *buffer = freeBuffers[freeFront]; local
560 short buffer[bufSizeInFrames * channels]; local
[all...]
/frameworks/wilhelm/tests/sandbox/
H A Dconfigbq.c17 // 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 Dintbufq.c17 /* 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 Dmultiplay.c65 static char buffer[32]; local
68 sprintf(buffer, "%d", (int) result);
69 return buffer;
H A Dplaybq.cpp17 // Play an audio file using buffer queue
42 unsigned which; // which buffer to use next
72 static SLuint32 squeeze(void *buffer, SLuint32 nbytes) argument
76 swab(buffer, buffer, nbytes);
79 memcpy_to_u8_from_i16((uint8_t *) buffer, (const int16_t *) buffer,
83 memcpy_to_p24_from_i32((uint8_t *) buffer, (const int32_t *) buffer,
90 // This callback is called each time a buffer finishe
96 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local
499 void *buffer = (char *)buffers + framesPerBuffer * sfframesize * which; local
[all...]
/frameworks/wilhelm/tools/hashgen/
H A Dfrag3.c4 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);
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/
H A Dgradle-wrapper.jar ... .InputStream in java.io.OutputStream out byte[] buffer int len static synthetic java.io.File access ...
/frameworks/support/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/samples/SupportLeanbackShowcase/gradle/wrapper/
H A Dgradle-wrapper.jar ... .InputStream in java.io.OutputStream out byte[] buffer int len static synthetic java.io.File access ...
/frameworks/support/samples/SupportLeanbackShowcase/libs/
H A Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/gson/ com/google/gson/annotations/ ...
H A Dpicasso-2.5.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/squareup/ com/squareup/picasso/ com/squareup/picasso/Action ...
/frameworks/support/compat/java/android/support/v4/graphics/
H A DTypefaceCompatApi24Impl.java102 private static boolean addFontWeightStyle(Object family, ByteBuffer buffer, int ttcIndex, argument
106 family, buffer, ttcIndex, null /* variation axis */, weight, style);
142 final ByteBuffer buffer =
145 if (!addFontWeightStyle(family, buffer, 0, e.getWeight(), e.isItalic())) {
H A DTypefaceCompatUtil.java70 * Copy the file contents to the direct byte buffer.
84 * Copy the resource contents to the direct byte buffer.
132 * Copy the buffer contents to file.
134 public static boolean copyToFile(File file, ByteBuffer buffer) { argument
135 return copyToFile(file, new ByteBufferInputStream(buffer));
145 byte[] buffer = new byte[1024];
147 while ((readLen = is.read(buffer)) != -1) {
148 os.write(buffer, 0, readLen);
/frameworks/support/development/checkstyle/gradle/wrapper/
H A Dgradle-wrapper.jar ... md java.io.InputStream fis int n byte[] buffer byte[] byteData StringBuffer hexString private java.io.File ...
/frameworks/support/exifinterface/src/android/support/media/
H A DExifInterface.java554 final ByteBuffer buffer = ByteBuffer.wrap(
556 buffer.order(byteOrder);
558 buffer.putShort((short) value);
560 return new ExifAttribute(IFD_FORMAT_USHORT, values.length, buffer.array());
568 final ByteBuffer buffer = ByteBuffer.wrap(
570 buffer.order(byteOrder);
572 buffer.putInt((int) value);
574 return new ExifAttribute(IFD_FORMAT_ULONG, values.length, buffer.array());
582 final ByteBuffer buffer = ByteBuffer.wrap(
584 buffer
3540 readFully(byte[] buffer, int offset, int length) argument
3551 readFully(byte[] buffer) argument
[all...]
/frameworks/support/gradle/wrapper/
H A Dgradle-wrapper.jar ... md java.io.InputStream fis int n byte[] buffer byte[] byteData StringBuffer hexString private java.io.File ...
/frameworks/rs/driver/
H A DrsdCore.cpp371 void* buffer = calloc(size, sizeof(char)); local
372 return buffer;
H A DrsdVertexArray.h37 uint32_t buffer; member in class:RsdVertexArray::Attrib
/frameworks/rs/
H A DrsContext.cpp212 char buffer[128]; local
213 snprintf(buffer, sizeof(buffer), "Avg fps %u, Frame %i ms, Script %i ms",
217 uint32_t bufferLen = strlen(buffer);
223 mStateFont.renderText(buffer, bufferLen, 5, getHeight() - 6);
226 mStateFont.renderText(buffer, bufferLen, 4, getHeight() - 7);
H A DrsList.h71 if ((void*)p >= (void*)&buffer->next) {
72 buffer = buffer->next;
73 if (buffer != nullptr) {
74 p = &buffer->data.typed;
83 return p == other.p && buffer == other.buffer && list == other.list;
87 return p != other.p || buffer != other.buffer || list != other.list;
97 p(p_), buffer(buffer
101 LinkedBuffer* buffer; member in class:android::renderscript::List::iterator
[all...]
/frameworks/rs/rsov/compiler/
H A DWrapper_test.cpp54 VariableInst *buffer = AddBuffer(elemType, 2, b, &m); local
55 ASSERT_NE(nullptr, buffer);

Completed in 385 milliseconds

1234567891011>>