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

1234

/frameworks/av/cmds/screenrecord/
H A Dscreenrecord.cpp330 Vector<sp<ABuffer> > buffers; local
331 err = encoder->getOutputBuffers(&buffers);
333 fprintf(stderr, "Unable to get output buffers (err=%d)\n", err);
400 fwrite(buffers[bufIndex]->data(), 1, size, rawFp);
416 err = muxer->writeSampleData(buffers[bufIndex], trackIdx,
460 ALOGV("Encoder buffers changed");
461 err = encoder->getOutputBuffers(&buffers);
464 "Unable to get new output buffers (err=%d)\n", err);
/frameworks/av/cmds/stagefright/
H A Dstream.cpp51 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
88 void MyStreamSource::setBuffers(const Vector<sp<IMemory> > &buffers) { argument
89 mBuffers = buffers;
131 virtual void setBuffers(const Vector<sp<IMemory> > &buffers);
199 const Vector<sp<IMemory> > &buffers) {
200 mBuffers = buffers;
198 setBuffers( const Vector<sp<IMemory> > &buffers) argument
/frameworks/av/include/media/
H A DIAudioFlinger.h99 sp<IMemory>& buffers, // return value 0 means it follows cblk
H A DIMediaSource.h36 // Maximum number of buffers would be read in readMultiple.
46 // returns. Any buffers the object may be holding onto at the time of
48 // Also, it is imperative that any buffers output by this object and
100 // but should be prepared for buffers of the new configuration.
104 // Returns a vector of new buffers of data. The vector size could be
105 // <= |maxNumBuffers|. Used for buffers with small size
108 // reached, or format change is hit, or |kMaxNumReadMultiple| buffers have
113 // but should be prepared for buffers of the new configuration.
115 Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers = 1) = 0;
122 // The consumer of this media source requests that the given buffers
[all...]
H A DIStreamSource.h33 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) = 0;
/frameworks/av/include/media/stagefright/
H A DMediaCodec.h152 status_t getWidevineLegacyBuffers(Vector<sp<ABuffer> > *buffers) const;
154 status_t getInputBuffers(Vector<sp<ABuffer> > *buffers) const;
155 status_t getOutputBuffers(Vector<sp<ABuffer> > *buffers) const;
/frameworks/av/include/private/media/
H A DAudioTrackShared.h205 Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool isOut,
222 void* const mBuffers; // starting address of buffers
238 ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
356 AudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
358 : ClientProxy(cblk, buffers, frameCount, frameSize, true /*isOut*/,
407 StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount,
457 AudioRecordClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
459 : ClientProxy(cblk, buffers, frameCount, frameSize,
479 ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize,
544 AudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, size_ argument
646 AudioRecordServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, bool clientInServer) argument
[all...]
/frameworks/av/media/libmedia/
H A DAudioRecord.cpp663 // Starting address of buffers in shared memory.
664 // The buffers are either immediately after the control block,
666 void *buffers; local
668 buffers = cblk + 1;
670 buffers = bufferMem->pointer();
671 if (buffers == NULL) {
714 mProxy = new AudioRecordClientProxy(cblk, buffers, mFrameCount, mFrameSize);
1104 // The callback is done consuming buffers
H A DAudioTrack.cpp1323 // FIXME: Ensure client side memory buffers need
1466 // The client can divide the AudioTrack buffer into sub-buffers,
1495 // Starting address of buffers in shared memory. If there is a shared buffer, buffers
1496 // is the value of pointer() for the shared buffer, otherwise buffers points
1499 void* buffers; local
1501 buffers = cblk + 1;
1503 buffers = mSharedBuffer->pointer();
1504 if (buffers == NULL) {
1528 mProxy = new AudioTrackClientProxy(cblk, buffers, frameCoun
[all...]
H A DAudioTrackShared.cpp59 Proxy::Proxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, size_t frameSize, argument
61 : mCblk(cblk), mBuffers(buffers), mFrameCount(frameCount), mFrameSize(frameSize),
69 ClientProxy::ClientProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
71 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer)
523 StaticAudioTrackClientProxy::StaticAudioTrackClientProxy(audio_track_cblk_t* cblk, void *buffers, argument
525 : AudioTrackClientProxy(cblk, buffers, frameCount, frameSize),
615 ServerProxy::ServerProxy(audio_track_cblk_t* cblk, void *buffers, size_t frameCount, argument
617 : Proxy(cblk, buffers, frameCount, frameSize, isOut, clientInServer),
861 StaticAudioTrackServerProxy::StaticAudioTrackServerProxy(audio_track_cblk_t* cblk, void *buffers, argument
863 : AudioTrackServerProxy(cblk, buffers, frameCoun
[all...]
H A DIAudioFlinger.cpp190 sp<IMemory>& buffers,
215 buffers.clear();
242 buffers = interface_cast<IMemory>(reply.readStrongBinder());
243 if (buffers != 0 && buffers->pointer() == NULL) {
244 buffers.clear();
254 // buffers is permitted to be 0
256 if (record != 0 || cblk != 0 || buffers != 0) {
258 "or buffers but with status %d", lStatus);
264 buffers
176 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *pFrameCount, track_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument
996 sp<IMemory> buffers; local
[all...]
H A DIMediaSource.cpp193 virtual status_t readMultiple(Vector<MediaBuffer *> *buffers, uint32_t maxNumBuffers) { argument
195 if (buffers == NULL || !buffers->isEmpty()) {
216 buffers->push_back(buf);
231 virtual status_t setBuffers(const Vector<MediaBuffer *> & buffers __unused) {
H A DIStreamSource.cpp65 virtual void setBuffers(const Vector<sp<IMemory> > &buffers) { argument
68 data.writeInt64(static_cast<int64_t>(buffers.size()));
69 for (size_t i = 0; i < buffers.size(); ++i) {
70 data.writeStrongBinder(IInterface::asBinder(buffers.itemAt(i)));
109 Vector<sp<IMemory> > buffers; local
115 buffers.push(mem);
120 setBuffers(buffers);
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DGenericSource.cpp256 // check if the source requires secure buffers
335 bool audio, Vector<MediaBuffer *> &buffers) {
337 return mVideoTrack.mSource->setBuffers(buffers);
906 // start pulling in more buffers if we only have one (or no) buffer left
1219 // more buffers.
334 setBuffers( bool audio, Vector<MediaBuffer *> &buffers) argument
H A DGenericSource.h76 virtual status_t setBuffers(bool audio, Vector<MediaBuffer *> &buffers);
H A DNuPlayerDecoderBase.cpp94 status_t NuPlayer::DecoderBase::getInputBuffers(Vector<sp<ABuffer> > *buffers) const {
96 msg->setPointer("buffers", buffers);
174 CHECK(msg->findPointer("buffers", (void **)&dstBuffers));
218 // We cannot immediately release the codec due to buffers still outstanding
/frameworks/av/media/libstagefright/
H A DACodec.cpp365 // Submit output buffers to the decoder, submit input buffers to client
369 // Returns true iff input and output buffers are in play.
636 // Some codecs may return input buffers before having them processed.
677 // no need to reconnect as we will not dequeue all buffers
704 ALOGE("new surface holds onto more buffers (%d) than planned for (%zu)",
709 // we cannot change the number of output buffers while OMX is running
711 Vector<BufferInfo> &buffers = mBuffers[kPortIndexOutput]; local
712 ALOGV("setting up surface for %zu buffers", buffers
[all...]
H A DMediaCodec.cpp617 const Vector<BufferInfo> &buffers = mPortBuffers[portIndex]; local
618 for (size_t i = 0; i < buffers.size(); ++i) {
619 const BufferInfo &info = buffers.itemAt(i);
863 status_t MediaCodec::getWidevineLegacyBuffers(Vector<sp<ABuffer> > *buffers) const {
866 msg->setPointer("buffers", buffers);
873 status_t MediaCodec::getInputBuffers(Vector<sp<ABuffer> > *buffers) const {
876 msg->setPointer("buffers", buffers);
882 status_t MediaCodec::getOutputBuffers(Vector<sp<ABuffer> > *buffers) cons
941 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
1348 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2374 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
2408 Vector<BufferInfo> *buffers = &mPortBuffers[portIndex]; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm11/vc/m4p2/src/
H A DomxVCM4P2_DecodePadMV_PVOP_s.s43 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
46 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
49 ; * [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.s43 ; * [in] pSrcMVLeftMB pointers to the motion vector buffers of the
46 ; * [in] pSrcMVUpperMB pointers to the motion vector buffers of the
49 ; * [in] pSrcMVUpperRightMB pointers to the motion vector buffers of the
/frameworks/av/media/libstagefright/omx/tests/
H A DOMXHarness.cpp184 Vector<Buffer> *buffers) {
185 buffers->clear();
201 buffers->push(buffer);
285 // allocating all input and output buffers.
288 "all input and output buffers are allocated.");
290 // Now allocate buffers.
309 "after all input and output buffers were allocated.");
345 "Not all output buffers have been returned to us by the time "
372 "Not all input buffers have been returned to us by the "
379 "Not all output buffers hav
181 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/services/audioflinger/
H A DAudioFlinger.cpp1473 sp<IMemory>& buffers,
1483 buffers.clear();
1586 buffers = recordTrack->getBuffers();
1459 openRecord( audio_io_handle_t input, uint32_t sampleRate, audio_format_t format, audio_channel_mask_t channelMask, const String16& opPackageName, size_t *frameCount, IAudioFlinger::track_flags_t *flags, pid_t pid, pid_t tid, int clientUid, audio_session_t *sessionId, size_t *notificationFrames, sp<IMemory>& cblk, sp<IMemory>& buffers, status_t *status) argument
H A DAudioFlinger.h130 sp<IMemory>& buffers,
/frameworks/av/services/camera/libcameraservice/api1/client2/
H A DJpegCompressor.cpp39 status_t JpegCompressor::start(Vector<CpuConsumer::LockedBuffer*> buffers, argument
51 mBuffers = buffers;

Completed in 459 milliseconds

1234