OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mediaBuffer
(Results
1 - 7
of
7
) sorted by null
/frameworks/av/media/libstagefright/foundation/
ABuffer.cpp
95
void ABuffer::setMediaBufferBase(MediaBufferBase *
mediaBuffer
) {
99
mMediaBufferBase =
mediaBuffer
;
/frameworks/av/media/libstagefright/
MediaMuxer.cpp
30
#include <media/stagefright/
MediaBuffer
.h>
168
MediaBuffer
*
mediaBuffer
= new
MediaBuffer
(buffer);
170
mediaBuffer
->add_ref(); // Released in MediaAdapter::signalBufferReturned().
171
mediaBuffer
->set_range(buffer->offset(), buffer->size());
173
sp<MetaData> sampleMetaData =
mediaBuffer
->meta_data();
183
// This pushBuffer will wait until the
mediaBuffer
is consumed.
184
return currentTrack->pushBuffer(
mediaBuffer
);
StagefrightMetadataRetriever.cpp
37
#include <media/stagefright/
MediaBuffer
.h>
274
MediaBuffer
*
mediaBuffer
= NULL;
276
err = source->read(&
mediaBuffer
, &options);
284
if (
mediaBuffer
->range_length() > codecBuffer->capacity()) {
286
mediaBuffer
->range_length(), codecBuffer->capacity());
289
codecBuffer->setRange(0,
mediaBuffer
->range_length());
291
CHECK(
mediaBuffer
->meta_data()->findInt64(kKeyTime, &ptsUs));
293
(const uint8_t*)
mediaBuffer
->data() +
mediaBuffer
->range_offset()
[
all
...]
/frameworks/av/include/media/stagefright/foundation/
ABuffer.h
53
void setMediaBufferBase(MediaBufferBase *
mediaBuffer
);
/frameworks/av/media/libmediaplayerservice/nuplayer/
NuPlayerDecoder.cpp
34
#include <media/stagefright/
MediaBuffer
.h>
874
MediaBuffer
*
mediaBuffer
= NULL;
876
mediaBuffer
= (
MediaBuffer
*)(buffer->getMediaBufferBase());
877
if (
mediaBuffer
!= NULL) {
882
if (buf->data() ==
mediaBuffer
->data()) {
885
ALOGV("[%s] received
MediaBuffer
for #%zu instead of #%zu",
887
mediaBuffer
->release();
896
mediaBuffer
->range_offset()
[
all
...]
/frameworks/av/media/libstagefright/mpeg2ts/
AnotherPacketSource.cpp
29
#include <media/stagefright/
MediaBuffer
.h>
166
MediaBuffer
**out, const ReadOptions *) {
205
MediaBuffer
*
mediaBuffer
= new
MediaBuffer
(buffer);
207
mediaBuffer
->meta_data()->setInt64(kKeyTime, timeUs);
211
mediaBuffer
->meta_data()->setInt32(kKeyIsSyncFrame, isSync);
216
mediaBuffer
->meta_data()->setData(kKeySEI, 0, sei->data(), sei->size());
221
mediaBuffer
->meta_data()->setData(
225
*out =
mediaBuffer
;
[
all
...]
/frameworks/av/media/libstagefright/wifi-display/source/
Converter.cpp
32
#include <media/stagefright/
MediaBuffer
.h>
335
MediaBuffer
*mbuf =
336
(
MediaBuffer
*)(accessUnit->getMediaBufferBase());
627
MediaBuffer
*
mediaBuffer
=
628
(
MediaBuffer
*)(buffer->getMediaBufferBase());
629
if (
mediaBuffer
!= NULL) {
631
mediaBuffer
);
Completed in 598 milliseconds