Searched refs:buffer (Results 226 - 250 of 941) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DImage.h37 * Creates a new image from the specified graphic buffer. If the image
41 Image(sp<GraphicBuffer> buffer);
/frameworks/base/media/java/android/media/
H A DMediaCodec.java51 alt="MediaCodec buffer flow diagram"></object></center>
55 (or receive) an empty input buffer, fill it up with data and send it to the codec for
57 Finally, you request (or receive) a filled output buffer, consume its contents and release it
79 this requirement is slightly relaxed in that a buffer may contain multiple encoded access units
215 state you can process data through the buffer queue manipulation described above.
219 as the first input buffer is dequeued, the codec moves to the Running sub-state, where it spends
220 most of its life. When you queue an input buffer with the {@linkplain #BUFFER_FLAG_END_OF_STREAM
302 codec-specific data and submit it as a single codec-config buffer.
313 <th>CSD buffer #0</th>
314 <th>CSD buffer #
2768 setByteBuffer(@ullable ByteBuffer buffer) argument
2873 freeByteBuffer(@ullable ByteBuffer buffer) argument
3488 MediaImage( @onNull ByteBuffer buffer, @NonNull ByteBuffer info, boolean readOnly, long timestamp, int xOffset, int yOffset, @Nullable Rect cropRect) argument
3563 MediaPlane(@onNull ByteBuffer buffer, int rowInc, int colInc) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java78 ByteBuffer buffer = buffers[bufferIndex];
80 buffer.position(info.offset);
81 buffer.get(data, 0, info.size);
95 buffer.clear();
103 * decoded since the last call of this method. The decoder's buffer is cleared as a result.
118 * Clears the decoder's buffer.
/frameworks/base/tools/layoutlib/bridge/src/android/text/
H A DHyphenator_Delegate.java43 static long loadHyphenator(ByteBuffer buffer, int offset) { argument
/frameworks/compile/libbcc/include/bcinfo/Wrap/
H A Dfile_wrapper_input.h32 // Tries to read the requested number of bytes into the buffer. Returns the
34 virtual size_t Read(uint8_t* buffer, size_t wanted);
/frameworks/multidex/library/src/android/support/multidex/
H A DZipUtil.java112 byte[] buffer = new byte[BUFFER_SIZE];
113 length = raf.read(buffer, 0, length);
115 crc.update(buffer, 0, length);
121 length = raf.read(buffer, 0, length);
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp44 // destroy all the buffer objects and their storage
53 buffer_t const* EGLBufferObjectManager::bind(GLuint buffer) argument
56 int32_t i = mBuffers.indexOfKey(buffer);
64 bo->name = buffer;
65 mBuffers.add(buffer, bo);
/frameworks/native/opengl/tests/gralloc/
H A Dgralloc.cpp49 sp<GraphicBuffer> buffer = new GraphicBuffer(128, 256, HAL_PIXEL_FORMAT_RGBA_8888, local
53 status_t err = buffer->initCheck();
60 buffer->lock(
107 buffer->unlock();
/frameworks/native/opengl/tools/glgen/stubs/egl/
H A DeglCreatePbufferFromClientBuffer.cpp1 /* EGLSurface eglCreatePbufferFromClientBuffer ( EGLDisplay dpy, EGLenum buftype, EGLClientBuffer buffer, EGLConfig config, const EGLint *attrib_list ) */
4 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) {
45 reinterpret_cast<EGLClientBuffer>(buffer),
63 (JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) {
68 return android_eglCreatePbufferFromClientBuffer(_env, _this, dpy, buftype, buffer, config, attrib_list_ref, offset);
3 android_eglCreatePbufferFromClientBuffer(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jlong buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
62 android_eglCreatePbufferFromClientBufferInt(JNIEnv *_env, jobject _this, jobject dpy, jint buftype, jint buffer, jobject config, jintArray attrib_list_ref, jint offset) argument
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
H A DLineVerifierElem.java96 StringBuffer buffer = new StringBuffer();
98 buffer.append(expectedLine);
99 buffer.append("\n");
102 TestCase.fail("Expected line(s) not found:" + buffer.toString());
/frameworks/av/media/libnbaio/
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count) argument
62 memcpy(buffer, (char *) mPipe->mBuffer + (front * mFrameSize), part1 * mFrameSize);
66 memcpy((char *) buffer + (part1 * mFrameSize), mPipe->mBuffer, part2 * mFrameSize);
/frameworks/av/services/audioflinger/
H A DPlaybackTracks.h32 void *buffer,
42 void dump(char* buffer, size_t size, bool active);
63 void setAuxBuffer(int EffectId, int32_t *buffer);
65 void setMainBuffer(int16_t *buffer) { mMainBuffer = buffer; } argument
89 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
205 status_t obtainBuffer(AudioBufferProvider::Buffer* buffer,
231 void *buffer,
240 virtual status_t getNextBuffer(AudioBufferProvider::Buffer* buffer);
241 virtual void releaseBuffer(AudioBufferProvider::Buffer* buffer);
[all...]
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DIOProfile.cpp106 char buffer[SIZE]; local
111 snprintf(buffer, SIZE, " - flags: 0x%04x\n", getFlags());
112 result.append(buffer);
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3IOStreamBase.h59 // Last received output buffer's timestamp
66 const camera3_stream_buffer &buffer,
71 const camera3_stream_buffer &buffer,
98 // Hand out the buffer to a native location,
99 // incrementing the internal refcount and dequeued buffer count
100 void handoutBufferLocked(camera3_stream_buffer &buffer,
H A DCamera3InputStream.h59 const camera3_stream_buffer &buffer,
69 virtual status_t getInputBufferLocked(camera3_stream_buffer *buffer);
71 const camera3_stream_buffer &buffer);
H A DCamera3ZslStream.h33 * most output buffers, and when directed, pushes a buffer back to the HAL for
51 * Locate a buffer matching this timestamp in the RingBufferConsumer,
63 * being cleared, 0 if there is no buffer being clear.
89 virtual status_t getInputBufferLocked(camera3_stream_buffer *buffer);
91 const camera3_stream_buffer &buffer);
95 const camera3_stream_buffer &buffer,
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp89 char buffer[16384]; local
93 int length = read(fd, buffer, sizeof(buffer));
100 memcpy(bytes, buffer, length);
170 jbyteArray buffer, jint start, jint length, jint timeout)
179 if (buffer) {
180 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL);
187 env->ReleasePrimitiveArrayCritical(buffer, bufferBytes, 0);
195 jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout)
204 if (buffer) {
168 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint start, jint length, jint timeout) argument
194 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) argument
[all...]
H A Dandroid_view_TextureView.cpp74 static inline SkImageInfo convertPixelFormat(const ANativeWindow_Buffer& buffer) { argument
77 switch (buffer.format) {
93 return SkImageInfo::Make(buffer.width, buffer.height, colorType, alphaType);
139 ANativeWindow_Buffer buffer; local
152 int32_t status = native_window_lock(window.get(), &buffer, &rect);
155 ssize_t bytesCount = buffer.stride * bytesPerPixel(buffer.format);
158 bitmap.setInfo(convertPixelFormat(buffer), bytesCount);
160 if (buffer
[all...]
/frameworks/base/libs/hwui/renderstate/
H A DMeshState.h65 * Binds the specified VBO if needed. If buffer == 0, binds default simple textured quad.
67 void bindMeshBuffer(GLuint buffer);
74 void genOrUpdateMeshBuffer(GLuint* buffer, GLsizeiptr size, const void* data, GLenum usage);
105 void bindIndicesBuffer(const GLuint buffer);
129 // Global index buffer
/frameworks/base/media/jni/
H A Dandroid_media_ImageWriter.cpp66 // has returned a buffer and it is ready for ImageWriter to dequeue.
146 ALOGV("%s: buffer released", __FUNCTION__);
150 // Detach the buffer every time when a buffer consumption is done,
155 sp<GraphicBuffer> buffer; local
156 ALOGV("%s: One buffer is detached", __FUNCTION__);
157 mProducer->detachNextBuffer(&buffer, &fence);
177 sp<GraphicBuffer> buffer, int fenceFd);
179 GraphicBuffer** buffer, int* fenceFd);
297 ALOGE("%s: Query producer undequeued buffer coun
402 GraphicBuffer *buffer = NULL; local
431 GraphicBuffer *buffer = NULL; local
580 Image_getNativeContext(JNIEnv* env, jobject thiz, GraphicBuffer** buffer, int* fenceFd) argument
595 Image_setNativeContext(JNIEnv* env, jobject thiz, sp<GraphicBuffer> buffer, int fenceFd) argument
614 GraphicBuffer* buffer; local
641 GraphicBuffer* buffer; local
654 GraphicBuffer* buffer; local
667 GraphicBuffer* buffer; local
688 GraphicBuffer* buffer; local
715 Image_getLockedImageInfo(JNIEnv* env, LockedImage* buffer, int idx, int32_t writerFormat, uint8_t **base, uint32_t *size, int *pixelStride, int *rowStride) argument
[all...]
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DGraphReader.java45 char[] buffer = new char[1024];
48 while ((bytesRead = reader.read(buffer, 0, 1024)) > 0) {
49 writer.write(buffer, 0, bytesRead);
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DClipRegion2Activity.java43 StringBuffer buffer = new StringBuffer();
45 buffer.append(LOREM_IPSUM);
47 return buffer;
H A DClipRegion3Activity.java43 StringBuffer buffer = new StringBuffer();
45 buffer.append(LOREM_IPSUM);
47 return buffer;
/frameworks/compile/mclinker/lib/Support/
H A DDemangle.cpp29 char* buffer = local
30 abi::__cxa_demangle(pName.c_str(), /*buffer=*/0, &output_leng, &status);
34 std::string result(buffer);
35 free(buffer);
/frameworks/compile/mclinker/lib/Target/Mips/
H A DMipsGOTPLT.cpp31 uint32_t* buffer = reinterpret_cast<uint32_t*>(pRegion.begin()); local
34 for (iterator it = begin(), ie = end(); it != ie; ++it, ++buffer) {
36 *buffer = static_cast<uint32_t>(got->getValue());

Completed in 626 milliseconds

1234567891011>>