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

123

/frameworks/av/services/camera/libcameraservice/camera2/
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.h68 // next 4 are offsets within "buffers"
131 // if there is a shared buffer, "buffers" is the value of pointer() for the shared
132 // buffer, otherwise "buffers" points immediately after the control block
133 void* buffer(void *buffers, uint32_t frameSize, size_t offset) const;
152 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument
153 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize) { }
165 void* const mBuffers; // starting address of buffers
180 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument
181 : Proxy(cblk, buffers, frameCount, frameSize) { }
190 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_ argument
239 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize) argument
265 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut) 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);
H A DAudioTrackShared.cpp127 void* audio_track_cblk_t::buffer(void *buffers, size_t frameSize, uint32_t offset) const argument
129 return (int8_t *)buffers + (offset - userBase) * frameSize;
/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);
H A Dstate.cpp370 int index = c->rasterizer.state.buffers.color.format;
376 int index = c->rasterizer.state.buffers.color.format;
382 int index = c->rasterizer.state.buffers.color.format;
388 int index = c->rasterizer.state.buffers.color.format;
410 params[0] = c->rasterizer.state.buffers.depth.format ? 0 : 16;
/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/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
H A DMediaCodec.h110 status_t getInputBuffers(Vector<sp<ABuffer> > *buffers) const;
111 status_t getOutputBuffers(Vector<sp<ABuffer> > *buffers) const;
/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/camera3/
H A DCamera3Stream.cpp100 ALOGE("%s: Cannot configure stream; has outstanding buffers",
167 ALOGE("%s: Unable to register stream buffers with HAL: %s (%d)",
278 Vector<buffer_handle_t*> buffers; local
279 buffers.insertAt(NULL, 0, bufferCount);
284 bufferSet.buffers = buffers.editArray();
289 // Register all buffers with the HAL. This means getting all the buffers
294 // Only registered buffers can be sent to the HAL.
309 buffers
[all...]
/frameworks/av/media/libstagefright/
H A DOMXCodec.cpp50 // buffers after 3 seconds.
248 index, "output-buffers-are-unreadable")) {
1518 ALOGE("protected output buffers must be stent to an ANativeWindow");
1527 ALOGE("Storing meta data in video buffers is not supported");
1543 CODEC_LOGV("allocating %lu buffers of size %lu on %s port",
1649 Vector<MediaBuffer *> buffers; local
1654 buffers.push(mbuf);
1657 status_t err = mSource->setBuffers(buffers);
1661 buffers.editItemAt(i)->release();
1663 buffers
1892 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2106 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2157 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2720 countBuffersWeOwn(const Vector<BufferInfo> &buffers) argument
2733 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2763 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2886 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2899 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2907 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3228 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3241 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
3912 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
[all...]
/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
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp76 void clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers);
78 jbyteArray getCallbackBuffer(JNIEnv *env, Vector<jbyteArray> *buffers, size_t bufferSize);
102 bool mManualBufferMode; // Whether to use application managed buffers.
197 JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize)
202 if (!buffers->isEmpty()) {
203 ALOGV("Using callback buffer from queue of length %d", buffers->size());
204 jbyteArray globalBuffer = buffers->itemAt(0);
205 buffers->removeAt(0);
245 ALOGV("Out of buffers, clearing callback!");
372 // of buffers fo
196 getCallbackBuffer( JNIEnv* env, Vector<jbyteArray>* buffers, size_t bufferSize) argument
434 clearCallbackBuffers_l(JNIEnv *env, Vector<jbyteArray> *buffers) argument
[all...]
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp214 Vector<sp<ABuffer> > buffers; local
218 ? mCodec->getInputBuffers(&buffers)
219 : mCodec->getOutputBuffers(&buffers);
247 buffers.size(), byteBufferClass, NULL);
253 for (size_t i = 0; i < buffers.size(); ++i) {
254 const sp<ABuffer> &buffer = buffers.itemAt(i);
769 jobjectArray buffers; local
770 status_t err = codec->getBuffers(env, input, &buffers);
773 return buffers;

Completed in 1079 milliseconds

123