/frameworks/av/media/libstagefright/foundation/ |
D | ABuffer.cpp | 26 ABuffer::ABuffer(size_t capacity) in ABuffer() function in android::ABuffer 41 ABuffer::ABuffer(void *data, size_t capacity) in ABuffer() function in android::ABuffer 52 sp<ABuffer> ABuffer::CreateAsCopy(const void *data, size_t capacity) in CreateAsCopy() 54 sp<ABuffer> res = new ABuffer(capacity); in CreateAsCopy() 62 ABuffer::~ABuffer() { in ~ABuffer() 77 void ABuffer::setRange(size_t offset, size_t size) { in setRange() 85 void ABuffer::setFarewellMessage(const sp<AMessage> msg) { in setFarewellMessage() 89 sp<AMessage> ABuffer::meta() { in meta() 96 MediaBufferBase *ABuffer::getMediaBufferBase() { in getMediaBufferBase() 103 void ABuffer::setMediaBufferBase(MediaBufferBase *mediaBuffer) { in setMediaBufferBase()
|
/frameworks/av/media/libstagefright/rtsp/ |
D | ARTPAssembler.cpp | 61 void ARTPAssembler::CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from) { in CopyTimes() 72 sp<ABuffer> ARTPAssembler::MakeADTSCompoundFromAACFrames( in MakeADTSCompoundFromAACFrames() 76 const List<sp<ABuffer> > &frames) { in MakeADTSCompoundFromAACFrames() 78 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 84 sp<ABuffer> accessUnit = new ABuffer(totalSize); in MakeADTSCompoundFromAACFrames() 86 for (List<sp<ABuffer> >::const_iterator it = frames.begin(); in MakeADTSCompoundFromAACFrames() 88 sp<ABuffer> nal = *it; in MakeADTSCompoundFromAACFrames() 122 sp<ABuffer> ARTPAssembler::MakeCompoundFromPackets( in MakeCompoundFromPackets() 123 const List<sp<ABuffer> > &packets) { in MakeCompoundFromPackets() 125 for (List<sp<ABuffer> >::const_iterator it = packets.begin(); in MakeCompoundFromPackets() [all …]
|
D | AAVCAssembler.cpp | 48 List<sp<ABuffer> > *queue = source->queue(); in addNALUnit() 55 List<sp<ABuffer> >::iterator it = queue->begin(); in addNALUnit() 69 sp<ABuffer> buffer = *queue->begin(); in addNALUnit() 126 void AAVCAssembler::addSingleNALUnit(const sp<ABuffer> &buffer) { in addSingleNALUnit() 143 bool AAVCAssembler::addSingleTimeAggregationPacket(const sp<ABuffer> &buffer) { in addSingleTimeAggregationPacket() 162 sp<ABuffer> unit = new ABuffer(nalSize); in addSingleTimeAggregationPacket() 181 List<sp<ABuffer> > *queue) { in addFragmentedNALUnit() 184 sp<ABuffer> buffer = *queue->begin(); in addFragmentedNALUnit() 226 List<sp<ABuffer> >::iterator it = ++queue->begin(); in addFragmentedNALUnit() 230 const sp<ABuffer> &buffer = *it; in addFragmentedNALUnit() [all …]
|
D | ARTPAssembler.h | 27 struct ABuffer; 47 static void CopyTimes(const sp<ABuffer> &to, const sp<ABuffer> &from); 49 static sp<ABuffer> MakeADTSCompoundFromAACFrames( 53 const List<sp<ABuffer> > &frames); 55 static sp<ABuffer> MakeCompoundFromPackets( 56 const List<sp<ABuffer> > &frames);
|
D | ARTPSource.h | 29 struct ABuffer; 40 void processRTPPacket(const sp<ABuffer> &buffer); 44 List<sp<ABuffer> > *queue() { return &mQueue; } in queue() 46 void addReceiverReport(const sp<ABuffer> &buffer); 47 void addFIR(const sp<ABuffer> &buffer); 54 List<sp<ABuffer> > mQueue; 66 bool queuePacket(const sp<ABuffer> &buffer);
|
D | APacketSource.cpp | 72 static sp<ABuffer> decodeHex(const AString &s) { in decodeHex() 78 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex() 107 static sp<ABuffer> MakeAVCCodecSpecificData( in MakeAVCCodecSpecificData() 113 sp<ABuffer> profileLevelID = NULL; in MakeAVCCodecSpecificData() 119 Vector<sp<ABuffer> > paramSets; in MakeAVCCodecSpecificData() 136 sp<ABuffer> nal = decodeBase64(nalString); in MakeAVCCodecSpecificData() 173 sp<ABuffer> csd = new ABuffer(csdSize); in MakeAVCCodecSpecificData() 190 sp<ABuffer> nal = paramSets.editItemAt(i); in MakeAVCCodecSpecificData() 208 sp<ABuffer> nal = paramSets.editItemAt(i + numSeqParameterSets); in MakeAVCCodecSpecificData() 223 sp<ABuffer> MakeAACCodecSpecificData(const char *params) { in MakeAACCodecSpecificData() [all …]
|
D | AAVCAssembler.h | 28 struct ABuffer; 48 List<sp<ABuffer> > mNALUnits; 51 void addSingleNALUnit(const sp<ABuffer> &buffer); 52 AssemblyStatus addFragmentedNALUnit(List<sp<ABuffer> > *queue); 53 bool addSingleTimeAggregationPacket(const sp<ABuffer> &buffer);
|
D | AH263Assembler.cpp | 54 List<sp<ABuffer> > *queue = source->queue(); in addPacket() 61 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() 75 sp<ABuffer> buffer = *queue->begin(); in addPacket() 160 List<sp<ABuffer> >::iterator it = mPackets.begin(); in submitAccessUnit() 162 const sp<ABuffer> &unit = *it; in submitAccessUnit() 168 sp<ABuffer> accessUnit = new ABuffer(totalSize); in submitAccessUnit() 172 const sp<ABuffer> &unit = *it; in submitAccessUnit()
|
D | AMPEG4AudioAssembler.cpp | 63 static sp<ABuffer> decodeHex(const AString &s) { in decodeHex() 69 sp<ABuffer> buffer = new ABuffer(outLen); in decodeHex() 145 static status_t parseAudioSpecificConfig(ABitReader *bits, sp<ABuffer> *asc) { in parseAudioSpecificConfig() 239 *asc = new ABuffer(numBytes); in parseAudioSpecificConfig() 362 sp<ABuffer> AMPEG4AudioAssembler::removeLATMFraming(const sp<ABuffer> &buffer) { in removeLATMFraming() 365 sp<ABuffer> out = new ABuffer(buffer->size()); in removeLATMFraming() 453 sp<ABuffer> config = decodeHex(val); in AMPEG4AudioAssembler() 488 List<sp<ABuffer> > *queue = source->queue(); in addPacket() 495 List<sp<ABuffer> >::iterator it = queue->begin(); in addPacket() 509 sp<ABuffer> buffer = *queue->begin(); in addPacket() [all …]
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
D | ESQueue.h | 28 struct ABuffer; 53 sp<ABuffer> dequeueAccessUnit(); 67 sp<ABuffer> mBuffer; 72 sp<ABuffer> dequeueAccessUnitH264(); 73 sp<ABuffer> dequeueAccessUnitAAC(); 74 sp<ABuffer> dequeueAccessUnitAC3(); 75 sp<ABuffer> dequeueAccessUnitMPEGAudio(); 76 sp<ABuffer> dequeueAccessUnitMPEGVideo(); 77 sp<ABuffer> dequeueAccessUnitMPEG4Video(); 78 sp<ABuffer> dequeueAccessUnitPCMAudio(); [all …]
|
D | ESQueue.cpp | 437 sp<ABuffer> buffer = new ABuffer(neededSize); in appendData() 466 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnit() { in dequeueAccessUnit() 475 sp<ABuffer> accessUnit = new ABuffer(info.mLength); in dequeueAccessUnit() 516 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitAC3() { in dequeueAccessUnitAC3() 544 sp<ABuffer> accessUnit = new ABuffer(syncStartPos + payloadSize); in dequeueAccessUnitAC3() 565 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitPCMAudio() { in dequeueAccessUnitPCMAudio() 606 sp<ABuffer> accessUnit = new ABuffer(payloadSize); in dequeueAccessUnitPCMAudio() 632 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitAAC() { in dequeueAccessUnitAAC() 740 sp<ABuffer> accessUnit = new ABuffer(offset); in dequeueAccessUnitAAC() 788 sp<ABuffer> ElementaryStreamQueue::dequeueAccessUnitH264() { in dequeueAccessUnitH264() [all …]
|
D | AnotherPacketSource.cpp | 98 List<sp<ABuffer> >::iterator it = mBuffers.begin(); in getFormat() 100 sp<ABuffer> buffer = *it; in getFormat() 115 status_t AnotherPacketSource::dequeueAccessUnit(sp<ABuffer> *buffer) { in dequeueAccessUnit() 159 void AnotherPacketSource::requeueAccessUnit(const sp<ABuffer> &buffer) { in requeueAccessUnit() 176 const sp<ABuffer> buffer = *mBuffers.begin(); in read() 214 sp<ABuffer> sei; in read() 239 void AnotherPacketSource::queueAccessUnit(const sp<ABuffer> &buffer) { in queueAccessUnit() 316 List<sp<ABuffer> >::iterator it = mBuffers.begin(); in queueDiscontinuity() 318 sp<ABuffer> oldBuffer = *it; in queueDiscontinuity() 349 sp<ABuffer> buffer = new ABuffer(0); in queueDiscontinuity() [all …]
|
D | AnotherPacketSource.h | 30 struct ABuffer; 62 void queueAccessUnit(const sp<ABuffer> &buffer); 71 status_t dequeueAccessUnit(sp<ABuffer> *buffer); 72 void requeueAccessUnit(const sp<ABuffer> &buffer); 116 List<sp<ABuffer> > mBuffers;
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
D | Converter.h | 25 struct ABuffer; 60 void feedAccessUnit(const sp<ABuffer> &accessUnit); 109 Vector<sp<ABuffer> > mEncoderInputBuffers; 110 Vector<sp<ABuffer> > mEncoderOutputBuffers; 114 List<sp<ABuffer> > mInputBufferQueue; 116 sp<ABuffer> mCSD0; 125 sp<ABuffer> mPartialAudioAU; 147 static bool IsSilence(const sp<ABuffer> &accessUnit); 149 sp<ABuffer> prependCSD(const sp<ABuffer> &accessUnit) const;
|
D | TSPacketizer.cpp | 54 sp<ABuffer> prependCSD(const sp<ABuffer> &accessUnit) const; 55 sp<ABuffer> prependADTSHeader(const sp<ABuffer> &accessUnit) const; 58 sp<ABuffer> descriptorAt(size_t index) const; 75 Vector<sp<ABuffer> > mCSD; 77 Vector<sp<ABuffer> > mDescriptors; 108 sp<ABuffer> csd; in extractCSDIfNecessary() 176 sp<ABuffer> TSPacketizer::Track::prependCSD( in prependCSD() 177 const sp<ABuffer> &accessUnit) const { in prependCSD() 183 sp<ABuffer> dup = new ABuffer(accessUnit->size() + size); in prependCSD() 186 const sp<ABuffer> &csd = mCSD.itemAt(i); in prependCSD() [all …]
|
D | TSPacketizer.h | 28 struct ABuffer; 51 size_t trackIndex, const sp<ABuffer> &accessUnit, 52 sp<ABuffer> *packets, 61 sp<ABuffer> prependCSD( 62 size_t trackIndex, const sp<ABuffer> &accessUnit) const; 78 Vector<sp<ABuffer> > mProgramInfoDescriptors;
|
/frameworks/av/media/libstagefright/wifi-display/rtp/ |
D | RTPSender.h | 27 struct ABuffer; 55 const sp<ABuffer> &buffer, 92 List<sp<ABuffer> > mHistory; 97 status_t queueRawPacket(const sp<ABuffer> &tsPackets, uint8_t packetType); 98 status_t queueTSPackets(const sp<ABuffer> &tsPackets, uint8_t packetType); 99 status_t queueAVCBuffer(const sp<ABuffer> &accessUnit, uint8_t packetType); 102 const sp<ABuffer> &packet, bool storeInHistory, 107 status_t onRTCPData(const sp<ABuffer> &data);
|
D | RTPSender.cpp | 185 const sp<ABuffer> &buffer, uint8_t packetType, PacketizationMode mode) { in queueBuffer() 209 const sp<ABuffer> &packet, uint8_t packetType) { in queueRawPacket() 215 sp<ABuffer> udpPacket = new ABuffer(12 + packet->size()); in queueRawPacket() 249 const sp<ABuffer> &tsPackets, uint8_t packetType) { in queueTSPackets() 257 sp<ABuffer> udpPacket = in queueTSPackets() 258 new ABuffer(12 + kMaxNumTSPacketsPerRTPPacket * 188); in queueTSPackets() 310 const sp<ABuffer> &accessUnit, uint8_t packetType) { in queueAVCBuffer() 316 List<sp<ABuffer> > packets; in queueAVCBuffer() 318 sp<ABuffer> out = new ABuffer(kMaxUDPPacketSize); in queueAVCBuffer() 351 out = new ABuffer(kMaxUDPPacketSize); in queueAVCBuffer() [all …]
|
/frameworks/av/include/media/stagefright/foundation/ |
D | ABuffer.h | 32 struct ABuffer : public RefBase { struct 33 ABuffer(size_t capacity); 34 ABuffer(void *data, size_t capacity); 47 static sp<ABuffer> CreateAsCopy(const void *data, size_t capacity); argument 58 virtual ~ABuffer(); argument 75 DISALLOW_EVIL_CONSTRUCTORS(ABuffer); argument
|
/frameworks/av/media/libstagefright/httplive/ |
D | PlaylistFetcher.h | 28 struct ABuffer; 112 static bool bufferStartsWithTsSyncByte(const sp<ABuffer>& buffer); 113 static bool bufferStartsWithWebVTTMagicSequence(const sp<ABuffer>& buffer); 140 KeyedVector<AString, sp<ABuffer> > mAESKeyForURI; 196 size_t playlistIndex, const sp<ABuffer> &buffer, 198 status_t checkDecryptPadding(const sp<ABuffer> &buffer); 230 const sp<ABuffer> &setAccessUnitProperties( 231 const sp<ABuffer> &accessUnit, 235 status_t extractAndQueueAccessUnitsFromTs(const sp<ABuffer> &buffer); 238 const sp<ABuffer> &buffer, const sp<AMessage> &itemMeta);
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoderPassThrough.h | 41 virtual void onGetInputBuffers(Vector<sp<ABuffer> > *dstBuffers); 61 sp<ABuffer> mPendingAudioAccessUnit; 63 sp<ABuffer> mAggregateBuffer; 74 status_t dequeueAccessUnit(sp<ABuffer> *accessUnit); 75 sp<ABuffer> aggregateBuffer(const sp<ABuffer> &accessUnit);
|
D | NuPlayerCCDecoder.h | 37 void decode(const sp<ABuffer> &accessUnit); 43 KeyedVector<int64_t, sp<ABuffer> > mCCMap; 51 bool extractFromSEI(const sp<ABuffer> &accessUnit); 53 sp<ABuffer> filterCCBuf(const sp<ABuffer> &ccBuf, size_t index);
|
/frameworks/av/media/libstagefright/ |
D | MPEG2TSWriter.cpp | 54 sp<ABuffer> lastAccessUnit(); 56 void setLastAccessUnit(const sp<ABuffer> &accessUnit); 76 sp<ABuffer> mAACCodecSpecificData; 78 sp<ABuffer> mAACBuffer; 80 sp<ABuffer> mLastAccessUnit; 173 mAACCodecSpecificData = new ABuffer(codec_specific_data_size); in extractCodecSpecificData() 193 sp<ABuffer> out = new ABuffer(1024); in extractCodecSpecificData() 257 sp<ABuffer> copy = in postAVCFrame() 258 new ABuffer(buffer->range_length()); in postAVCFrame() 293 mAACBuffer = new ABuffer(alloc); in appendAACFrames() [all …]
|
/frameworks/av/media/libstagefright/wifi-display/ |
D | MediaSender.h | 30 struct ABuffer; 71 size_t trackIndex, const sp<ABuffer> &accessUnit); 92 List<sp<ABuffer> > mAccessUnits; 123 sp<ABuffer> accessUnit, 124 sp<ABuffer> *tsPackets);
|
/frameworks/av/media/libstagefright/include/ |
D | avc_utils.h | 46 const sp<ABuffer> &seqParamSet, 58 sp<MetaData> MakeAVCCodecSpecificData(const sp<ABuffer> &accessUnit); 60 bool IsIDR(const sp<ABuffer> &accessUnit); 61 bool IsAVCReferenceFrame(const sp<ABuffer> &accessUnit);
|