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

123

/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 DMediaCodec.h106 status_t getInputBuffers(Vector<sp<ABuffer> > *buffers) const;
107 status_t getOutputBuffers(Vector<sp<ABuffer> > *buffers) const;
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 DOMXCodec.h52 // Store meta data in video buffers
58 // Enable GRALLOC_USAGE_PROTECTED for output buffers from native window
222 // submitted to OMX next. This only applies when using buffers from a
320 // the buffers on that port).
328 static size_t countBuffersWeOwn(const Vector<BufferInfo> &buffers);
/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/libmedia/
H A DAudioRecord.cpp467 mCblk->buffers = (char*)mCblk + sizeof(audio_track_cblk_t);
633 // out of buffers, return #bytes written
717 // The callback is done filling buffers
762 // signal old cblk condition so that other threads waiting for available buffers stop
H A DAudioTrack.cpp488 // Release AudioTrack callback thread in case it was waiting for new buffers
920 mCblk->buffers = (char*)mCblk + sizeof(audio_track_cblk_t);
922 mCblk->buffers = sharedBuffer->pointer();
1109 // out of buffers, return #bytes written
1288 // The callback is done filling buffers
1335 // signal old cblk condition so that other threads waiting for available buffers stop
1376 memset(mCblk->buffers, 0, frames * mCblk->frameSize);
1508 userBase(0), serverBase(0), buffers(NULL), frameCount(0),
1612 return (int8_t *)buffers + (offset - userBase) * frameSize;
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/av/media/libstagefright/
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...]
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...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s29 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
32 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
35 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s29 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
32 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
35 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp180 Vector<Buffer> *buffers) {
181 buffers->clear();
197 buffers->push(buffer);
303 // allocating all input and output buffers.
306 "all input and output buffers are allocated.");
308 // Now allocate buffers.
327 "after all input and output buffers were allocated.");
363 "Not all output buffers have been returned to us by the time "
390 "Not all input buffers have been returned to us by the "
397 "Not all output buffers hav
177 allocatePortBuffers( const sp<MemoryDealer> &dealer, IOMX::node_id node, OMX_U32 portIndex, Vector<Buffer> *buffers) argument
[all...]
H A DOMXHarness.h62 Vector<Buffer> *buffers);
/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/av/services/audioflinger/
H A DAudioFlinger.cpp169 // for the track. The client then sub-divides this into smaller buffers for its use.
1953 // buffers before playing. This is to ensure the client will
2636 // during mixing and effect process as the audio buffers could be deleted
2857 // mix buffers...
3029 // We have consumed all the buffers of this track.
3101 // for all its buffers to be filled before processing it
3274 // We have consumed all the buffers of this track.
3289 // No buffers for this track. Give it a few chances to
3724 // for all its buffers to be filled before processing it
3798 // We have consumed all the buffers o
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Device.cpp669 ALOGVV("MetadataQueue: deque (%d buffers)", mCount);
1003 "usage 0x%x, producer wants %d buffers", __FUNCTION__,
1075 ALOGV("%s: Consumer wants %d buffers", __FUNCTION__,
1091 // Register allocated buffers with HAL device
1092 buffer_handle_t *buffers = new buffer_handle_t[mTotalBuffers]; local
1104 buffers[bufferIdx] = anwBuffers[bufferIdx]->handle;
1105 ALOGV("%s: Buffer %p allocated", __FUNCTION__, (void*)buffers[bufferIdx]);
1108 ALOGV("%s: Registering %d buffers with camera HAL", __FUNCTION__, mTotalBuffers);
1112 buffers);
1114 ALOGE("%s: Unable to register buffers wit
[all...]
/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.cpp39 status_t JpegCompressor::start(Vector<CpuConsumer::LockedBuffer*> buffers, argument
51 mBuffers = buffers;
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,
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp309 virtual status_t registerBuffers(const BufferHeap& buffers);
328 status_t MSurface::registerBuffers(const BufferHeap& buffers) { 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...]
H A Dandroid_opengl_GLES11.cpp380 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
389 GLuint *buffers = (GLuint *) 0; local
394 _exceptionMessage = "buffers == null";
412 buffers = buffers_base + offset;
416 (GLuint *)buffers
429 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
439 GLuint *buffers = (GLuint *) 0; local
441 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining, &_bufferOffset);
448 if (buffers == NULL) {
450 buffers
493 GLuint *buffers = (GLuint *) 0; local
543 GLuint *buffers = (GLuint *) 0; local
[all...]
H A Dandroid_opengl_GLES20.cpp542 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
551 GLuint *buffers = (GLuint *) 0; local
556 _exceptionMessage = "buffers == null";
574 buffers = buffers_base + offset;
578 (GLuint *)buffers
591 /* void glDeleteBuffers ( GLsizei n, const GLuint *buffers ) */
601 GLuint *buffers = (GLuint *) 0; local
603 buffers = (GLuint *)getPointer(_env, buffers_buf, &_array, &_remaining, &_bufferOffset);
610 if (buffers == NULL) {
612 buffers
1063 GLuint *buffers = (GLuint *) 0; local
1113 GLuint *buffers = (GLuint *) 0; local
[all...]

Completed in 282 milliseconds

123