HomeSort by relevance Sort by last modified time
    Searched refs:accessUnit (Results 1 - 21 of 21) 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 187 sp<ABuffer> accessUnit = new ABuffer(totalSize);
188 CopyTimes(accessUnit, buffer);
205 accessUnit->data()[dstOffset++] = toc;
206 memcpy(accessUnit->data() + dstOffset,
214 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 861 sp<ABuffer> accessUnit = static_cast<ABuffer *>(obj.get());
863 uint32_t seqNum = (uint32_t)accessUnit->int32Data();
880 onAccessUnitComplete(trackIndex, accessUnit);
    [all...]
  /frameworks/base/media/libmediaplayerservice/nuplayer/
NuPlayerSource.h 40 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);
RTSPSource.cpp 108 bool audio, sp<ABuffer> *accessUnit) {
120 return source->dequeueAccessUnit(accessUnit);
222 CHECK(msg->findObject("accessUnit", &obj));
224 sp<ABuffer> accessUnit = static_cast<ABuffer *>(obj.get());
227 if (accessUnit->meta()->findInt32("damaged", &damaged)
238 CHECK(accessUnit->meta()->findInt32("rtp-time", (int32_t *)&rtpTime));
258 accessUnit->meta()->setInt64("timeUs", nptUs);
260 source->queueAccessUnit(accessUnit);
StreamingSource.cpp 125 bool audio, sp<ABuffer> *accessUnit) {
141 return source->dequeueAccessUnit(accessUnit);
RTSPSource.h 44 virtual status_t dequeueAccessUnit(bool audio, sp<ABuffer> *accessUnit);
HTTPLiveSource.cpp 149 bool audio, sp<ABuffer> *accessUnit) {
165 return source->dequeueAccessUnit(accessUnit);
NuPlayer.cpp 671 sp<ABuffer> accessUnit;
675 status_t err = mSource->dequeueAccessUnit(audio, &accessUnit);
682 CHECK(accessUnit->meta()->findInt32("discontinuity", &type));
703 if (accessUnit->meta()->findMessage("extra", &extra)
755 && !IsAVCReferenceFrame(accessUnit)) {
765 CHECK(accessUnit->meta()->findInt64("timeUs", &mediaTimeUs));
771 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...]
MPEG2PSExtractor.cpp 647 sp<ABuffer> accessUnit;
648 while ((accessUnit = mQueue->dequeueAccessUnit()) != NULL) {
656 mSource->queueAccessUnit(accessUnit);
659 mSource->queueAccessUnit(accessUnit);
ATSParser.cpp 766 sp<ABuffer> accessUnit;
767 while ((accessUnit = mQueue->dequeueAccessUnit()) != NULL) {
776 mSource->queueAccessUnit(accessUnit);
786 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 468 milliseconds