Searched refs:buffers (Results 1 - 25 of 66) sorted by relevance

123

/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLId.java26 public void glGenBuffers(int n, int[] buffers, int offset); argument
30 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset); argument
32 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset); argument
H A DGLES20IdImpl.java19 public void glGenBuffers(int n, int[] buffers, int offset) { argument
20 GLES20.glGenBuffers(n, buffers, offset);
32 public void glDeleteBuffers(GL11 gl, int n, int[] buffers, int offset) { argument
33 GLES20.glDeleteBuffers(n, buffers, offset);
38 public void glDeleteFramebuffers(GL11ExtensionPack gl11ep, int n, int[] buffers, int offset) { argument
39 GLES20.glDeleteFramebuffers(n, buffers, offset);
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DBurstCapture.cpp90 Vector<CpuConsumer::LockedBuffer*> buffers; local
91 buffers.push_back(imgBuffer);
92 buffers.push_back(imgEncoded);
95 jpeg->start(buffers, 1);
99 return buffers[1];
H A DJpegCompressor.h19 * This class simulates a hardware JPEG compressor. It receives image buffers
49 // Start compressing COMPRESSED format buffers; JpegCompressor takes
51 status_t start(Vector<CpuConsumer::LockedBuffer*> buffers,
H A DJpegCompressor.cpp39 status_t JpegCompressor::start(Vector<CpuConsumer::LockedBuffer*> buffers, argument
51 mBuffers = buffers;
/frameworks/av/include/private/media/
H A DAudioTrackShared.h150 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
165 void* const mBuffers; // starting address of buffers
181 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
270 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
272 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/,
308 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount,
336 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
338 : ClientProxy(cblk, buffers, frameCount, frameSize,
348 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
394 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_ argument
458 AudioRecordServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument
[all...]
/frameworks/av/media/libmedia/
H A DIStreamSource.cpp62 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { argument
65 data.writeInt32(static_cast<int32_t>(buffers.size()));
66 for (size_t i = 0; i < buffers.size(); ++i) {
67 data.writeStrongBinder(buffers.itemAt(i)->asBinder());
106 Vector<sp<IMemory> > buffers; local
111 buffers.push(mem);
113 setBuffers(buffers);
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/decoder/
H A DAudioTrackDecoder.java70 MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) {
71 ByteBuffer buffer = buffers[bufferIndex];
69 onDataAvailable( MediaCodec codec, ByteBuffer[] buffers, int bufferIndex, BufferInfo info) argument
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp85 void EGLBufferObjectManager::deleteBuffers(GLsizei n, const GLuint* buffers) argument
89 const GLuint t = *buffers++;
H A DBufferObjectManager.h64 void deleteBuffers(GLsizei n, const GLuint* buffers);
/frameworks/native/libs/ui/
H A DFramebufferNativeWindow.cpp70 * Currently it is pretty simple, it manages only two buffers (the front and
119 buffers[i] = new NativeBuffer(
127 GRALLOC_USAGE_HW_FB, &buffers[i]->handle, &buffers[i]->stride);
167 if (buffers[i] != NULL) {
168 grDev->free(grDev, buffers[i]->handle);
250 ALOG_ASSERT(self->buffers[index] != self->front);
256 *buffer = self->buffers[index].get();
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DDisplaySourceService.java223 ByteBuffer[] buffers = null;
227 if (buffers == null) {
228 buffers = codec.getOutputBuffers();
231 ByteBuffer buffer = buffers[index];
239 buffers = null;
/frameworks/av/cmds/stagefright/
H A Dstream.cpp50 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
87 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { argument
88 mBuffers = buffers;
130 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
196 const Vector<sp<IMemory> > &buffers) {
197 mBuffers = buffers;
195 setBuffers( const Vector<sp<IMemory> > &buffers) argument
/frameworks/av/include/media/
H A DIStreamSource.h33 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) = 0;
/frameworks/av/include/media/stagefright/
H A DMediaSource.h41 // returns. Any buffers the object may be holding onto at the time of
43 // Also, it is imperative that any buffers output by this object and
58 // but should be prepared for buffers of the new configuration.
103 // The consumer of this media source requests that the given buffers
107 // Callee assumes ownership of the buffers if no error is returned.
108 virtual status_t setBuffers(const Vector<MediaBuffer *> &buffers) { argument
/frameworks/native/include/ui/
H A DFramebufferNativeWindow.h81 sp<NativeBuffer> buffers[MAX_NUM_FRAME_BUFFERS]; member in class:android::FramebufferNativeWindow
/frameworks/av/services/camera/libcameraservice/device3/
H A DCamera3Stream.cpp108 ALOGE("%s: Cannot configure stream; has outstanding buffers",
198 ALOGE("%s: Unable to register stream buffers with HAL: %s (%d)",
321 Vector<buffer_handle_t*> buffers; local
322 buffers.insertAt(NULL, 0, bufferCount);
327 bufferSet.buffers = buffers.editArray();
332 // Register all buffers with the HAL. This means getting all the buffers
337 // Only registered buffers can be sent to the HAL.
352 buffers
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp50 // buffers after 3 seconds.
248 index, "output-buffers-are-unreadable")) {
1516 ALOGE("protected output buffers must be stent to an ANativeWindow");
1525 ALOGE("Storing meta data in video buffers is not supported");
1541 CODEC_LOGV("allocating %lu buffers of size %lu on %s port",
1647 Vector<MediaBuffer *> buffers; local
1652 buffers.push(mbuf);
1655 status_t err = mSource->setBuffers(buffers);
1659 buffers.editItemAt(i)->release();
1661 buffers
1890 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2104 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2155 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2718 countBuffersWeOwn(const Vector<BufferInfo> &buffers) argument
2731 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2761 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2884 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2897 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2905 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3226 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3239 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
3910 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DGLToolbox.java168 int[] buffers = new int[] { vboId };
169 GLES20.glDeleteBuffers(1, buffers, 0);
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h62 Vector<Buffer> *buffers);
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java227 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
231 int[] buffers,
235 // C function void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
239 java.nio.IntBuffer buffers
251 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
255 int[] buffers,
259 // C function void glGenBuffers ( GLsizei n, GLuint *buffers )
263 java.nio.IntBuffer buffers
229 glDeleteBuffers( int n, int[] buffers, int offset ) argument
253 glGenBuffers( int n, int[] buffers, int offset ) argument
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java204 int[] buffers,
210 java.nio.IntBuffer buffers
222 int[] buffers,
228 java.nio.IntBuffer buffers
202 glDeleteBuffers( int n, int[] buffers, int offset ) argument
220 glGenBuffers( int n, int[] buffers, int offset ) argument
/frameworks/native/opengl/tools/glgen/specs/gles11/
H A DGLES11.spec8 void glDeleteBuffers ( GLsizei n, const GLuint *buffers )
10 void glGenBuffers ( GLsizei n, GLuint *buffers )
H A Dchecks.spec28 glDeleteBuffers check buffers n
40 glGenBuffers check buffers n
/frameworks/wilhelm/src/android/
H A Dandroid_StreamPlayer.h44 virtual void setBuffers(const Vector<sp<IMemory> > &buffers); // mediaserver calls exactly once
64 // array of shared memory buffers
67 // list of available buffers in shared memory, identified by their index
102 // was refilled, or because during playback, the shared memory buffers should remain

Completed in 8929 milliseconds

123