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

123

/frameworks/av/services/camera/libcameraservice/camera2/
H A DBurstCapture.cpp89 Vector<CpuConsumer::LockedBuffer*> buffers; local
90 buffers.push_back(imgBuffer);
91 buffers.push_back(imgEncoded);
94 status_t res = jpeg->start(buffers, 1);
98 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/media/libmedia/
H A DIStreamSource.cpp59 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { argument
62 data.writeInt32(static_cast<int32_t>(buffers.size()));
63 for (size_t i = 0; i < buffers.size(); ++i) {
64 data.writeStrongBinder(buffers.itemAt(i)->asBinder());
103 Vector<sp<IMemory> > buffers; local
108 buffers.push(mem);
110 setBuffers(buffers);
/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/av/cmds/stagefright/
H A Dstream.cpp49 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
86 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { argument
87 mBuffers = buffers;
129 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
195 const Vector<sp<IMemory> > &buffers) {
196 mBuffers = buffers;
194 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.h106 status_t getInputBuffers(Vector<sp<ABuffer> > *buffers) const;
107 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/media/libstagefright/
H A DOMXCodec.cpp50 // buffers after 3 seconds.
248 index, "output-buffers-are-unreadable")) {
1512 ALOGE("protected output buffers must be stent to an ANativeWindow");
1521 ALOGE("Storing meta data in video buffers is not supported");
1537 CODEC_LOGV("allocating %lu buffers of size %lu on %s port",
1643 Vector<MediaBuffer *> buffers; local
1648 buffers.push(mbuf);
1651 status_t err = mSource->setBuffers(buffers);
1655 buffers.editItemAt(i)->release();
1657 buffers
1886 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2100 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2151 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2714 countBuffersWeOwn(const Vector<BufferInfo> &buffers) argument
2727 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2757 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2880 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
2893 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
2901 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3222 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexInput]; local
3235 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
3906 Vector<BufferInfo> *buffers = &mPortBuffers[kPortIndexOutput]; local
[all...]
H A DMediaCodec.cpp305 status_t MediaCodec::getInputBuffers(Vector<sp<ABuffer> > *buffers) const {
308 msg->setPointer("buffers", buffers);
314 status_t MediaCodec::getOutputBuffers(Vector<sp<ABuffer> > *buffers) const {
317 msg->setPointer("buffers", buffers);
570 ALOGV("%s buffers allocated",
578 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
599 buffers->push_back(info);
604 // We're always allocating output buffers afte
1256 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
1283 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
[all...]
/frameworks/av/include/private/media/
H A DAudioTrackShared.h67 // next 4 are offsets within "buffers"
73 // if there is a shared buffer, "buffers" is the value of pointer() for the shared
74 // buffer, otherwise "buffers" points immediately after the control block
75 void* buffers; member in struct:android::audio_track_cblk_t
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.h62 Vector<Buffer> *buffers);
/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.spec5 glDeleteBuffers check buffers n
9 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/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/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/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.cpp55 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
97 const Vector<sp<IMemory> > &buffers) {
98 mBuffers = buffers;
96 setBuffers( const Vector<sp<IMemory> > &buffers) argument
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c43 short *buffers; variable
44 SLuint32 byteOrder; // desired to use for PCM buffers
80 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
173 fprintf(stderr, " -n# number of buffers (default 2)\n");
237 buffers = (short *) malloc(framesPerBuffer * sfinfo.channels * sizeof(short) * numBuffers);
375 // loop until EOF or no more buffers
377 short *buffer = &buffers[framesPerBuffer * sfinfo.channels * which];
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.cpp206 Vector<sp<ABuffer> > buffers; local
210 ? mCodec->getInputBuffers(&buffers)
211 : mCodec->getOutputBuffers(&buffers);
239 buffers.size(), byteBufferClass, NULL);
241 for (size_t i = 0; i < buffers.size(); ++i) {
242 const sp<ABuffer> &buffer = buffers.itemAt(i);
697 jobjectArray buffers; local
698 status_t err = codec->getBuffers(env, input, &buffers);
701 return buffers;

Completed in 339 milliseconds

123