OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:accessUnit
(Results
1 - 18
of
18
) sorted by null
/frameworks/base/media/libstagefright/rtsp/
ARTPSession.cpp
151
sp<ABuffer>
accessUnit
= static_cast<ABuffer *>(obj.get());
154
CHECK(
accessUnit
->meta()->findInt64(
160
accessUnit
->size(), ntpTime);
163
accessUnit
->size(), ntpTime);
164
hexdump(
accessUnit
->data(),
accessUnit
->size());
169
CHECK_GE(
accessUnit
->size(), 5u);
170
CHECK(!memcmp("\x00\x00\x00\x01",
accessUnit
->data(), 4));
171
unsigned x =
accessUnit
->data()[4];
177
accessUnit
->meta()->setInt64("ntp-time", ntpTime)
[
all
...]
AH263Assembler.cpp
140
sp<ABuffer>
accessUnit
= new ABuffer(totalSize);
146
memcpy((uint8_t *)
accessUnit
->data() + offset,
154
CopyTimes(
accessUnit
, *mPackets.begin());
162
accessUnit
->meta()->setInt32("damaged", true);
169
msg->setObject("access-unit",
accessUnit
);
AMPEG4ElementaryAssembler.cpp
318
sp<ABuffer>
accessUnit
= new ABuffer(header.mSize);
319
memcpy(
accessUnit
->data(), buffer->data() + offset, header.mSize);
323
CopyTimes(
accessUnit
, buffer);
324
mPackets.push_back(
accessUnit
);
347
sp<ABuffer>
accessUnit
= new ABuffer(totalSize);
352
memcpy(
accessUnit
->data() + offset, nal->data(), nal->size());
356
CopyTimes(
accessUnit
, *mPackets.begin());
364
accessUnit
->meta()->setInt32("damaged", true);
371
msg->setObject("access-unit",
accessUnit
);
AAMRAssembler.cpp
183
sp<ABuffer>
accessUnit
= new ABuffer(totalSize);
184
CopyTimes(
accessUnit
, buffer);
201
accessUnit
->data()[dstOffset++] = toc;
202
memcpy(
accessUnit
->data() + dstOffset,
210
msg->setObject("access-unit",
accessUnit
);
AAVCAssembler.cpp
321
sp<ABuffer>
accessUnit
= new ABuffer(totalSize);
325
memcpy(
accessUnit
->data() + offset, "\x00\x00\x00\x01", 4);
329
memcpy(
accessUnit
->data() + offset, nal->data(), nal->size());
333
CopyTimes(
accessUnit
, *mNALUnits.begin());
341
accessUnit
->meta()->setInt32("damaged", true);
348
msg->setObject("access-unit",
accessUnit
);
AMPEG4AudioAssembler.cpp
546
sp<ABuffer>
accessUnit
= new ABuffer(totalSize);
552
memcpy((uint8_t *)
accessUnit
->data() + offset,
558
accessUnit
= removeLATMFraming(
accessUnit
);
559
CopyTimes(
accessUnit
, *mPackets.begin());
567
accessUnit
->meta()->setInt32("damaged", true);
574
msg->setObject("access-unit",
accessUnit
);
MyHandler.h
773
sp<ABuffer>
accessUnit
= static_cast<ABuffer *>(obj.get());
775
uint32_t seqNum = (uint32_t)
accessUnit
->int32Data();
792
onAccessUnitComplete(trackIndex,
accessUnit
);
[
all
...]
/frameworks/base/media/libmediaplayerservice/nuplayer/
NuPlayerSource.h
39
bool audio, sp<ABuffer> *
accessUnit
) = 0;
StreamingSource.h
37
virtual status_t dequeueAccessUnit(bool audio, sp<ABuffer> *
accessUnit
);
HTTPLiveSource.h
41
virtual status_t dequeueAccessUnit(bool audio, sp<ABuffer> *
accessUnit
);
StreamingSource.cpp
120
bool audio, sp<ABuffer> *
accessUnit
) {
136
return source->dequeueAccessUnit(
accessUnit
);
HTTPLiveSource.cpp
149
bool audio, sp<ABuffer> *
accessUnit
) {
165
return source->dequeueAccessUnit(
accessUnit
);
NuPlayer.cpp
643
sp<ABuffer>
accessUnit
;
647
status_t err = mSource->dequeueAccessUnit(audio, &
accessUnit
);
654
CHECK(
accessUnit
->meta()->findInt32("discontinuity", &type));
669
if (
accessUnit
->meta()->findMessage("extra", &extra)
703
&& !IsAVCReferenceFrame(
accessUnit
)) {
713
CHECK(
accessUnit
->meta()->findInt64("timeUs", &mediaTimeUs));
719
reply->setObject("buffer",
accessUnit
);
/frameworks/base/media/libstagefright/include/
avc_utils.h
50
sp<MetaData> MakeAVCCodecSpecificData(const sp<ABuffer> &
accessUnit
);
52
bool IsIDR(const sp<ABuffer> &
accessUnit
);
53
bool IsAVCReferenceFrame(const sp<ABuffer> &
accessUnit
);
/frameworks/base/media/libstagefright/mpeg2ts/
ESQueue.cpp
392
sp<ABuffer>
accessUnit
= new ABuffer(auSize);
397
memcpy(
accessUnit
->data() + dstOffset,
409
accessUnit
->meta()->setInt64("timeUs", timeUs);
414
return
accessUnit
;
502
sp<ABuffer>
accessUnit
= new ABuffer(auSize);
523
memcpy(
accessUnit
->data() + dstOffset, "\x00\x00\x00\x01", 4);
525
memcpy(
accessUnit
->data() + dstOffset + 4,
532
LOGV("
accessUnit
contains nal types %s", out.c_str());
546
accessUnit
->meta()->setInt64("timeUs", timeUs);
549
mFormat = MakeAVCCodecSpecificData(
accessUnit
);
[
all
...]
ATSParser.cpp
738
sp<ABuffer>
accessUnit
;
739
while ((
accessUnit
= mQueue->dequeueAccessUnit()) != NULL) {
748
mSource->queueAccessUnit(
accessUnit
);
758
mSource->queueAccessUnit(
accessUnit
);
/frameworks/base/media/libstagefright/
avc_utils.cpp
247
sp<MetaData> MakeAVCCodecSpecificData(const sp<ABuffer> &
accessUnit
) {
248
const uint8_t *data =
accessUnit
->data();
249
size_t size =
accessUnit
->size();
332
bool IsAVCReferenceFrame(const sp<ABuffer> &
accessUnit
) {
333
const uint8_t *data =
accessUnit
->data();
334
size_t size =
accessUnit
->size();
MPEG2TSWriter.cpp
55
void setLastAccessUnit(const sp<ABuffer> &
accessUnit
);
441
const sp<ABuffer> &
accessUnit
) {
442
mLastAccessUnit =
accessUnit
;
820
int32_t sourceIndex, const sp<ABuffer> &
accessUnit
) {
870
CHECK(
accessUnit
->meta()->findInt64("timeUs", &timeUs));
874
size_t PES_packet_length =
accessUnit
->size() + 8;
905
size_t copy =
accessUnit
->size();
910
memcpy(ptr,
accessUnit
->data(), copy);
915
while (offset <
accessUnit
->size()) {
939
size_t copy =
accessUnit
->size() - offset
[
all
...]
Completed in 1436 milliseconds